Closed grau closed 5 days ago
This is very interesting, I've not seen a device that shows up as two different entities on the hub before. Thanks for the data dump!
Looks like these should have their own dedicated client.lightSensors.list()
and client.lightSensors.get(...)API for providing the
illuminance` attribute. So the VALLHORN sensor would then appear both in the motion sensors and in the light sensors list but with different data attributes.
I'll add the support for this soon!
Version 1.2.0 is published to npm with the added lightSensor functionality.
Thanks a lot for your fast response! Works like a charm!
Using this API in my home automation and really love it! But I found, that there is a device missing: My VALLHORN Motion sensors not only provide their data as "motionSensor" but addionally the room illuminance as "lightSensor". I just appended a datagram that I got from one of my motion sensors.
Would be cool, if you could add it. Thanks ahead!
Some additional things I found out: