I have seen a few threads on this topic but I didn't see any conclusive answer.
I have a counter that tracks when people enter and leave the house via Life360, for person A I increment and decrement by 1, for Person B I increment and decrement by 10, and so on.
I want to have a failsafe in case the counter drops below zero where I recalibrate the people in the house.
Does anyone have any ideas on how to check if counter is less than zero.
(sometime Life 360 doesn't always report people arriving correctly)
I have a counter that tracks when people enter and leave the house via Life360, for person A I increment and decrement by 1, for Person B I increment and decrement by 10, and so on.
I want to have a failsafe in case the counter drops below zero where I recalibrate the people in the house.
Does anyone have any ideas on how to check if counter is less than zero.
(sometime Life 360 doesn't always report people arriving correctly)
Comment