vcholman Posted March 19, 2017 Author Posted March 19, 2017 Hi Guys, Change of subject. Do you know, is it necessary to have a subscription to ISY PORTAL in order to setup and use Amazon's Alexa Echo with ISY-994i? Thanks,
stusviews Posted March 19, 2017 Posted March 19, 2017 No, but it certainly is easier. You may want to search this forum for alternatives or someone may provide a link. A new topic should help in your search
vcholman Posted March 21, 2017 Author Posted March 21, 2017 Hi Guys, Changing the subject back to my Garage doors. I wrote a very simple program that checks the open/closed status of my door. If the garage door is sensed to be open at 9PM, then a signal gets sent to close the door. However if I should happen to open the door after 9PM and forget to close it. Then the door stays open all night. Well, there has been a couple of times I had forgotten to close the door when I have been working in the garage after 9PM, then I find the door open when I get up. Would someone please please send me a sample of a simple program that will recheck the open/close status say every minute or hour, perhaps a schedule form 9PM to 8AM. If the door is found open, then I would like the program to close the door again. Any suggestions or help is appreicated. Thanks, Vance Not sure if
oberkc Posted March 21, 2017 Posted March 21, 2017 Quick response, concpeptually expressed: If From time 9pm to 8am (next day) Then Repeat Run "very simple program" (if path) Wait 1 hour Else Nothing From your current very simple program, remove all time conditions, checking door status only. Disable the simple program.
vcholman Posted March 22, 2017 Author Posted March 22, 2017 Not sure if I fully understood what you were suggesting to keep my garage door closed between two times. This is what I entered, it seems to work. But I would appreciate any suggestions to improve it. Thanks,
larryllix Posted March 22, 2017 Posted March 22, 2017 Not sure if I fully understood what you were suggesting to keep my garage door closed between two times. This is what I entered, it seems to work. But I would appreciate any suggestions to improve it. Thanks, Your repeat line after all the code lines does not repeat anything. try the repeat at the top and see how it indents.
stusviews Posted March 22, 2017 Posted March 22, 2017 To clarify: repeat only repeats statement that occur after the repeat command.
vcholman Posted March 22, 2017 Author Posted March 22, 2017 Changed my garage program so the repeat command is before the command to close the door. What happens now, if I open the door, the door will open about 1 foot then it stops. After 30 seconds the door then will fully close. If I'm working in my garage during the hours that the program is true, I would like the door to fully open. Any additional suggestions?
larryllix Posted March 22, 2017 Posted March 22, 2017 Follow oberkc's idea, post #54. You are trying to combine two programs into one. His program concept has an cycler/initiator program to run a second simple program to close the garage door. Your program has a Repeat that is activating the door and causing what you are seeing....just like you were pushing the door button every 60 seconds (Repeat 30 + Wait 30)
oberkc Posted March 22, 2017 Posted March 22, 2017 Vcholman, Your program will not do what you claim you want to do. Originally, you stated a desire to periodically (every "min or hour") check the status of your door and close it when found open. Your program, instead, will close it immediately when opened. In your program, the repeats and waits have no purpose. To clarify...your program will trigger at 8pm, 9am, and upon any change of status of the sensor. Once (and only when) triggered it will evaluate true whe between the times and when the sensor is ON. The other times it will evaluate false. As a result, opening the door will trigger the condition and, if between those times, shut the door. Once the door is shut, the program will trigger and be false, running the ELSE path and halting all waits and repeats. My suggestion is to think through the details of what you want to happen. What, for example, do you want the door to do id you arrive home late at night and open the door in order to park your car in the garage? Do you want the door to immediately close (while you ar entering the garage)? Do you want to wait a few minutes? Do nothing? Focus on WHAT you want to happen rather than focusing on the program for now.
larryllix Posted March 22, 2017 Posted March 22, 2017 Changed my garage program so the repeat command is before the command to close the door. What happens now, if I open the door, the door will open about 1 foot then it stops. After 30 seconds the door then will fully close. If I'm working in my garage during the hours that the program is true, I would like the door to fully open. Any additional suggestions? How will the ISY know you are working in the garage? Do you have motion sensors? If not, then all you can do is use timers and time frames to attempt to predict when you are not there.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.