Firmware update option in Device Configuration tab

Discussions about RaZberry - Z-Wave board for Raspberry computer
sdh
Posts: 66
Joined: 25 Feb 2014 11:37

Firmware update option in Device Configuration tab

Post by sdh »

Today I added Fibaro Door/Window Sensor FGK-101 (v2.1) and I suddenly see an option for firmware update which I did not see for any other Fibaro devices. Any idea if this works and how to use it.
fw_update.tiff
fw_update.tiff (342.54 KiB) Viewed 16829 times
n0ahg
Posts: 87
Joined: 08 May 2013 23:41

Re: Firmware update option in Device Configuration tab

Post by n0ahg »

This shows on all my Fibaro devices (only dimmers with firmware from 2.1 are upgradable as the hardware is different to 1.9 and before).

I'd also like to know how to use it.
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Firmware update option in Device Configuration tab

Post by pofs »

Well, it is quite unpolished yet. You can notice there's currently no valid translations for some captions.

For running firmware update you should know an url where to get the firmware, vendor id and firmware id. You can retrieve existing vendor id and firmware id by looking at interview results -> FirmwareUpdate CC -> data.
Target is a number of a chip to update firmware for – it is valid only for FirmwareUpdate v3 (Fibaro has v1, if I recall), and only for devices with multiple chips within, so in most cases it should be set to 0.

Of course, there are many possibilities for UI improvement, but this CC is very new, so it would take some time. Keep yourself from using it right now, it is not well-tested yet and may contain some bugs.
sdh
Posts: 66
Joined: 25 Feb 2014 11:37

Re: Firmware update option in Device Configuration tab

Post by sdh »

n0ahg wrote:This shows on all my Fibaro devices (only dimmers with firmware from 2.1 are upgradable as the hardware is different to 1.9 and before).

I'd also like to know how to use it.
I only see the firmware update for devices added in version 1.7.0. All the devices added in version 1.4.0 are not showing firmware update option even though they are all v2.1 or more. Is there something wrong on my setup.
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Firmware update option in Device Configuration tab

Post by pofs »

sdh wrote:I only see the firmware update for devices added in version 1.7.0
FirmwareUpdate CC was implemented only in 1.7.0, so regardless devices supported it before, RaZberry itself didn't.
sdh
Posts: 66
Joined: 25 Feb 2014 11:37

Re: Firmware update option in Device Configuration tab

Post by sdh »

Do I have an issue with the device xml files as I only see it for Door/Window sensor and not the smoke sensor and flood sensor which I recently added.
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Firmware update option in Device Configuration tab

Post by pofs »

No, whether device supports updates is taken from NIF, not from the XML. Check if there is FirmwareUpdate CC in NIF, and if the interview is passed.
Some older devices may not support it.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Firmware update option in Device Configuration tab

Post by pz1 »

Check if there is FirmwareUpdate CC in NIF
You can find that under Device Configuration - Advanced Actions - Show review results. Click on the link in the top left of that window. Based on the pepperone database, I think firmware update is command 122 (7A)
Since 29-12-2016 I am no longer a moderator for this forum
sdh
Posts: 66
Joined: 25 Feb 2014 11:37

Re: Firmware update option in Device Configuration tab

Post by sdh »

I did check all my devices nodeInfoFrame and all show command 122 but only device 29 shows firmware update option in device configuration and the rest don't.
Fibaro Door/Windows Sensor, Firmware update option
Fibaro Door/Windows Sensor, Firmware update option
device 23.tiff (357.28 KiB) Viewed 16777 times
Fibaro Smoke Sensor, No firmware update option
Fibaro Smoke Sensor, No firmware update option
device 18.tiff (372.86 KiB) Viewed 16777 times
Fibaro Wall Plug, No firmware update option
Fibaro Wall Plug, No firmware update option
device 4.tiff (394.15 KiB) Viewed 16777 times
pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Firmware update option in Device Configuration tab

Post by pofs »

Please check if the interview is completed for all the devices, and there's no CCs failing the interview (all the interview indicators in expert mode should be "+", not "-" or ".").
Post Reply