Hi all,
as already written in other thread, I am testing the ESPresense Project though HomeAssistant; the setup is as follows:
- rPi with HomeAssistant
- 2x ESP32 board with ESPresense installed, one for every room I want to check
In Indigo I get the status of the device (iPhone, watch and so on) I want to track; the status is basically the room where the device is, so far, so good.
I created a variable which gets incremented when a devices enters a room, but now my problem is to know when a device leaves the room, example:
- iPhone enters bedroom --> status gets updated --> variable gets updated --> action
- iPhone leaves bedroom --> status will change to something else, but I do not know that the previous status was "bedroom"
Any hints/ideas?
Thanks
Marco