OpenWonderLabs / python-host

The python code running on Raspberry Pi or other Linux based boards to control SwitchBot.
Apache License 2.0
376 stars 84 forks source link

Contact Sensor: Going out counter and entry counter are not increased #27

Open huzisuke opened 3 years ago

huzisuke commented 3 years ago

I think if I go out through the door, the going out counter is increased, and if I enter in, the entry counter is increased. But when I did that actions and read the broadcast message, the counters were not increased. At that time, I received the push notification which sent when the counter sensor detect the action of going out or enter in. Therefore, I think the sensor detects my action correctly but counters do not working. Is this wrong usage of counter?