Code: Select all
{"cmd":"read_ack","model":"plug","sid":"158d00010ec40b","short_id":6903,"data":"{\"voltage\":3600,\"status\":\"on\",\"inuse\":\"1\",\"power_consumed\":\"7624\",\"load_power\":\"210\"}"}
Moderator: leecollings
Code: Select all
{"cmd":"read_ack","model":"plug","sid":"158d00010ec40b","short_id":6903,"data":"{\"voltage\":3600,\"status\":\"on\",\"inuse\":\"1\",\"power_consumed\":\"7624\",\"load_power\":\"210\"}"}
+1! And Mi Home app is so much better than I expected too, although I will use it from Domoticz ^_^G3rard wrote:Just received my Xiaomi Gateway and door sensor and it works like a charm.
@corbin, thank you very much for your excellent work!
Also impressed by the hardware. Will certainly buy some more of it.
Have you add the Lux sensor for the gateway ?corbin wrote:I've got a pull request in that will fix the voltage reporting just 3.6v. It should also do battery percentage however I've set 0% to be 3v - this will be lowered once I know what the actual minimum voltage for the sensors are.
Edit the switch button how? I can edit mine ok but it would likely break some functionality.xxLeoxx93 wrote:@cobin allow your modifications to domoticz to edit the switchbutton? I'm using the official latest beta, but I can't edit my switch
Code: Select all
Problem: After adding the gateway, no devices are found in Domoticz Solution: You need to ensure the system Domoticz is running on can receive UDP Multicast packets. On Linux, this can be done with
iptables -P OUTPUT ACCEPT
iptables -I INPUT -p udp -j ACCEPT
Code: Select all
2017-04-02 13:13:36.187 XiaomiGateway: will listen on 9898 for hardware id 13
2017-04-02 13:13:36.187 XiaomiGateway: Worker started...
Code: Select all
udp 0 0 0.0.0.0:9898 0.0.0.0:* 19282/domoticz
Users browsing this forum: No registered users and 0 guests