PAstrachan Posted June 29, 2022 Posted June 29, 2022 I get this message in the program in the if statement. I can't remember what I was looking at. I think it was the status of the switch. How can I tell what condition this was looking for? Warning: Unrecognized Condition (program may not run) <status OP="IS" NODE="7 E5 1C 3" ID="ST"> <val UOM="51" PREC="0">0</val> </status>
MrBill Posted June 29, 2022 Posted June 29, 2022 looks like it was the status of a switch. What is the program supposed to do. Copy and paste the full program. Right click the program name, the last option on the context menu is Copy to Clipboard, paste it into a forum message.
PAstrachan Posted June 30, 2022 Author Posted June 30, 2022 What the program did was when there was motion from the Ring, it would turn the front lights on for a couple minutes and toggle them off, but if the light was already on, it would stay on. I used a couple programs to get this to work. I'll post later tonight the actual programs. I think I was directly controlling the switch to turn it on, but looking at the scene to see if it was already on.
MrBill Posted July 1, 2022 Posted July 1, 2022 We can help you put the jigsaw puzzle back together, but we need to see all the pieces not just the hole.
Geddy Posted July 1, 2022 Posted July 1, 2022 18 hours ago, PAstrachan said: What the program did was when there was motion from the Ring, How was the Ring information being passed to the ISY? The Ring cloud node server has been offline a long time so hasn’t been working. If using other methods then please post whole program as @MrBill suggested in first reply. On 6/29/2022 at 8:57 AM, MrBill said: Right click the program name, the last option on the context menu is Copy to Clipboard, paste it into a forum message.
PAstrachan Posted July 2, 2022 Author Posted July 2, 2022 (edited) I did get this working. Documenting what I have in case it helps anyone. I'm using a routine in alexa to run entrymonvar program on ISY Anytime the front door sees motion, alexa turns on the entrymonvar program When motion is not seen for 10 minutes alexa turns off the entrymonvar program The entrymonvar program entrymonitorvar - [ID 0010][Parent 0001] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $motion = 1 Run Program 'axexamontionprog' (If) Else $motion = 0 Run Program 'motionmain' (If) The axexamontionprog axexamontionprog - [ID 0011][Parent 0001] If From Sunset To Sunrise (next day) And $motion is 1 Then Run Program 'motionmain' (If) Else - No Actions - (To add one, press 'Action') The motionmain program motionmain - [ID 0013][Parent 0001] If $entry_var is 1 Or $motion is 1 Then Set 'Front Entry' On Else Set 'Front Entry' Off And finally the entryvar program entryvar - [ID 0012][Parent 0001] If 'breakkey_a' Status is Off #####(this was the one that was missing)######## Then $entry_var = 0 Run Program 'motionmain' (If) Else $entry_var = 1 Run Program 'motionmain' (If) This seems like overkill to use 4 programs and 2 variables but it does work. The idea here was that the light would stay on if it was turned on by a scene. If motion turned it on, then only the switch was turned on, so I could use the status of another switch in the scene to see that it was motion that turned in on or the switch directly. Edited July 2, 2022 by PAstrachan
PAstrachan Posted July 2, 2022 Author Posted July 2, 2022 Appreciate all the offers to help - great community.
Recommended Posts