Jump to content

gregkinney

Members
  • Posts

    198
  • Joined

  • Last visited

Everything posted by gregkinney

  1. I have this program: shades down if temp over 95 - [ID 026A][Parent 006C] If 'WeatherLink / WeatherLink' Temperature > 97.0°F And From 2:45:00PM To 2:50:00PM (same day) Then Set 'Zwave / Shades - Kitchen' 28% Wait 20 seconds Set 'Zwave / Shades - Kitchen Door' Off Wait 20 seconds Set 'Zwave / Shades - Butlers' Off Wait 20 seconds Set 'Xscenes / Shades - Dining' Fast Off Wait 20 seconds Set 'Zwave / Shades - Tasha Ofc S' Off Wait 20 seconds Set 'Xscenes / Shades - Theater' Fast Off Wait 20 seconds Set 'Zwave / Shades - Mud Room' Off Wait 20 seconds Run Program 'shades study winter down' (Then Path) Wait 3 seconds Disable Program 'shades down if temp over 95' Else - No Actions - (To add one, press 'Action') #enabled The 20 second gaps are because sometimes the zwave signal seems to trip over itself - I had more success by spacing the commands out. This program runs great on its own. However, I use HTTP shortcuts on my phone to do often used tasks. So if I want to close these shades, I use my http shortcut which uses a "runThen" action from the REST API. However, it will run for maybe 30 seconds to 1 min, and then stop. It will never complete. I assumed there was a timeout or something while it was waiting to receive a completed response from the API, so I created this program, thinking it would respond immediately with a completed response: shades sun - [ID 030B][Parent 006C] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Run Program 'shades down if temp over 95' (Then Path) Else - No Actions - (To add one, press 'Action') but it's the same end result - it runs for 30-60 seconds and stops. Does anyone have any suggestions how I can achieve my goal?
  2. Yes, I replicated everything as before. Same LL, same outlet, the new (used) cord in the same position as previous. I will give it the weekend and then follow your disposal instructions. Good suggestion BTW. A conversation I had years ago with an insurance claim adjuster said the majority of house fires he dealt with were the result of cheap extension cords.
  3. No strange log entries with the new extension cord. Is it safe to assume there is something wrong with that specific extension cord? And if so, is there any concern for safety? Am I ok to keep using it for other things or should I throw it away?
  4. It wasn't wound and taped in deployment, that's only for storage. But I hear you - I'll replicate how the cord was laid out the same as before.
  5. I have not but I can. Just to clarify, you're suggesting plugging in a different basic 2 prong empty extension cord to see if the log entries return?
  6. I don't have one of those but I do have one of these. Shows watts/amps/volts. Is that helpful?
  7. It was the extension cord that caused the issue. I unplugged it and the repeating log entries have not happened since. Correct, it was an empty extension cord plugged into the lamplinc. It is a 2 wire, 10ft, not sure of gauge. It is on the thin side.
  8. I did a factory reset and still had the same behavior with the logs showing on and off repeatedly. Next, I replaced the dimmer module and still have the same behavior. I'm mind blown. My next step is to unplug the empty extension cord and see what happens, then the step after that would be changing the outlet it is plugged in to. Will report back. Open to any other suggestions.
  9. @IndyMike I went to check what type of bulbs were installed and had forgotten - we removed the two lamps a couple weeks ago so there was only an extension cord plugged in with nothing plugged in to the extension cord. We will likely add the lamps back in the future so I want to keep the module in place. I'll try @paulbates suggestion and factory reset and go from there.
  10. I was checking my log this morning to see what time a certain light turned on when I saw this. 'Izzy Bedside Lamps' is an Insteon dimmer module 2457D2. As you can see, it repeatedly is showing the status alternating betweeen 'Off' and '100%'. It does this for many hours then stops, then starts back up the next day. The time that it starts and stops is not the same each day. The actual state of the device during these times is 'Off'. I searched my programs and confirmed that it is not involved in any programs. I was trying to decide between factory resetting it or simply replacing it (I have spares sitting in the closet) but figured I would ask here first if anyone has had this experience before. Rooms / Izzy / Izzy Bedside Lamps Status 100% Fri 2024/08/09 05:19:11 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status Off Fri 2024/08/09 05:19:12 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status 100% Fri 2024/08/09 05:19:15 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status Off Fri 2024/08/09 05:19:16 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status 100% Fri 2024/08/09 05:19:17 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status Off Fri 2024/08/09 05:19:18 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status 100% Fri 2024/08/09 05:19:19 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status Off Fri 2024/08/09 05:19:23 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status 100% Fri 2024/08/09 05:19:24 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status Off Fri 2024/08/09 05:19:25 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status 100% Fri 2024/08/09 05:19:26 AM System Unknown Rooms / Izzy / Izzy Bedside Lamps Status Off Fri 2024/08/09 05:19:27 AM System Unknown
  11. Thank you everyone for your input. Yes @Goose66 I am familiar with the two-program structure and will use that moving forward to achieve what I want. I guess if I see it the way you see it, as a benefit, it can be used to my advantage. I think my black-and-white logic brain was having a hard time with that.
  12. I found out from another forum post recently that I have been using the 'wait' function incorrectly. I had assumed that 'wait' was the same logic as other programming languages where it temporarily stalls the running program for a period of time. But @TJF1960 pointed out that if there is a 'wait' in the 'then', the program will re-evalate if the 'if' changes. My goal in some of my programs is to have a 'wait' in the 'then' which will simply stall the program for a period of time, and not keep evaluating whether the 'if' is true during this 'wait' time. Can someone help me accomplish this? My only thought was if it was split up into two programs, where the second program did not have any 'if' logic to evaluate. Wondering if there is a cleaner way. I have noticed that if the 'if' is a time, it will still use the 'wait': living kodi clean nightly - [ID 0272][Parent 0073] If Time is 3:33:33AM Then Resource 'living.kodi.on' Wait 6 seconds Resource 'living.kodi.clean' Else - No Actions - (To add one, press 'Action') #enabled And also, for some reason this works: office bath fan 7.5 - [ID 0159][Parent 01C2] If 'Rooms / Office / Office Bath Fan' is switched Fast Off Then Wait 2 seconds Set 'Rooms / Office / Office Bath Fan' On Wait 7 minutes and 30 seconds Set 'Rooms / Office / Office Bath Fan' Off Else - No Actions - (To add one, press 'Action') Which leaves me thoroughly confused.
  13. @TJF1960 I understood wait was like when I write a sleep function in python...it would literally keep the program in the current state until the time passed. Thank you for educating me otherwise. I've got a few programs to go re-write and a lot to learn. @EWhite I'm sorry to have hijacked your post with my ignorance. I hope you get it figured out.
  14. PROGRAM 1 If $coop_hum > 65 And $coop_hum > $outside_hum And 'Whitehouse / main' Temperature > 40.0°F And Fan is Off Then Set 'MQTT / ChickCoop3' On Wait 5 minutes and 30 seconds Else Wait 5 minutes and 30 seconds PROGRAM 2 If 'MQTT / ChickCoop1' Temperature > 85.00°F And 'MQTT / ChickCoop1' Temperature < 120.00°F And Fan is Off Then Set 'MQTT / ChickCoop3' On Wait 5 minutes and 30 seconds Else Wait 5 minutes and 30 seconds PROGRAM 3 If Fan is On And 'MQTT / ChickCoop1' Temperature < 85.00°F And $coop_hum < 65 Then Set 'MQTT / ChickCoop3' Off Wait 5 minutes and 30 seconds Else Wait 5 minutes and 30 seconds
  15. @TJF1960 @EWhite Wouldn't it be much simpler to do it without the variables, and just limit the amount of times the program can run? It looks like there is some logic above based on 5 minutes and 30 seconds, so what if it was: if humidity is > x AND temperature is > x then turn fan on wait 5 minutes and 30 seconds else turn fan off wait 5 minutes and 30 seconds
  16. Can't you just use both temperature AND humidity in the if statement? if humidity is > x AND if temperature is > x then turn fan on The program should check the logic in the 'if' even if only one of the pieces has changed value, then if both statements are true, it will execute 'then'.
  17. I have a program which turns the volume up on my Denon receiver and another which turns the volume down, I have the spoken words as "tv volume up" and "tv volume down". Right now I have to say, "Alexa, turn on tv volume up" and "Alexa, turn on tv volume down." The spoken words are tough for family members. Does anyone have suggestions to help the illogical word combination? In a perfect world, I would say "Alexa, tv volume up" and "Alexa, tv volume down".
  18. Yes, I also suggest posting the goodnight program as well as the wake up program(s).
  19. Oops, didn't even realize what forum I was in. Hopefully the developer chimes in. Does your watering program come on at the same time each day for the same amount of minutes?
  20. My Rachio is in Home Assistant so I can't be of direct help to that specific device. I would suggest posting in the Rachio part of the forum so maybe the developer can help. Assuming there aren't specific ways for the Rachio plugin to let the ISY know if it is currently watering or not, here are the other basic logic ways that I would handle it, if it were me. 1. Use the time that the device is being used, so if you run the watering schedule at the same time. @oberkc covered how to handle this. 2. Use a variable. If you start the watering via an ISY program, create a variable and add a line to the program that triggers a unique value. You would then need to have a way to change this value back once the watering ends. Then in your program, check the variable value to decide when to use the dog water program.
  21. I went through something similar recently. An outside light that was supposed to turn off at 11pm was still on each morning. However, I quickly moved past the issue that it was the program because that unchanged program had been working for 8+ years. Additionally, when I would open up the admin, I would get a message saying that it could not communicate with that problem device. I think @hart2hart and @Techman are both correct that it's a communication issue. Here was my journey:
×
×
  • Create New...