Jump to content

x046866x

Members
  • Posts

    64
  • Joined

  • Last visited

Everything posted by x046866x

  1. OK...interesting. I moved the Notify back up to the Trigger program I removed the reference to the second sensor and got the same result; duplicate sends, one refers to a device on the Polyglot. HOWEVER I changed the trigger to call a program that only includes the Notify: NotifyOnly - [ID 001A][Parent 0005][Not Enabled] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Send Notification to 'Default' content 'MotionSensor' Else - No Actions - (To add one, press 'Action') ...and I get only one E-mail every time. So; the duplicate E-mail refers to a node on the Polyglot, and sometimes different and unrelated node, and when I remove any reference to a Polyglot node then it behaves normally. Think it is related to the inclusion of the Polyglot activity? I tried to add one reference to a Polyglot node in the "NotifyOnly", but it behaved normally (of course) so I'm not sure if that is helpful. In the whole scheme of things I can always set up a second trigger to send the E-mail, so I'm not terribly worried. I just saw the inconsistent behavior so I raised a flag to see if it was something I was doing wrong. Frequently the problem is located somewhere between the chair and the keyboard.
  2. I actually did that already with the same results. The sensors appear to behave independently as expected. I see the state of only the one I walk across is set to "On" in the E-mail. I can certainly try again though (low effort re-try). One thing I am going to try (right now, in fact) is to move the notification back up to the Trigger program. The thinking is that maybe it is the longer-lived nature of the flash program? I thought I tried that once, but honestly do not recall now. Technically I would lose the ability to notify if I call the Flash from somewhere else....but arguably I only am interested in the trigger anyway....and don't call this from anyplace else (at the moment). I'll try both and report back.
  3. Timing is set to 1 minute. The sensors are close and it is possible that they trigger one after another (depending on where you are walking), but in the testing I am performing I'm making sure I'm not doing that. I can see by the E-mail that only one is triggered when I get multiple E-mails: This indicates the Walkway is off but the Garage sensor is triggers (31 7C 10 1 is the driveway sensor). || The walkway motion sensor status is:Off: Name:Walkway-Sensor || The garage motion sensor status is:On: Name:TopOfDriveway-Sensor || Addr:31 7C 10 1 Here's something weird.....while the program is running I sometimes get an arbitrary notification. This one show the device address as the Thermostat controller: ||The walkway motion sensor status is:Off: Name:Walkway-Sensor ||The garage motion sensor status is:On: Name:TopOfDriveway-Sensor ||Addr:32 B2 F9 1 ||Variable:0 ...and this one (happened to be when I triggered the walkway) shows an address of a different Polyglot node altogether (ISY Inventory): || The walkway motion sensor status is:On: Name:Walkway-Sensor || The garage motion sensor status is:Off: Name:TopOfDriveway-Sensor || Addr:n004_controller
  4. Motion trigger: MotionNotificationTrigger - [ID 0008][Parent 0005] If 'MainHouse / TopOfDrivewaySensor / TopOfDriveway-Sensor' is switched On Or 'MainHouse / WalkwayMotionSensor / Walkway-Sensor' is switched On Then Run Program 'MotionNotificationFlash' (If) Else - No Actions - (To add one, press 'Action') Flash program (before modification to stop any previous instance) MotionNotificationFlash - [ID 0030][Parent 0005][Not Enabled] If $MotionFlashIsRunning is 0 Then $MotionFlashIsRunning = 1 Send Notification to 'Default' content 'MotionSensor' Set 'MainHouse / Bulb - Office' On Set 'Hue / Hue Bridge / Office light strip' Set Transition Time 250 ms Set 'Hue / Hue Bridge / Notification strip' Set Transition Time 250 ms Set 'Hue / Hue Bridge / Hue play 1' Set Transition Time 250 ms Set 'Hue / Hue Bridge / Notification strip' On Set 'Hue / Hue Bridge / Hue play 1' On Set 'Hue / Hue Bridge / Office light strip' On Set 'Hue / Hue Bridge / Notification strip' Set Color Aqua Set 'Hue / Hue Bridge / Hue play 1' Set Color Aqua Set 'Hue / Hue Bridge / Office light strip' Set Color Aqua Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Azure Set 'Hue / Hue Bridge / Hue play 1' Set Color Azure Set 'Hue / Hue Bridge / Office light strip' Set Color Azure Set 'MainHouse / Bulb - Office' On Set 'Hue / Hue Bridge / Notification strip' Set Color Beige Set 'Hue / Hue Bridge / Hue play 1' Set Color Beige Set 'Hue / Hue Bridge / Office light strip' Set Color Beige Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Blue Set 'Hue / Hue Bridge / Hue play 1' Set Color Blue Set 'Hue / Hue Bridge / Office light strip' Set Color Blue Set 'MainHouse / Bulb - Office' On Set 'Hue / Hue Bridge / Notification strip' Set Color Chartreuse Set 'Hue / Hue Bridge / Hue play 1' Set Color Chartreuse Set 'Hue / Hue Bridge / Office light strip' Set Color Chartreuse Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Coral Set 'Hue / Hue Bridge / Hue play 1' Set Color Coral Set 'Hue / Hue Bridge / Office light strip' Set Color Coral Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Crimson Set 'Hue / Hue Bridge / Hue play 1' Set Color Crimson Set 'Hue / Hue Bridge / Office light strip' Set Color Crimson Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Forest Green Set 'Hue / Hue Bridge / Hue play 1' Set Color Forest Green Set 'Hue / Hue Bridge / Office light strip' Set Color Forest Green Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Fuchsia Set 'Hue / Hue Bridge / Hue play 1' Set Color Fuchsia Set 'Hue / Hue Bridge / Office light strip' Set Color Fuchsia Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Golden Set 'Hue / Hue Bridge / Hue play 1' Set Color Golden Set 'Hue / Hue Bridge / Office light strip' Set Color Golden Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Gray Set 'Hue / Hue Bridge / Hue play 1' Set Color Gray Set 'Hue / Hue Bridge / Office light strip' Set Color Aqua Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Green Set 'Hue / Hue Bridge / Hue play 1' Set Color Green Set 'Hue / Hue Bridge / Office light strip' Set Color Green Set 'MainHouse / Bulb - Office' Off Set 'Hue / Hue Bridge / Notification strip' Set Color Hot Pink Set 'Hue / Hue Bridge / Hue play 1' Set Color Hot Pink Set 'Hue / Hue Bridge / Office light strip' Set Color Hot Pink Set 'Hue / Hue Bridge / Notification strip' Set Color Indigo Set 'Hue / Hue Bridge / Hue play 1' Set Color Indigo Set 'Hue / Hue Bridge / Office light strip' Set Color Indigo Set 'Hue / Hue Bridge / Notification strip' Set Color Lavender Set 'Hue / Hue Bridge / Hue play 1' Set Color Lavender Set 'Hue / Hue Bridge / Office light strip' Set Color Lavender Set 'Hue / Hue Bridge / Notification strip' Set Color Lime Set 'Hue / Hue Bridge / Hue play 1' Set Color Lime Set 'Hue / Hue Bridge / Office light strip' Set Color Lime Set 'Hue / Hue Bridge / Notification strip' Set Color Maroon Set 'Hue / Hue Bridge / Hue play 1' Set Color Maroon Set 'Hue / Hue Bridge / Office light strip' Set Color Maroon Set 'Hue / Hue Bridge / Notification strip' Set Color Navy Blue Set 'Hue / Hue Bridge / Hue play 1' Set Color Navy Blue Set 'Hue / Hue Bridge / Office light strip' Set Color Navy Blue Set 'Hue / Hue Bridge / Notification strip' Set Color Olive Set 'Hue / Hue Bridge / Hue play 1' Set Color Olive Set 'Hue / Hue Bridge / Office light strip' Set Color Olive Set 'Hue / Hue Bridge / Notification strip' Set Color Red Set 'Hue / Hue Bridge / Hue play 1' Set Color Red Set 'Hue / Hue Bridge / Office light strip' Set Color Red Set 'Hue / Hue Bridge / Notification strip' Set Color Royal Blue Set 'Hue / Hue Bridge / Hue play 1' Set Color Royal Blue Set 'Hue / Hue Bridge / Office light strip' Set Color Royal Blue Set 'Hue / Hue Bridge / Notification strip' Set Color Tan Set 'Hue / Hue Bridge / Hue play 1' Set Color Tan Set 'Hue / Hue Bridge / Office light strip' Set Color Tan Set 'Hue / Hue Bridge / Notification strip' Set Color Teal Set 'Hue / Hue Bridge / Hue play 1' Set Color Teal Set 'Hue / Hue Bridge / Office light strip' Set Color Teal Set 'Hue / Hue Bridge / Office light strip' Fast Off Set 'Hue / Hue Bridge / Notification strip' Fast Off Set 'Hue / Hue Bridge / Hue play 1' Fast Off $MotionFlashIsRunning = 0 Else - No Actions - (To add one, press 'Action') (and THANK YOU everybody for your help)
  5. @Michel Kohanim Yes, I get two independent E-mails. One identifying the triggering device and the other identifying the first device referenced in the program (Hue light strip connected via Polyglot). I will paste the programs here. There is a lot of repeat noise due to my changing the colors on the three light strips hope you can look past that. BTW; the behavior appears to be arbitrary as in sometimes I get the duplicate and sometimes I do not. Most of the time I do get both though. @kclenden Your comment about them serializing and not running at the same time is informative. I think I will modify this to actually stop the previously running program. I have the sensor timeout set to 1 minute and this program takes a while (no, I didn't time it yet) and I don't want to back a bunch of these up.
  6. Here is the notification flash (I can remove some of the flash-fluff if that helps). I get two messages from this every time. In every E-mail the variable is always set to 1. The walkway motion sensor status is:Off: Name:Walkway-Sensor The garage motion sensor status is:On: Name:TopOfDriveway-Sensor ||||Addr:31 7C 10 1|||| ||||Variable:1|||| and then The walkway motion sensor status is:Off: Name:Walkway-Sensor The garage motion sensor status is:On: Name:TopOfDriveway-Sensor ||||Addr:n003_880103ce63d30b|||| ||||Variable:1|||| (the n003_88010... is the first device in the program itself), flash.xml
  7. Here is the trigger. In the E-mail I see that the variable is already set to "1"....but I wouldn't expect it to get set until the program runs, The E-mail that is sent to me has this contents: STATUS ONLY: The wakway motion sensor status is:Off: Name:Walkway-Sensor The garage motion sensor status is:On: Name:TopOfDriveway-Sensor ||||Addr:31 7C 10 1|||| ||||Variable:1|||| trigger.xml
  8. v5.3.0 Let me dig the programs up....naturally I continued to tinker and have tinkered to the point that they don't work at all :). I'll throw the restored version ASAP.
  9. I have 2 2842-222's that I have set up to trigger notification when they detect motion. My confusion is that every time they detect motion it seems I get two triggers. When I include the sys.node.#.addr I get the addr of the device on the first notification and then the reference to the first device in the program that I run based on the trigger. I have a variable check in there so the program should only run once at a time....I'm double checking the value of that now in an E-mail notification (results as soon as my dog walks by). What gives? Also; what is the difference between On and FastOn with the motion detector?
  10. I tried to get on....no response. Their website is just a generic "Web page not here". I took the risk to try it out, but have since removed all references and changed my ISY password.
  11. This seems to work well and makes a lot more sense. Thanks for the help. It also illuminated a little light-bulb in my head (a Control, not a Status) and I think I can make better use of my programming. Thank you!
  12. Follow up: When I use Control and select "Off" in the drop-down the text in the "If" section of the program reflects "is switched Off" (same for "On" of course). This text is more in line with what I was looking for, it just wasn't in the drop-down. Thank you! Program: HeaterIndicatorLight-Off(Work) - [ID 002B][Parent 0002] If 'GarageMahal / Thermostat / Garage-HeatControl' is switched Off Then Run Program 'BulbsGlowDown' (Then Path) Else - No Actions - (To add one, press 'Action') Drop-down:
  13. There is no selection "Calling for Heat". I should have been more clear but I was referring to my goal and not what was offered in the ISY. I find it difficult to know which are triggers. I didn't want to wait for the status to change as the polling method is undesirable. "Calling for Heat" strikes me as a trigger so I'd prefer something like that but in the Heat control I have: Status On Off Responding True False On the main thermostat I have things referring to humidity and temp change, but the one that triggers this on is: Heat/Cool State Heating Cooling Idle Given the input from you two I've got some more to try. I think "is not" should be the inverse of "is" so it stands to reason that it should provide what I need. I think, however, that "Control" is may be more well suited. I interpreted "Control" as an instruction rather than reaction to a control of some sort. I will tinker some more and report back. Thank you!
  14. Will do. In answer to your other question; Yes I do have 5.x (5.0.16B). HeaterIndicatorLight: HeaterIndicatorLight - [ID 0025][Parent 0002] If 'GarageMahal / Thermostat / GarageThermostat' Heat/Cool State is Heating Then $GarageIsHeating = 1 Run Program 'BulbsGlowUp' (Then Path) Repeat While $GarageIsHeating is 1 Wait 30 seconds Run Program 'HeaterCheck' (If) Repeat 1 times Run Program 'BulbsGlowDown' (Then Path) Else - No Actions - (To add one, press 'Action') HeaterCheck: HeaterCheck - [ID 0029][Parent 0002] If 'GarageMahal / Thermostat / Garage-HeatControl' Status is On Then $GarageIsHeating = 1 Else $GarageIsHeating = 0 BulbsGlowUp: BulbsGlowUp - [ID 0026][Parent 0005] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat 2 times Set 'IndoorSensorLights' Fast Off Set 'IndoorSensorLights' Fade Up Wait 6 seconds Repeat 1 times Run Program 'BulbsTurnOff' (Then Path) Else - No Actions - (To add one, press 'Action') BulbsGlowDown: BulbsGlowDown - [ID 0028][Parent 0005] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Repeat 2 times Set 'IndoorSensorLights' Fast On Set 'IndoorSensorLights' Fade Down Wait 6 seconds Repeat 1 times Run Program 'BulbsTurnOff' (Then Path) Else - No Actions - (To add one, press 'Action')
  15. I made some changes but have not had an opportunity to test this yet. The heat on (BulbsGlowUp) seemed to work OK as expected, but another program was using the bulbs when the heat turned off so I wasn't able to verify the heat-off (BulbsGlowDown). I did see the program exit as expected. Your thoughts? HeaterIndicatorLight: <?xml version="1.0" ?><triggers><d2d><trigger><id>37</id><name>HeaterIndicatorLight</name><parent>2</parent><if><and /><status id="CLIHCS" node="52 C9 7E 1" op="IS"><val uom="66" prec="0">1</val></status></if><then><var id="1" type="1"><op>EQ</op><val prec="0">1</val></var><runthen>38</runthen><repeat><while><var id="1" type="1"><op>IS</op><val prec="0">1</val></var></while></repeat><wait><seconds>30</seconds></wait><runif>41</runif><repeat><for><times>1</times></for></repeat><runthen>40</runthen></then><else></else><comment></comment></trigger></d2d></triggers> HeaterCheck: <?xml version="1.0" ?><triggers><d2d><trigger><id>41</id><name>HeaterCheck</name><parent>2</parent><if><and /><status id="ST" node="52 C9 7E 3" op="IS"><val uom="51" prec="0">100</val></status></if><then><var id="1" type="1"><op>EQ</op><val prec="0">1</val></var></then><else><var id="1" type="1"><op>EQ</op><val prec="0">0</val></var></else><comment></comment></trigger></d2d></triggers> BulbsGlowUp: <?xml version="1.0" ?><triggers><d2d><trigger><id>38</id><name>BulbsGlowUp</name><parent>5</parent><if></if><then><repeat><for><times>2</times></for></repeat><cmd id="DFOF" node="24253"></cmd><cmd id="FDUP" node="24253"></cmd><wait><seconds>6</seconds></wait><repeat><for><times>1</times></for></repeat><runthen>26</runthen></then><else></else><comment></comment></trigger></d2d></triggers> BulbsGlowDown: <?xml version="1.0" ?><triggers><d2d><trigger><id>40</id><name>BulbsGlowDown</name><parent>5</parent><if></if><then><repeat><for><times>2</times></for></repeat><cmd id="DFON" node="24253"></cmd><cmd id="FDDOWN" node="24253"></cmd><wait><seconds>6</seconds></wait><repeat><for><times>1</times></for></repeat><runthen>26</runthen></then><else></else><comment></comment></trigger></d2d></triggers>
  16. Folks, I have a 2441TH and a little program that turns a light on when the heat comes on ("is Calling for Heat") . I'd like to also flash the light (different pattern) when the heat turns off. I'm looking at "is not Calling for Heat" but if enabled it will respond all the time? If disabled then how to I trigger the program to wait until the heat is turned off? Russell
  17. I actually wrapped it up in the program and it looks like this. In the end this really is a better organization and if I want to clean up clutter I can move sub-routines (of sorts) to a folder. So far this seems to work fine. I may also inject some additional pause as advised by larryllix. The comm does have to travel from one box to a sub panel box to get to the bulb in question (yes, I have a phase coupler) which may add to some flakiness. Would injecting the pause between the on's and off's help that any? FlickerForDrivewayMotion program: if Control 'Mainhouse / MotionSensorDriveway / Sensor-Sensor' is switched On then Run Program 'BulbsFlicker' (Then Path) Run Program 'BulbsTurnOff' (Then Path) BulbsFlicker program: then Repeat 4 times Set 'MainHouse / Bulb - Office' On Set 'MainHouse / Bulb - Foyer' On Wait 1 second Set 'MainHouse / Bulb - Office' Off Set 'MainHouse / Bulb - Foyer' Off Wait 1 second BulbsTurnOff program: then Set 'MainHouse / Bulb - Office' Off Set 'MainHouse / Bulb - Foyer' Off
  18. I am interested in running a command after my repeat loop is complete. For example I am running this: then Repeat 4 times Set 'MainHouse / Bulb - Office' On Set 'MainHouse / Bulb - Foyer' On Wait 1 second Set 'MainHouse / Bulb - Office' Off Set 'MainHouse / Bulb - Foyer' Off Wait 1 second but every so often one of the bulbs is left on. I'd like to do something to the effect of (I recognize the brackets are not appropriate in this context...I put them here for demonstration) {Repeat 4 times Set 'MainHouse / Bulb - Office' On Set 'MainHouse / Bulb - Foyer' On Wait 1 second Set 'MainHouse / Bulb - Office' Off Set 'MainHouse / Bulb - Foyer' Off Wait 1 second} Set 'MainHouse / Bulb - Office' Off Set 'MainHouse / Bulb - Foyer' Off I know I can run commands before the loop. I'm going to wrap the loop into a separate program and try that, but hate cluttering the folder. Should I just get over that?
×
×
  • Create New...