Open netRunner0 opened 5 years ago
Hi netRunner0, I personally don't have a ewelink device with voltage and other options. If you can provide the logging for them I might be able to implement it.
However, I believe those information are not part of the HomeKit standard and not guarantee to work.
Yes, maybe someday this will become the standard)
https://i106.fastpic.ru/big/2019/0106/a1/_13cc3ac96985f732b0695500725232a1.png
https://i108.fastpic.ru/big/2019/0106/1c/_f57962bf6954d247562194c5c2c5d31c.png
Params - Voltage and Power
Hi netRunner0, would you mind please copy the logs as text here instead of screenshots? Thanks!
[1/6/2019, 3:17:10 PM] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100050ff0a","apikey":"26951b0e-a2ac-4a20-b230-e42c1b14f7a7","userAgent":"device","ts":0,"params":{"power":"2440"},"from":"device"} [1/6/2019, 3:17:16 PM] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"100050ff0a","apikey":"26951b0e-a2ac-4a20-b230-e42c1b14f7a7","userAgent":"device","ts":0,"params":{"power":"2441"},"from":"device"} [1/6/2019, 3:17:18 PM] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10004c7420","apikey":"26951b0e-a2ac-4a20-b230-e42c1b14f7a7","userAgent":"device","ts":0,"params":{"voltage":"230.26","switch":"off"},"from":"device"}
Hi netRunner0, do you know what does {"power":"2440"}
means? Is your device consuming 2440W power? That's quite a lot.
howanghk, yes)
OK, thanks for the info, I can try to implement that when I have free time.
Thanks!
Does the plugin get the humidity and temperature parameters from TH16? Today I added a sensor to this sonoff, but the temperature and humidity is only displayed in the Ewelink app.
[1/6/2019, 10:59:04 PM] [eWeLink] WebSocket messge received: {"action":"update","deviceid":"10004b1cbe","apikey":"26951b0e-a2ac-4a20-b230-e42c1b14f7a7","userAgent":"device","ts":0,"params":{"currentHumidity":"69"},"from":"device"}
Hello! Can you make support for voltage mapping and other options available for the EVE program? I see in the console that the plugin gets these parameters ...