Open AlexPotterOnGit opened 3 years ago
@AlexPotterOnGit You could try similar way as for Pet Water Dispenser but I'm not sure about token flow:
miiocli discover --no-mdns
00000000000000000000000000000000
or ffffffffffffffffffffffffffffffff
miiocli device --ip <device_ip> --token <device_discovered_token> info
miiocli device --ip <device_ip> --token <device_discovered_token> raw_command miIO.config_router '[{"ssid": "<your_wifi_name>", "passwd": "<your_wifi_password>", "uid": <your_xiaomi_account_user_id>}]'
ok
, changed it's network address and turn off (you could turn it back manually)micloud --username youraccount@example.com --country cn --pretty
feedtotal
and outfood-num
property miiocli device --ip <device_ip> --token <device_token> raw_command get_properties '[{"siid": 4, "piid": 2}, {"siid": 4, "piid": 4}]'
server-time-zone
property miiocli device --ip <device_ip> --token <device_token> raw_command set_properties '[{"siid": 9, "piid": 13, "value": 3}]'
pet-food-out
action miiocli device --ip <device_ip> --token <device_token> raw_command action '{"did": "", "siid": 2, "aiid": 1, "in":[]}'
Great instructions, appreciated. Let me give it a try tonight.
Great instructions @ofen!
Would you mind creating a PR to add a note or two based on your experiences to https://python-miio.readthedocs.io/en/latest/contributing.html#miot-devices (https://github.com/rytilahti/python-miio/blob/master/docs/contributing.rst#miot-devices) based on what you just wrote above?
Sadly it doesn't follow it's own published miot spec 🤦
But we've worked out all the available miio methods and format now.
- raw_command action '{"did": "", "siid": 2, "aiid": 1, "in":[]}'
Dude you are amazing!
Before submitting a new request, use the search to see if there is an existing issue for the device.
Device information:
Use
miiocli device --ip <ip address> --token <token>
.Additional context If you know already about potential commands or any other useful information to add support for the device, please add that information here.
Hi team,
I'm not a developer but have the device above and would like to contribute to support of it if possible. I installed miiocli and can communicate with it. Just don't know next steps which needs to be done. If you could point me out the right direction will be appreciated.