howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

added support for TH-16 temperature and humidity #26

Closed marcelo-paredes closed 5 years ago

marcelo-paredes commented 5 years ago

Reads temperature and humidity from TH16 with the temperature and humidity sensor

howanghk commented 5 years ago

Hi @marcelo-paredes, thanks for contributing! As I don't have a TH-16, I cannot test this myself. I assume your code works. I will merge this and release a new version. Thank you.

bogi-bo commented 5 years ago

is there any plan for supporting the RF Bridge as a sensor? In the something already gets recognonized, maybe it's not even a huge thing to configure it...

[eWeLink] WebSocket messge received: {"action":"update","deviceid":"XXXX","apikey":"XXXX","userAgent":"device","ts":0,"params":{"cmd":"trigger","rfTrig0":"2019-07-01T17:58:56.000Z"},"from":"device"}