Open yjeanrenaud opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
is this not possible?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I would really love to read those values out
Me too!
Me too.
Looks like it has been added, but there is an issue with it having two different definitions. I opened #48 for that...
Added to the curtain? I don’t see it in the docs at all that u get light sensor data back in the get call.
@donavanbecker can you comment if this is something we can expect on the curtain API? It has a light sensor, internally the device can use it to open\close, so that data should be available over api as well.
@strunker I have no control on what is included in API. I don't work for SwitchBot. I just manage their homebridge plugins.
Come awnnn @donavanbecker fix ittt! Insert more whining. The actual devs vanished from this forum for the most part since December so... My mistake though.
@strunker Best I can do is moderate and pin issues I think worth pinning, so they don't go stale.
Which I have on this one.
@yjeanrenaud I did implement the light sensor into the homebridge-SwitchBot plugin.
I read the original request for this, as being able to tap sensor data from the devices. like the switchbot curtain has a light sensor, yet that data is only available to the device itself, why?? If I misread that, I'll post my own request (not that they will likely care\or see it but will do anyway).
Is your feature request related to a problem? Please describe.
I noticed the majority of the SwitchBot devices I got do have a light sensor built in and reported to the app in terms of dim/bright. This is the case at least for the Motion Sensor, the Contact Sensor and the Curtain, even though the feature is sometimes marked beta, e. g. for the Curtain. These sensors are unused in the API right now, if I did not terribly overlook it.
Describe the solution you'd like
I would love to have these values reported in the json so I could work on an extra sensor set for the homebridge-switchbot-openapi plugin, e. g. if you add the Curtain bot, an extra ambient brightness sensor is added, too.
Describe alternatives you've considered
there is none I guess. I looked at other homebridge plugins and none has that feature (yet). As far as i can tell, it all comes back to the API which does not provide these values yet.