Z-way - Missing configuration

Discussions about RaZberry - Z-Wave board for Raspberry computer
albertov
Posts: 13
Joined: 01 Nov 2015 16:53

Z-way - Missing configuration

Post by albertov » 01 Nov 2015 17:13

Hello,
I've made a clean install on rb2 (debian wheezy) with zwave.me USB dongle.
I included few devices and everything worked fine unti I restarted z-way server:
most of the time that I restart zway server or the raspberry, all devices are missing. After few minutes, I'm able to see them again but them aren't listed in the web interface.

If I press "Call for NIF for all devices", all virtual switches/sensors appear again. The only information missing are the custom name of the device (In device configuration, I renamed the device, but after reboot the names are restored to "#device _x") and the device descriptor.

I checked the log and I found an error regarding a communication problem with the USB dongle. What do you suggest do to?

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

Re: Z-way - Missing configuration

Post by PoltoS » 02 Nov 2015 02:21

Looks like filesystem problem: after reboot all saved by Z-Way is cleared

albertov
Posts: 13
Joined: 01 Nov 2015 16:53

Re: Z-way - Missing configuration

Post by albertov » 02 Nov 2015 11:19

The SD is new. The only thing I can think is that is a class 4 microsd.
Do you suggest to use different SD memory?

albertov
Posts: 13
Joined: 01 Nov 2015 16:53

Re: Z-way - Missing configuration

Post by albertov » 02 Nov 2015 11:46

I tried to customize device names and restarted z-way server: all zwave device were missing.
In startup log I found this (there are some fail and error):

Code: Select all

