1) Give a description of the problem
I’m trying to rewrite my Life360 Departure Piston to register when two or more people leave together. This requires me to save matching devices to the same variable more than once. Is this allowed, or does the variable reset between writes?
2) What is the expected behaviour?
The device of the first person detected is written to “DevWhoLeft”, and the remaining devices are saved “DevWhoLeftWithMe” to detect within 10 seconds of the first person. If any of those devices’ presence change within that time period, they should be added to the first name, i.e. “Bob” changes to “Bob and Marie”
3) What is happening/not happening?
I just wrote this today and no one has left yet. I probably won’t be able to convince two people to leave home today on a lazy Sunday, so I’m hoping someone could look over the code and let me know if it seems workable.
**4) Post a Green Snapshot of the piston![image|45x37]