I am using a set of 3 Shelly Door/Window 2 sensors to indicate whether certain gates are open. When any of these gates are open, I would like to turn on a Shelly Plug US.
My preference is to do this without the Shelly Cloud so that its proper functioning isn't dependent on my internet being online.
Last year, I implemented a 'Gate_Open' script (see attached) that was responsible for tracking which sensors are open/closed and turning the relay on/off.
Each sensor starts/stops its dedicated script on the Plug US module (started = OPEN, stopped = CLOSED) - this was the only way that I could figure out how to communicate to the Plug which sensor was triggered.
Unfortunately, it seems that that Gate_Open script is no longer working because the 'Event.Info.Running' is no longer available (I guess it was removed, for some reason?)
Can anyone assist on this? Thanks!