Inclusion stopped working

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
dilbert
Posts: 3
Joined: 25 Jun 2019 12:05

Inclusion stopped working

Post by dilbert » 25 Jun 2019 12:37

I have been using RaZberry 2 for over a year from OpenHAB. I have about 7x Homeseer WD-200+ dimmers and a 2x Aeontec MultiSensor 6, both externally powered. I finally got round to adding another WD-200+ dimmer yesterday and had trouble getting it to show up in inclusion mode. Over many frustrating hours since then, I have tried:
  • Update OpenHAB and Raspian.
  • Repair serial port permissions.
  • Find that Z-wave no longer works at all (massive step backwards).
  • Disable OpenHAB and install Z-way for the first time (I figured support would be easier that way).
  • Zway can see devices held on RaZberry, but is not able to retrieve details (vendor ID etc).
  • Zway can not see new WD-200+ which has just been factory reset.
  • Upgrade RaZberry to latest firmware version, which takes at least 3 intermediate steps.
  • No change observed.
  • Check self-test LEDs on controller - all looks good at boot up.
  • Full factory reset of RaZberry and Z-way through web UI (seem that hardware button is only for decoration).
  • Factory reset several dimmers and the sensor, start inclusion mode and press buttons on all of them (including one very close to controller).
  • Still no new devices being discovered.
So from adding one device, now my Z-wave setup is completely trashed and I see no obvious way forward. Any thoughts would be welcome!

From Z-wave /expert/#/network/controller :
Role in Network
Node Id: 1
Home Id: 0xfaa78d14
Primary Role: Yes
Primary Capability: Yes
SUC/SIS in network: 1 (SIS)

Hardware
Vendor: RaZberry by Z-Wave.Me
Vendors Product ID: 1024 / 2
Z-Wave Chip: ZW0500

Firmware
Library Type: Static Controller
SDK Version: 6.81.01
Serial API Version: 05.36

Capabillities:
UUID: eed585a0bfc269c649217fc9ec6d5917
Subvendor: 0x0000
Nodes limit: Unlimited
Capabillities: SlM

Software Information
Version number: v2.3.8
Compile-ID: 854d8c466afa676694043ff7a9d17febb3bb01d6
Compile-Date: 2018-10-10 00:47:52 +0300

UI
UI version 1.3.3
Built date 05-07-2018 09:28:46

I'm not sure which parts of the logs would be useful, but here's the sequence of starting inclusion mode then pressing the inclusion mode on a dimmer and sensor...

Code: Select all

