AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.45k stars 343 forks source link

Update Zigbee device firmware #1199

Open tybeonagy opened 1 year ago

tybeonagy commented 1 year ago

Hi I have a lumi.switch.b2laus01 which I belive could update firmware ota. Been use service: xiaomi_gateway3.send_command follow this link https://github.com/AlexxIT/XiaomiGateway3/wiki/Advanced-commands-to-Gateway.

service: xiaomi_gateway3.send_command
data:
  host: 192.168.31.50
  command: miio
  data: >-
    {"method":"miIO.subdev_ota","params":{"did":"lumi.04cf8cdf3c79bdca","subdev_url":"https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/Xiaomi/OTA_lumi.switch.b2laus01_0.0.0_0032_20200609_CC225A.20200811140905.ota"}}

Web noti show Xiaomi Gateway 3 {'id': 1101795034, 'result': ['ok']} but seem the switch firmware not update.

Please help.

AlexxIT commented 10 months ago

Show device diagnostics for your gateway