[2015-11-02 08:38:41.558] [D] [zway] ---------------------------
[2015-11-02 08:38:41.558] [D] [zway] Initialization done
[2015-11-02 08:38:41.559] [D] [zway] Job 0x07 (Get controller info and supported function classes): success
[2015-11-02 08:38:41.559] [I] [zway] Adding job: Get or set Z-Wave.Me firmware capabilities
[2015-11-02 08:38:41.559] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2015-11-02 08:38:41.559] [I] [zway] Adding job: Set Serial API timeouts
[2015-11-02 08:38:41.559] [I] [zway] Adding job: Set RF power level
[2015-11-02 08:38:41.559] [I] [zway] Adding job: WatchDog Start
[2015-11-02 08:38:41.559] [D] [zway] SETDATA controller.data.frequency = "unknown"
[2015-11-02 08:38:41.559] [E] [zway] Error returned from zway_fc_zme_freq_change(zway, 0xFF, NULL, NULL, NULL): Function class not supported by the hardware (-4)
[2015-11-02 08:38:41.559] [I] [zway] Adding job: Get home id and controller node id
[2015-11-02 08:38:41.559] [I] [zway] Removing job: Get controller info and supported function classes
[2015-11-02 08:38:41.559] [D] [zway] SENDING (cb 0x01): ( 01 04 00 F5 01 0F )
[2015-11-02 08:38:41.560] [W] [zway] Received SOF, while awaiting ACK
[2015-11-02 08:38:41.894] [I] [zway] Job 0xf5 (Get or set Z-Wave.Me firmware capabilities): No ACK received before timeout
[2015-11-02 08:38:41.894] [D] [zway] SENDING (cb 0x01): ( 01 04 00 F5 01 0F )
[2015-11-02 08:38:41.959] [D] [zway] RECEIVED: ( 01 2B 01 07 05 02 01 15 04 00 00 01 FE 83 FF 88 CF 06 01 04 01 F5 CE C1 01 04 01 F5 CE C1 01 04 01 F5 CE C1 01 04 01 F5 CE C1 18 01 25 )
[2015-11-02 08:38:41.959] [D] [zway] Wrong checksum
[2015-11-02 08:38:41.959] [D] [zway] SENT NAK
[2015-11-02 08:38:41.966] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x00
[2015-11-02 08:38:41.966] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0xf5
[2015-11-02 08:38:41.966] [W] [zway] Received SOF, while awaiting ACK
[2015-11-02 08:38:42.229] [I] [zway] Job 0xf5 (Get or set Z-Wave.Me firmware capabilities): No ACK received before timeout
[2015-11-02 08:38:42.229] [D] [zway] SENDING (cb 0x01): ( 01 04 00 F5 01 0F )
[2015-11-02 08:38:42.441] [I] [zway] Job 0xf5 (Get or set Z-Wave.Me firmware capabilities): No ACK received before timeout
[2015-11-02 08:38:42.441] [W] [zway] Job 0xf5 (Get or set Z-Wave.Me firmware capabilities) dropped: too many resends
[2015-11-02 08:38:42.441] [D] [zway] Job 0xf5 (Get or set Z-Wave.Me firmware capabilities): fail
[2015-11-02 08:38:42.442] [I] [zway] Removing job: Get or set Z-Wave.Me firmware capabilities
[2015-11-02 08:38:42.442] [D] [zway] SENDING: ( 01 05 00 06 0A 0A FC )
[2015-11-02 08:38:42.666] [I] [zway] Job 0x06 (Set Serial API timeouts): No ACK received before timeout
[2015-11-02 08:38:42.666] [D] [zway] SENDING: ( 01 05 00 06 0A 0A FC )
[2015-11-02 08:38:42.888] [I] [zway] Job 0x06 (Set Serial API timeouts): No ACK received before timeout
[2015-11-02 08:38:42.888] [D] [zway] SENDING: ( 01 05 00 06 0A 0A FC )
[2015-11-02 08:38:43.111] [I] [zway] Job 0x06 (Set Serial API timeouts): No ACK received before timeout
[2015-11-02 08:38:43.111] [W] [zway] Job 0x06 (Set Serial API timeouts) dropped: too many resends
[2015-11-02 08:38:43.111] [D] [zway] Job 0x06 (Set Serial API timeouts): fail
[2015-11-02 08:38:43.111] [I] [zway] Removing job: Set Serial API timeouts
[2015-11-02 08:38:43.111] [D] [zway] SENDING: ( 01 04 00 17 00 EC )
[2015-11-02 08:38:43.343] [I] [zway] Job 0x17 (Set RF power level): No ACK received before timeout
[2015-11-02 08:38:43.343] [D] [zway] SENDING: ( 01 04 00 17 00 EC )
[2015-11-02 08:38:43.345] [D] [zway] RECEIVED: ( 01 DA A7 16 E2 95 CC 82 A8 E1 5C FE 77 B2 6B 5E 31 2E 01 15 FF 05 00 00 00 00 00 00 00 00 00 00 00 00 96 01 25 00 F5 01 DA A7 16 E2 95 CC 82 A8 E1 5C FE 77 B2 6B 5E 31 2E 01 15 FF 05 00 00 00 00 00 00 00 00 00 00 00 00 96 01 25 00 F5 01 DA A7 16 E2 95 CC 82 A8 E1 5C FE 77 B2 6B 5E 31 2E 01 15 FF 05 00 00 00 00 00 00 00 00 00 00 00 00 96 01 25 00 F5 01 DA A7 16 E2 95 CC 82 A8 E1 5C FE 77 B2 6B 5E 31 2E 01 15 FF 05 00 00 00 00 00 00 00 00 00 00 00 00 96 18 06 01 05 01 06 0A 0A FD 01 05 01 06 0A 0A FD 01 05 01 06 0A 0A FD 18 01 05 01 06 0A 0A FD 06 01 05 01 06 0A 0A FD 01 05 01 06 0A 0A FD 01 05 01 06 0A 0A FD 18 01 05 01 06 0A 0A FD 06 01 04 01 17 00 ED )
[2015-11-02 08:38:43.346] [D] [zway] Wrong checksum
[2015-11-02 08:38:43.346] [D] [zway] SENT NAK
[2015-11-02 08:38:43.354] [W] [zway] Received SOF, while awaiting ACK
[2015-11-02 08:38:43.354] [D] [zway] RECEIVED: ( 01 04 01 17 00 ED )
[2015-11-02 08:38:43.354] [D] [zway] SENT ACK
[2015-11-02 08:38:43.354] [W] [zway] Received response, but there's no matching request (funcId = 0x17)
[2015-11-02 08:38:43.658] [I] [zway] Job 0x17 (Set RF power level): No ACK received before timeout
[2015-11-02 08:38:43.658] [D] [zway] SENDING: ( 01 04 00 17 00 EC )
[2015-11-02 08:38:43.660] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.661] [D] [zway] RECEIVED: ( 01 04 01 17 00 ED )
[2015-11-02 08:38:43.661] [D] [zway] SENT ACK
[2015-11-02 08:38:43.661] [I] [zway] Job 0x17 (Set RF power level): Done
[2015-11-02 08:38:43.661] [D] [zway] Job 0x17 (Set RF power level): success
[2015-11-02 08:38:43.661] [I] [zway] Removing job: Set RF power level
[2015-11-02 08:38:43.661] [D] [zway] SENDING: ( 01 03 00 D2 2E )
[2015-11-02 08:38:43.668] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.668] [I] [zway] Removing job: WatchDog Start
[2015-11-02 08:38:43.679] [D] [zway] SENDING: ( 01 03 00 20 DC )
[2015-11-02 08:38:43.679] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.681] [D] [zway] RECEIVED: ( 01 08 01 20 DA C4 F2 43 01 78 )
[2015-11-02 08:38:43.681] [D] [zway] SENT ACK
[2015-11-02 08:38:43.681] [D] [zway] SETDATA controller.data.nodeId = 1 (0x00000001)
[2015-11-02 08:38:43.681] [D] [zway] SETDATA controller.data.homeId = -624627133 (0xdac4f243)
[2015-11-02 08:38:43.681] [I] [zway] Job 0x20 (Get home id and controller node id): Home id: 0xdac4f243, controller node id: 1
[2015-11-02 08:38:43.681] [D] [zway] Job 0x20 (Get home id and controller node id): success
[2015-11-02 08:38:43.681] [I] [zway] Adding job: Get controller capabilities
[2015-11-02 08:38:43.682] [I] [zway] Adding job: Get controller version
[2015-11-02 08:38:43.682] [I] [zway] Adding job: Get SUC node id
[2015-11-02 08:38:43.682] [I] [zway] Adding job: Get initial data about network devices
[2015-11-02 08:38:43.682] [I] [zway] Removing job: Get home id and controller node id
[2015-11-02 08:38:43.682] [D] [zway] SENDING: ( 01 03 00 05 F9 )
[2015-11-02 08:38:43.689] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.689] [D] [zway] RECEIVED: ( 01 04 01 05 1C E3 )
[2015-11-02 08:38:43.689] [D] [zway] SENT ACK
[2015-11-02 08:38:43.690] [D] [zway] SETDATA controller.data.isPrimary = True
[2015-11-02 08:38:43.690] [D] [zway] SETDATA controller.data.isInOthersNetwork = False
[2015-11-02 08:38:43.690] [D] [zway] SETDATA controller.data.SISPresent = True
[2015-11-02 08:38:43.690] [D] [zway] SETDATA controller.data.isRealPrimary = True
[2015-11-02 08:38:43.690] [D] [zway] SETDATA controller.data.isSUC = True
[2015-11-02 08:38:43.690] [D] [zway] Job 0x05 (Get controller capabilities): success
[2015-11-02 08:38:43.690] [I] [zway] Removing job: Get controller capabilities
[2015-11-02 08:38:43.690] [D] [zway] SENDING: ( 01 03 00 15 E9 )
[2015-11-02 08:38:43.699] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.700] [D] [zway] RECEIVED: ( 01 10 01 15 5A 2D 57 61 76 65 20 33 2E 39 39 00 01 95 )
[2015-11-02 08:38:43.700] [D] [zway] SENT ACK
[2015-11-02 08:38:43.701] [D] [zway] SETDATA controller.data.SDK = "6.51.03"
[2015-11-02 08:38:43.702] [D] [zway] SETDATA controller.data.ZWlibMajor = 3 (0x00000003)
[2015-11-02 08:38:43.702] [D] [zway] SETDATA controller.data.ZWlibMinor = 99 (0x00000063)
[2015-11-02 08:38:43.702] [D] [zway] SETDATA controller.data.ZWLib = 1 (0x00000001)
[2015-11-02 08:38:43.702] [D] [zway] SETDATA controller.data.libType = "Static Controller"
[2015-11-02 08:38:43.702] [D] [zway] Job 0x15 (Get controller version): success
[2015-11-02 08:38:43.702] [I] [zway] Removing job: Get controller version
[2015-11-02 08:38:43.702] [D] [zway] SENDING: ( 01 03 00 56 AA )
[2015-11-02 08:38:43.709] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.710] [D] [zway] RECEIVED: ( 01 04 01 56 01 AD )
[2015-11-02 08:38:43.710] [D] [zway] SENT ACK
[2015-11-02 08:38:43.710] [I] [zway] Job 0x56 (Get SUC node id): SUC node is 1
[2015-11-02 08:38:43.710] [D] [zway] SETDATA controller.data.SUCNodeId = 1 (0x00000001)
[2015-11-02 08:38:43.710] [D] [zway] Job 0x56 (Get SUC node id): success
[2015-11-02 08:38:43.710] [I] [zway] Removing job: Get SUC node id
[2015-11-02 08:38:43.710] [D] [zway] SENDING: ( 01 03 00 02 FE )
[2015-11-02 08:38:43.719] [D] [zway] RECEIVED ACK
[2015-11-02 08:38:43.811] [D] [zway] RECEIVED: ( 01 25 01 02 05 08 1D 3D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 F1 )
[2015-11-02 08:38:43.811] [D] [zway] SENT ACK
[2015-11-02 08:38:43.812] [D] [zway] SETDATA controller.data.ZWVersion = 5 (0x00000005)
[2015-11-02 08:38:43.812] [D] [zway] SETDATA controller.data.ZWaveChip = "ZW0500"
[2015-11-02 08:38:43.812] [D] [zway] Capabilities:
[2015-11-02 08:38:43.812] [D] [zway] - Controller API
[2015-11-02 08:38:43.812] [D] [zway] - Timer function not supported
[2015-11-02 08:38:43.812] [D] [zway] - Primary Controller
[2015-11-02 08:38:43.812] [D] [zway] - Some reserved bits (0x08)

kali
Posts: 9
Joined: 28 May 2015 22:52

Re: Z-way - Missing configuration

Post by kali » 26 Nov 2015 00:43

I've the same.

After restart, i'm lost all devices. Somtimes, One of all is ok. Somtimes few is on the list of device's but all works wrong.
I have copy of /opt/z-wave-server from every day's before. But restoring nothing do. The same effect - lost/error all device.
Where is writing information about device in system?
Reincluding is ok (mostly), but more confusing if i have more devices.

Have you any thing? Maybe we should try backup/restore from expert UI?

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

Re: Z-way - Missing configuration

Post by PoltoS » 29 Nov 2015 00:52

@albertov looks like communications with RaZberry have problems. Sure there are no other processes using the port?

kali
Posts: 9
Joined: 28 May 2015 22:52

Re: Z-way - Missing configuration

Post by kali » 29 Nov 2015 22:20

Where are saved information about z-wave devices? in /opt/z-way-server ??
Why when i restoring backuped folder /opt/z-way-server it does not work?
kali.

albertov
Posts: 13
Joined: 01 Nov 2015 16:53

Re: Z-way - Missing configuration

Post by albertov » 30 Nov 2015 11:10

I'm sure no process is using the port: the OS has been installed from scratch and no other apps has been installed: only z-way.

Now I'm testing openhab and I've never had a similar problem

fableman
Posts: 62
Joined: 01 Mar 2015 13:16

Re: Z-way - Missing configuration

Post by fableman » 01 Dec 2015 13:59

I hade the same problem. :( lost 20 devices..!!!

IoTomater
Posts: 1
Joined: 04 Dec 2015 13:39

Re: Z-way - Missing configuration

Post by IoTomater » 04 Dec 2015 14:17

Me too..! After working OK for more than 2 weeks I noticed a motion sensor was not working anymore.
That's when I noticed that both the Smarthome UI as the Expert UI didn't show any of my 14 devices.
Took me 2 hours to get things running again... no clue what happened.

Post Reply