-
Notifications
You must be signed in to change notification settings - Fork 355
Advanced commands to Gateway
Alex X edited this page Feb 15, 2022
·
16 revisions
Example for firmware upgrade for Neo NAS-WR01B (TS011F) from 68 version to 74 version
- change
host
to your gateway IP-address - change
did
to your devices IEEE (lumi.
+ IEEE without leading zeroes) -
subdev_url
should link toraw.githubusercontent.com
service: xiaomi_gateway3.send_command
data:
host: 192.168.1.123
command: miio
data: >-
{"method":"miIO.subdev_ota","params":{"did":"lumi.abcdef1234567890","subdev_url":"https://raw.githubusercontent.com/Koenkk/zigbee-OTA/master/images/Telink/nas_wr01b_plug_OTA_1.0.10.bin"}}
Thanks to zigbee2mqtt project! You can check available firmwares here.
- change
host
to your gateway IP-address - Command result will be in Hass Notifications
- You don't need to send
"id":123
or"params":[]
- the component will insert them automatically
service: xiaomi_gateway3.send_command
data:
host: 192.168.1.123
command: miio
data: '{"method":"miIO.info"}'