Page 1 of 2

Firmware update option in Device Configuration tab

Posted: 19 May 2014 17:23
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 16838 times

Re: Firmware update option in Device Configuration tab

Posted: 19 May 2014 23:14
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.

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 01:34
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.

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 04:38
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.

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 08:13
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.

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 10:37
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.

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 10:43
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.

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 12:18
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)

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 15:29
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 16786 times
Fibaro Smoke Sensor, No firmware update option
Fibaro Smoke Sensor, No firmware update option
device 18.tiff (372.86 KiB) Viewed 16786 times
Fibaro Wall Plug, No firmware update option
Fibaro Wall Plug, No firmware update option
device 4.tiff (394.15 KiB) Viewed 16786 times

Re: Firmware update option in Device Configuration tab

Posted: 20 May 2014 20:58
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 ".").