Closed runningman84 closed 9 months ago
ota: ota.zigbeeOTA
for the relevant devices here?I got two firmware version and I have a problem with one specific device. My idea was that maybe the old version might work better. Is it even possible to use zigebee2mqtt to downgrade a given firmware?
My problem is that I have two devices one works as designed the other does not report any status updates. The device (door) which is working fine shows an old firmware version in zigbee2mqtt but a new version in their app (how is this even possible?). The device (window) which does not report any status update shows the new version in their app and in zigbee2mqtt. This is very confusing... window.txt door.txt
I have added the device in my second PR https://github.com/Koenkk/zigbee-herdsman-converters/pull/6456
Okay I have deleted the older firmware. My config file looks like this:
...
ota:
zigbee_ota_override_index_location: /data/fw/my_index.json
update_check_interval: 1440
my index file looks like this:
[
{"fileVersion":5212,"fileSize":578278,"manufacturerCode":4474,"imageType":529,"sha512":"ab539a1d694d9488a0deeaa2b0b809bc19b88ba7323eecba7f8abff7e989cee43112b29eb39a8548c0da480d258d7be0f681adb5b848bece0b2a55692c3b2b95","url":"/data/fw/V00.00.52.12.ota","force":true}
]
But in the zigbee2mqtt ui there was no insta devices listed in the ota section... is this because of the missing change in the second PR?
The device definition also needs to have ota: ota.zigbeeOta
indeed (but that should be the case now in the dev branch) (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)
okay is there anything or can this be merged?
thanks!
I have added both versions add.js does not seem to be able to handle two files... only the latest entry stays there...