Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONOFF SNZB-06P OTA not working #402

Closed
jpettitt opened this issue Nov 22, 2023 · 1 comment
Closed

SONOFF SNZB-06P OTA not working #402

jpettitt opened this issue Nov 22, 2023 · 1 comment

Comments

@jpettitt
Copy link

I've got a SONOFF SNZB-06P with firmware 1.0.3, I see 1.0.5 in the repo but it's not showing in z2m in the OTA tab and manual update requests fail.

This is the debug log from z2m, I can see it requesting OTA with "no image available"

log1.txt:info  2023-11-22 10:57:14: Successfully interviewed '0x3410f4fffee224e8', device has successfully been paired
log1.txt:info  2023-11-22 10:57:14: Device '0x3410f4fffee224e8' is supported, identified as: SONOFF Zigbee occupancy sensor (SNZB-06P)
log1.txt:info  2023-11-22 10:57:14: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Zigbee occupancy sensor","exposes":[{"access":1,"description":"Indicates whether the device detected occupancy","label":"Occupancy","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"SNZB-06P","options":[{"access":2,"description":"Sends a message after the last time no occupancy (occupancy: false) was detected. When setting this for example to [10, 60] a `{\"no_occupancy_since\": 10}` will be send after 10 seconds and a `{\"no_occupancy_since\": 60}` after 60 seconds.","item_type":{"access":3,"label":"Time","name":"time","type":"numeric"},"label":"No occupancy since","name":"no_occupancy_since","property":"no_occupancy_since","type":"list"}],"supports_ota":false,"vendor":"SONOFF"},"friendly_name":"0x3410f4fffee224e8","ieee_address":"0x3410f4fffee224e8","status":"successful","supported":true},"type":"device_interview"}'
log1.txt:info  2023-11-22 10:57:14: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Zigbee occupancy sensor","friendly_name":"0x3410f4fffee224e8","model":"SNZB-06P","supported":true,"vendor":"SONOFF"},"type":"pairing"}'
log1.txt:debug 2023-11-22 10:57:27: Received Zigbee message from '0x3410f4fffee224e8', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":4099,"imageType":2060,"manufacturerCode":4742}' from endpoint 1 with groupID 0
log1.txt:debug 2023-11-22 10:57:27: Device '0x3410f4fffee224e8' requested OTA
log1.txt:debug 2023-11-22 10:57:28: Received Zigbee message from '0x3410f4fffee224e8', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":4099,"imageType":2060,"manufacturerCode":4742}' from endpoint 1 with groupID 0
log1.txt:debug 2023-11-22 10:57:28: Device '0x3410f4fffee224e8' requested OTA
log1.txt:debug 2023-11-22 10:57:31: Received Zigbee message from '0x3410f4fffee224e8', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":4099,"imageType":2060,"manufacturerCode":4742}' from endpoint 1 with groupID 0
log1.txt:debug 2023-11-22 10:57:31: Device '0x3410f4fffee224e8' requested OTA
log1.txt:debug 2023-11-22 10:57:35: Received Zigbee message from '0x3410f4fffee224e8', type 'commandQueryNextImageRequest', cluster 'genOta', data '{"fieldControl":0,"fileVersion":4099,"imageType":2060,"manufacturerCode":4742}' from endpoint 1 with groupID 0
log1.txt:debug 2023-11-22 10:57:35: Device '0x3410f4fffee224e8' requested OTA
log1.txt:debug 2023-11-22 10:57:36: Responded to OTA request of '0x3410f4fffee224e8' with 'NO_IMAGE_AVAILABLE'
log1.txt:debug 2023-11-22 10:57:38: Responded to OTA request of '0x3410f4fffee224e8' with 'NO_IMAGE_AVAILABLE'
log1.txt:debug 2023-11-22 10:57:39: Responded to OTA request of '0x3410f4fffee224e8' with 'NO_IMAGE_AVAILABLE'
log1.txt:debug 2023-11-22 10:57:40: Responded to OTA request of '0x3410f4fffee224e8' with 'NO_IMAGE_AVAILABLE'

If I manually request and OTA is sys it doesn't support it ....

image

What am I missing?

@Koenkk
Copy link
Owner

Koenkk commented Nov 22, 2023

OTA support has been added in the dev branch: https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html

@Koenkk Koenkk closed this as completed Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants