Array Error and Consolidating Presence Sensor Issue


#1

I recently started getting an “Array item indexes outside of bounds” as what is passed in the variable. I never was able to get the variable to pass all the presence sensors together either and am hoping to fix this error being passed and hopefully someone can tell me what needs to be changed so that any combination of the four presence sensors can be passed.

I tried to modify the piston d0fju but I do not think I did it correctly. I love this piston and want to do something similar but instead making it announce who is entering the geofence and then open the garage door and announce on the Sonos and push notification who is arriving.

image|690x173