You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used a personal cobbled together presence (and illuminance) sensor before the lite came out and now replaced them all with the lite. Currently in the process of updating the configs as I do that by hand and came across this bit that I would like to offer as a suggestion to change it for the illuminance sensor. Instead of just making a pull request, I thought bringing it here first for a discussion would be a better way.
There are a couple small changes that I think would make the system much better.
Add accuracy to 1 digit decimals. Everything below that is noise and not really useful.
Add delta 1 filter, this means the sensor keeps reading, but only sends to HA when the lux changes 1 lux or more. Or in other words, only send to HA when there is a reason to send. Keeps spam low yet updates very quickly when there is a change.
Set frequency to 1s for reads, abandoning the setting. With the delta above this is just no longer needed. I experimented with lower settings, but so far have not had much luck with below 1s readings. Specs say the sensor has a read time of 120 ms in the slowest mode (not sure which mode is used) so maybe quicker reads would work as well. In my testing I got some inconsistent results so I just left it at 1s for now.
The removal of a variable that is not needed, while getting less spam on HA or the network in general, yet have fast (1s) reactions on even modest light changes, I think would be an overall win for the presence lite.
Thoughts?
The text was updated successfully, but these errors were encountered:
I have used a personal cobbled together presence (and illuminance) sensor before the lite came out and now replaced them all with the lite. Currently in the process of updating the configs as I do that by hand and came across this bit that I would like to offer as a suggestion to change it for the illuminance sensor. Instead of just making a pull request, I thought bringing it here first for a discussion would be a better way.
https://github.com/EverythingSmartHome/everything-presence-lite/blob/3dd563d5627b79cecd6edfa84250158d469ade05/common/everything-presence-lite-base.yaml#L66C1-L75C23
Basically change it from the above to this:
There are a couple small changes that I think would make the system much better.
The removal of a variable that is not needed, while getting less spam on HA or the network in general, yet have fast (1s) reactions on even modest light changes, I think would be an overall win for the presence lite.
Thoughts?
The text was updated successfully, but these errors were encountered: