Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.03k stars 1.67k forks source link

Inovelli Blue 2-1 OTA update not pulling #16086

Closed blubaru14 closed 1 year ago

blubaru14 commented 1 year ago

What happened?

I have a few Inovelli Blue 2-1 light switches. One of them will not pull the most recent update via OTA.

image

the device is reporting the verion of Read result of 'genBasic': {"swBuildId":"2.00"}

and the log message when you ask to check for an update is:

2023-01-09 16:13:34 Checking if update available for 'Downstairs Bathroom Light Switch'
2023-01-09 16:13:36 No update available for 'Downstairs Bathroom Light Switch'

What did you expect to happen?

Pull and update to v2.08

How to reproduce it (minimal and precise)

  1. Go to the OTA page
  2. Ask to check for update
  3. Log message saying there are not updates available for the device

Zigbee2MQTT version

1.29.0

Adapter firmware version

20210708

Adapter

Sonoff ZigBee 3.0

Debug log

debug 2023-01-10 21:24:55: Received MQTT message on 'zigbee2mqtt/bridge/request/device/ota_update/check' with data '{"id":"Downstairs Bathroom Light Switch","transaction":"gt2bi-2"}'
info  2023-01-10 21:24:55: Checking if update available for 'Downstairs Bathroom Light Switch'
debug 2023-01-10 21:24:55: Check if update available for '0x040d84fffe02b16e' (VZM31-SN)
debug 2023-01-10 21:24:55: Using endpoint '1'
debug 2023-01-10 21:24:55: Received Zigbee message from 'Downstairs Bathroom Light Switch', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":16908800,"imageType":257,"manufacturerCode":4655}' from endpoint 1 with groupID 0
debug 2023-01-10 21:24:55: Got OTA request '{"fieldControl":0,"manufacturerCode":4655,"imageType":257,"fileVersion":16908800}'
debug 2023-01-10 21:24:55: Is new image available for '0x040d84fffe02b16e', current '{"fieldControl":0,"manufacturerCode":4655,"imageType":257,"fileVersion":16908800}', latest meta '{"fileVersion":16908808,"url":"https://files.inovelli.com/firmware/VZM31-SN/Beta/2.08/VZM31-SN_2.08.ota"}'
debug 2023-01-10 21:24:55: Update available for '0x040d84fffe02b16e': NO
info  2023-01-10 21:24:55: No update available for 'Downstairs Bathroom Light Switch'
info  2023-01-10 21:24:55: MQTT publish: topic 'zigbee2mqtt/Downstairs Bathroom Light Switch', payload '{"action":null,"activeEnergyReports":null,"activePowerReports":null,"autoTimerOff":null,"brightness":254,"buttonDelay":null,"defaultLed1ColorWhenOff":null,"defaultLed1ColorWhenOn":null,"defaultLed1IntensityWhenOff":null,"defaultLed1IntensityWhenOn":null,"defaultLed2ColorWhenOff":null,"defaultLed2ColorWhenOn":null,"defaultLed2IntensityWhenOff":null,"defaultLed2IntensityWhenOn":null,"defaultLed3ColorWhenOff":null,"defaultLed3ColorWhenOn":null,"defaultLed3IntensityWhenOff":null,"defaultLed3IntensityWhenOn":null,"defaultLed4ColorWhenOff":null,"defaultLed4ColorWhenOn":null,"defaultLed4IntensityWhenOff":null,"defaultLed4IntensityWhenOn":null,"defaultLed5ColorWhenOff":null,"defaultLed5ColorWhenOn":null,"defaultLed5IntensityWhenOff":null,"defaultLed5IntensityWhenOn":null,"defaultLed6ColorWhenOff":null,"defaultLed6ColorWhenOn":null,"defaultLed6IntensityWhenOff":null,"defaultLed6IntensityWhenOn":null,"defaultLed7ColorWhenOff":null,"defaultLed7ColorWhenOn":null,"defaultLed7IntensityWhenOff":null,"defaultLed7IntensityWhenOn":null,"defaultLevelLocal":null,"defaultLevelRemote":null,"dimmingSpeedDownLocal":null,"dimmingSpeedDownRemote":null,"dimmingSpeedUpLocal":null,"dimmingSpeedUpRemote":null,"doubleTapClearNotifications":null,"doubleTapUpForFullBrightness":null,"energy":0.01,"firmwareUpdateInProgressIndicator":null,"invertSwitch":null,"ledColorWhenOff":null,"ledColorWhenOn":null,"ledIntensityWhenOff":null,"ledIntensityWhenOn":null,"linkquality":153,"loadLevelIndicatorTimeout":null,"localProtection":null,"maximumLevel":null,"minimumLevel":null,"onOffLedMode":null,"outputMode":null,"periodicPowerAndEnergyReports":null,"power":0,"powerType":null,"rampRateOffToOnLocal":null,"rampRateOffToOnRemote":null,"rampRateOnToOffLocal":null,"rampRateOnToOffRemote":null,"relayClick":null,"remoteProtection":null,"smartBulbMode":null,"state":"OFF","stateAfterPowerRestored":null,"switchType":null,"update":{"installed_version":16908800,"latest_version":16908808,"state":"idle"},"update_available":null}'
info  2023-01-10 21:24:55: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/ota_update/check', payload '{"data":{"id":"Downstairs Bathroom Light Switch","updateAvailable":false},"status":"ok","transaction":"gt2bi-2"}'
debug 2023-01-10 21:24:56: Received Zigbee message from 'Colin's Office Lower Outlet', type 'attributeReport', cluster 'seMetering', data '{"currentSummDelivered":[0,81475]}' from endpoint 1 with groupID 0
...
debug 2023-01-10 21:30:50: Received MQTT message on 'zigbee2mqtt/Downstairs Bathroom Light Switch/1/set' with data '{"read":{"attributes":["swBuildId"],"cluster":"genBasic","options":{}}}'
debug 2023-01-10 21:30:50: Publishing 'set' 'read' to 'Downstairs Bathroom Light Switch'
debug 2023-01-10 21:30:50: Received Zigbee message from 'Downstairs Bathroom Light Switch', type 'readResponse', cluster 'genBasic', data '{"swBuildId":"2.00"}' from endpoint 1 with groupID 0
info  2023-01-10 21:30:50: Read result of 'genBasic': {"swBuildId":"2.00"}
blubaru14 commented 1 year ago

Weird. I went through the update procedure for linux and pulled the code again. I had 1 file that was out of sync some how even though i had previously pulled 1.29.1.

rebuilding seems to have fixed the issue!