jimz011 / homekit-infused

Homekit Infused 5 2023
https://jimz011.github.io/homekit-infused/
Other
868 stars 138 forks source link

Device counter not working for motion sensors #186

Closed PaulBartelings closed 1 year ago

PaulBartelings commented 1 year ago

Hi Jim,

Thanks for the great product, I love it ;)

Have one thing, can't get the device counter to work for the motion sensors. All other counters work fine, but motion no.

Motion Sensors (This is used in the header badges, without this the header badge won't work)

all_motion_sensor_entities: entities:

And yes, I'm Dutch as well :)

jimz011 commented 1 year ago

Your entities told me so 😂

Anyways, could you perhaps show me what kind of state these sensors of yours show? I think occupancy works different than actual motion sensors (since I guess occupancy counts the number of guests in a certain room am I right?).

Could you perhaps show me what the output is of their states? The counter currently only works with on and off states (or open/closed, but they will be shown as on/off in the states engine regardless)

jimz011 commented 1 year ago

I have looked again into this, but those sensors should output on or off which is supported by HKI by default.

PaulBartelings commented 1 year ago

Scherm­afbeelding 2023-01-16 om 22 11 47

Hi Jim, sorry for the late reply. I think I did a typo. Everything works fine :)