This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

status of 100 windows and send a command to turn off the AC
#1
Hi, 

I need to track the status of 100 windows and send a command to turn off the AC in the room where window is open. Should send command every 5 minutes until window is closed.
Ideally, I'd like to achieve this with a single script, either resident (always running) or scheduled to run periodically. This simplifies maintenance by keeping everything in one place.
I'm unsure of the best approach. I tried using repeat..until loop, but it seems to keep running even when disabled.
Another option is a resident script that checks all 100 windows every minute and sends the "off" signal to the AC if any are open. The downside here is that the script would send the signal every minute instead of the desired 5-minute interval. 

Any insights or experiences would be appreciated Smile
Reply


Messages In This Thread
status of 100 windows and send a command to turn off the AC - by Osvaldas - 04.07.2024, 06:12

Forum Jump: