new code doesnt deal with ctrl_ln* anymore ? (so it seems..)
i have only ctrl_ln1, so this is the only one i can help with testing .. with the former code, it works pretty well though.
Xiami added Power Consumtiopn (Watt) , however i couldnt find any refernece in message for that, only volttage..
Code: Select all
2017-07-18 06:55:31.685 {"cmd":"heartbeat","model":"ctrl_ln1","sid":"158d00014ab142","short_id":13820,"data":"{\"voltage\":3600,\"channel_0\":\"on\"}"}