BUG: backup and restore not working on Razberry 5.39

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
ibjr
Posts: 31
Joined: 05 May 2016 21:52

BUG: backup and restore not working on Razberry 5.39

Post by ibjr »

I have upgrade the Razberry firmware to version 5.39 (as suggested by PoltoS to see if this would fix the NOP packets issue); running 3.0.6.
After this upgrade, the restore from a backup In Expert mode no longer works.
Today I have installed the latest beta load 3.0.6-16-g6f74a6e_armhf.deb; but without result; backup and restore still don't work.

I also did a clean install with the beta load, included one device (simple switch), and even than a backup and restore always fail with: "SDK is not supported". And the included device is no longer visible (in Expert mode) ; it needs to be excluded and re-included again.

[2020-07-10 17:19:10.729] [core] ZWay Automation started
[2020-07-10 17:19:10.882] [zway] Restoring controller from config/zddx/fa2d32a5-DevicesData.xml
[2020-07-10 17:19:10.917] [zway] Adding job: Reset the controller
[2020-07-10 17:19:10.918] [D] [zway] SETDATA controller.data.controllerState = 20 (0x00000014)
[2020-07-10 17:19:10.918] [E] [zway] SDK is not supported. Upgrade your stick or contact Z-Way developers for more information
[2020-07-10 17:19:10.918] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2020-07-10 17:19:10.923] [D] [zway] SENDING (cb 0x02): ( 01 04 00 42 02 BB )
micky1500
Posts: 298
Joined: 07 Feb 2016 16:29
Location: England

Re: BUG: backup and restore not working on Razberry 5.39

Post by micky1500 »

What ibjr says is also affecting me.

I just tried on my test system ! Restore fails with 5.39 on both types of re-install, .Zab(expertUI) or .Zbk(Smarthome)
Was working fine a few days ago when I had 5.36
Serial API Version: 05.39, Version number: v3.0.6

Also. up until now I've always seen an option to downgrade to an older firmware, I don't have that with 5.39 :( (I tried the ALL Token.)

[2020-07-10 19:32:18.963] [zway] Restoring controller from config/zddx/f8fb8148-DevicesData.xml
[2020-07-10 19:32:20.027] [zway] Adding job: Reset the controller
[2020-07-10 19:32:20.027] [D] [zway] SETDATA controller.data.controllerState = 20 (0x00000014)
[2020-07-10 19:32:20.028] [E] [zway] SDK is not supported. Upgrade your stick or contact Z-Way developers for more information
[2020-07-10 19:32:20.028] [D] [zway] SETDATA controller.data.controllerState = 0 (0x00000000)
[2020-07-10 19:32:20.034] [D] [zway] SENDING (cb 0x03): ( 01 04 00 42 03 BA )
[2020-07-10 19:32:20.036] [D] [zway] RECEIVED ACK
[2020-07-10 19:32:20.536] [D] [zway] RECEIVED: ( 01 04 00 42 03 BA )
[2020-07-10 19:32:20.536] [D] [zway] SENT ACK
[2020-07-10 19:32:20.537] [D] [zway] SETDATA controller.data.lastIncludedDevice = Empty
[2020-07-10 19:32:20.537] [D] [zway] SETDATA controller.data.lastExcludedDevice = Empty
[2020-07-10 19:32:20.537] [zway] Job 0x42 (Reset the controller): Done
[2020-07-10 19:32:20.537] [D] [zway] Job 0x42 (Reset the controller): success
[2020-07-10 19:32:20.537] [zway] Removing job: Reset the controller
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38
User avatar
PoltoS
Posts: 7586
Joined: 26 Jan 2011 19:36

Re: BUG: backup and restore not working on Razberry 5.39

Post by PoltoS »

Good point! Fixed this for future versions.

Hopefully there is a simple wrokaround:
/JS/Run/zway.controller.data.SDK="6.51.01"
micky1500
Posts: 298
Joined: 07 Feb 2016 16:29
Location: England

Re: BUG: backup and restore not working on Razberry 5.39

Post by micky1500 »

The workaround does work.
A restore was successful.

Thankyou
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38
ibjr
Posts: 31
Joined: 05 May 2016 21:52

Re: BUG: backup and restore not working on Razberry 5.39

Post by ibjr »

PoltoS, thanks,
This workaround works for restoring from Expert user, but after start/stopping z-way-server, the workaround needs to applied again.
And restoring from the smarthome GUI results in an error (SDK not supported).

So a complete restore means:

Restore from smarthome/GUI
Use the workaround: /JS/Run/zway.controller.data.SDK="6.51.01"
Do a full restore from the Expert user interface

(And after a restart, you have to apply the work around again before doing a restore)

regards
micky1500
Posts: 298
Joined: 07 Feb 2016 16:29
Location: England

Re: BUG: backup and restore not working on Razberry 5.39

Post by micky1500 »

also, I now see a downgrade firmware option.
Update from 5.39 to 5.38 firmware for EU/US/RU/IN/CN/ANZ/BR

That's always handy after an upgrade failure.

Thanks
Raspi 4 - (Buster - 32 Bit) Zwave Version 4.1.1, Raz 7 Pro, Serial API Version: 07.38
Post Reply