[2019-06-25 01:59:46.459] [I] [zway] Adding job: Add/re-include node to network
[2019-06-25 01:59:46.469] [D] [zway] SENDING (cb 0x07): ( 01 05 00 4A C1 07 76 )
[2019-06-25 01:59:46.470] [D] [zway] RECEIVED ACK
[2019-06-25 01:59:46.480] [D] [zway] RECEIVED: ( 01 07 00 4A 07 01 00 00 B4 )
[2019-06-25 01:59:46.480] [D] [zway] SENT ACK
[2019-06-25 01:59:46.480] [D] [zway] SETDATA controller.data.lastIncludedDevice = Empty
[2019-06-25 01:59:46.480] [D] [zway] SETDATA controller.data.lastExcludedDevice = Empty
[2019-06-25 01:59:46.480] [I] [zway] Job 0x4a (Add/re-include node to network): Ready to add - push button on the device to be added
[2019-06-25 01:59:46.480] [D] [zway] SETDATA controller.data.controllerState = 1 (0x00000001)
[2019-06-25 01:59:54.823] [I] [zway] Adding job: Get background noise level
[2019-06-25 02:00:24.830] [D] [zway] Job 0x3b (Get background noise level): removing duplicate
[2019-06-25 02:00:54.840] [D] [zway] Job 0x3b (Get background noise level): removing duplicate
[2019-06-25 02:01:24.849] [D] [zway] Job 0x3b (Get background noise level): removing duplicate
[2019-06-25 02:01:54.852] [D] [zway] Job 0x3b (Get background noise level): removing duplicate
[2019-06-25 02:02:22.245] [I] [zway] Removing job: Add/re-include node to network
[2019-06-25 02:02:22.246] [I] [zway] Adding job: Add/re-include node to network
[2019-06-25 02:02:22.254] [D] [zway] SENDING (cb 0x00): ( 01 05 00 4A 05 00 B5 )
[2019-06-25 02:02:22.256] [D] [zway] RECEIVED ACK
[2019-06-25 02:02:22.256] [I] [zway] Job 0x4a (Add/re-include node to network): Stop done
[2019-06-25 02:02:22.256] [D] [zway] Job 0x4a (Add/re-include node to network): success
[2019-06-25 02:02:22.256] [I] [zway] Removing job: Add/re-include node to network
[2019-06-25 02:02:22.256] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2019-06-25 02:02:22.266] [D] [zway] SENDING: ( 01 03 00 3B C7 )
[2019-06-25 02:02:22.268] [D] [zway] RECEIVED ACK
[2019-06-25 02:02:22.268] [D] [zway] RECEIVED: ( 01 05 01 3B 7D 7D C0 )
[2019-06-25 02:02:22.268] [D] [zway] SENT ACK
[2019-06-25 02:02:22.268] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel1 = 125 (0x0000007d)
[2019-06-25 02:02:22.268] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel2 = 125 (0x0000007d)
[2019-06-25 02:02:22.269] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel3 = 127 (0x0000007f)
[2019-06-25 02:02:22.269] [I] [zway] Job 0x3b (Get background noise level): RSSI Ch#1: too low, Ch#2: too low, Ch#3: invalid
[2019-06-25 02:02:22.269] [D] [zway] Job 0x3b (Get background noise level): success
[2019-06-25 02:02:22.269] [I] [zway] Removing job: Get background noise level
[2019-06-25 02:02:24.851] [I] [zway] Adding job: Get background noise level
[2019-06-25 02:02:24.854] [D] [zway] SENDING: ( 01 03 00 3B C7 )
[2019-06-25 02:02:24.855] [D] [zway] RECEIVED ACK
[2019-06-25 02:02:24.856] [D] [zway] RECEIVED: ( 01 05 01 3B 7D 7D C0 )
[2019-06-25 02:02:24.856] [D] [zway] SENT ACK
[2019-06-25 02:02:24.856] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel1 = 125 (0x0000007d)
[2019-06-25 02:02:24.856] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel2 = 125 (0x0000007d)
[2019-06-25 02:02:24.856] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel3 = 127 (0x0000007f)
[2019-06-25 02:02:24.857] [I] [zway] Job 0x3b (Get background noise level): RSSI Ch#1: too low, Ch#2: too low, Ch#3: invalid
[2019-06-25 02:02:24.857] [D] [zway] Job 0x3b (Get background noise level): success
[2019-06-25 02:02:24.857] [I] [zway] Removing job: Get background noise level

dilbert
Posts: 3
Joined: 25 Jun 2019 12:05

Re: Inclusion stopped working

Post by dilbert » 25 Jun 2019 13:30

Shortly after posting I was comoaring the "operating frequency" list in the manual to what I was seeing on the UI. I was seeing the EU options even though my hardware should have been US/ISL. From another post on this forum about a bug that was supposed to have been fixed, I guessed at hitting the URL
/JS/Run/zway.ZMEFreqChange(3)
Sure enough, the US option appeared right away, I clicked it and voila, devices are being included again!

I wander if this was the problem before I ever upgraded the firmware. Maybe I will never know what the original problem was. Next, I will trying going back to OpenHAB and seeing if everything works now.

User avatar
PoltoS
Posts: 4738
Joined: 26 Jan 2011 19:36

Re: Inclusion stopped working

Post by PoltoS » 26 Jun 2019 23:11

The frequency fall to EU during upgrade of the firmware from old versions. This is a known problem. On new versions this does not happen.

So initial OpenHAB problem was something else

dilbert
Posts: 3
Joined: 25 Jun 2019 12:05

Re: Inclusion stopped working

Post by dilbert » 26 Jun 2019 23:41

That's what I guessed. Since it seems like the firmware upgrades are applied in order (skipping versions not allowed?), I guess anyone who ever tries to update from the factory versions will be lead through this trap. There must be ways to resolve this in later revisions that don't involve every user trawling this forum and fuzz-testing the API :lol: Maybe force skipping past the bad version? Back port the fix into the bad version? Logic in later version to recognize the hardware version and update setting automatically? UI in later version to manually change the hardware version?

Epilogue: Everything is now back to working well in OpenHAB. On the journey, at least the factory reset got rid of the >10 phantom devices stored on the controller which there appeared to be no other way to remove.

Post Reply