
brians
Members-
Posts
1000 -
Joined
-
Last visited
Everything posted by brians
-
Program not setting Int variable after Wait (Eisy)
brians replied to AllDigital's topic in IoX Support
Here is something relevant to this... programs which control my bathroom light/fan. In particular look at my bathroom fan off else which sets the parameter because in the then when I turn off the fan, it re-triggers itself and would never execute anything after it. The reason I do this is because the junk Jasco GE motion sensors seem to be over-sensitive and turn on the light if I turn on the fan which is in same 2-gang box. I have tested this by turning off the motion using parameter and flick fan on/off and light never comes one, but as soon as I enable the motion sensor, the light comes on about 25% of the time when I turn fan on remotely via program or manually. ----------------------------------------------------------------------------------- Bathroom Fan Off - [ID 007F][Parent 0084] If 'Main Bathroom / Main Bathroom Light' Status is Off And 'Main Bathroom / Main Bathroom Fan' Status is On Then // Wait 5 minutes before turning Bathroom Fan Off. // If light turns back on then program halts/re-triggers and will be false. Wait 5 minutes // Turn off motion sensor and wait 3 seconds before turning fan off. Found the relay sometimes sets off motion sensor, turning light back on. Set 'Z-Wave extra nodes / Main Bathroom / ZY 006 On-Off Power Switch' Set Configuration Parameter 6 = 0 Wait 3 seconds Set 'Main Bathroom / Main Bathroom Fan' Off Else // Turn on motion sensor because program will re-trigger after Main Bathroom Fan is turned off so cannot place this // after that command in Then because never runs. The result will be False so will re-enable motion here. Set 'Z-Wave extra nodes / Main Bathroom / ZY 006 On-Off Power Switch' Set Configuration Parameter 6 = 1 Main Bathroom light turns off automatically after 5 mins of last motion detected. This program will make Fan shut off after 5 minutes of light turning off... eg. around 10 min if person leaves and lets the light time out. Want the fan to run a bit longer than the light. Turns off motion sensor via parameter during the fan Off because the close proximity in same gang box tends to trigger the motion sensor when the Fan is turned on/off. This program will automatically turn it off if fan is turned on by any other means eg. fan turn on throughout day on schedule. No other handling required in those programs. If someone happens to be in the bathroom with light on then because the fan is already running user would not notice... and this program would not run to shut it off. ----------------------------------------------------------------------------------- Bathroom Fan On - [ID 0069][Parent 0084] If 'Main Bathroom / Main Bathroom Light' Status is On Then Wait 15 seconds Set 'Main Bathroom / Main Bathroom Fan' On Else - No Actions - (To add one, press 'Action') Uses Jasco Bathroom Light Motion Sensor to determine occupancy. The motion sensor is set to turn on via motion, and off after default 5 minutes of no detected motion. Note that re-triggering motion will reset the 5 minutes internally in the Jasco switch. Therefore light should shut off 5 min after leaving room. Use light On to determine when motion is triggered instead of looking at motion sensor directly. Turns fan on 15 seconds after entering/triggering motion or light is turned on another method. Another program handles the Fan shut off after 5 minutes of light turning off... Therefore Fanshould stay on minimum 10 min: 5 minutes of light on and 5 min fan. ----------------------------------------------------------------------------------- Bathroom Fan On Schedule - [ID 0085][Parent 0084] If Time is 12:00:00AM Or Time is 4:00:00AM Or Time is 8:00:00AM Or Time is 12:00:00PM Or Time is 4:00:00PM Or Time is 8:00:00PM Or Time is Last Run Time for 'Bathroom Fan On Schedule' + 1 hour Then Set 'Z-Wave extra nodes / Main Bathroom / ZY 006 On-Off Power Switch' Set Configuration Parameter 6 = 0 Wait 3 seconds // Turn off motion sensor before turning fan on. Found the relay sometimes sets off motion sensor, turning light on. Set 'Main Bathroom / Main Bathroom Fan' On Wait 3 seconds Set 'Z-Wave extra nodes / Main Bathroom / ZY 006 On-Off Power Switch' Set Configuration Parameter 6 = 1 Else - No Actions - (To add one, press 'Action') Resets to time every 4 hours. Runs fan every hour. Other program will shut it off. -
Maybe locks are forced S2 if available? My lock is not S2 capable so do not know for sure, but I know when I add any other S2 device I can uncheck the security options and leave at S0.
-
Did you try including the lock without any S2 security options?
-
I agree, the only explanation I have seen is something along the lines that UD is using a stricter API for ZWave and some of the Z-Wave hardware use non-standard implantation. However, Zooz is a significant company in Z-Wave so I question this reason - their products work fine with every other Hub out there.
-
That one node will turn on off all three but if you don’t use that one then you should be able to turn on off the individual ones independently.
-
Did you try shorting the S1, S2, or S3 with a paperclip or something and see if you get an On/Off for that node in AC? Shorting S1 should also close R1 and others respectively and I would imagine you would hear it (I haven't seen a Zen16 yet but presume it works similar to default Zen17 config). Zen 17 has ability to isolate the relay outputs from the inputs where the Zen16 they are fixed together. However, UD has not fixed this with Zen17, and the separate input nodes do not show up when Zen17 is configured as isolated.
-
Waiting to hear how it works. I have Zen51 ordered and should arrive tomorrow and will mess around with it. I think I may use it to monitor my lift pump instead of using Zen17 and an AC current sensor on the pump wire, and I can then place that Zen17 to control my gas fireplace somehow, but that is a different project.
-
You could maybe convert some of those scenes to programs... I notice a lot the scenes just set lighting for different things, times of day etc. To keep keypadlincs in sync, just make scenes for those and have programs handle to keep the buttons in sync.
-
Not sure if you havea the same switches but I have two of the Leviton switches DZ15S-1RZ. They do not support instant status but instead an older method called Hail. The workaround was to have program for each switch and if control is hail then do a query on it (some hubs do this automatically). ZMatter ZWave does not correctly support Hail so there is no current way for these Leviton switches to report their status anymore when turned on/off locally. Turning them on/off from IoX is fine however because it keeps the state updated. Furthermore, these Leviton switches never worked as scene controllers with old method before with old ZWave dongle, and with ZMatter it is now obvious why - because there are no Scene Button nodes (which is what I believe old method of ZWave scenes used). There are no Basic Assoc nodes either so cannot use Basic Assocation. Therefore these switches are not capable of controlling anything directly really. If Hail was supported there would be workaround but until then not possible. They do respond to basic set commands and I setup a Zen32 button 3 basic assoc to turn it on/off, but the light does not show on in IoX until queried. As a workaround I have a program which queries these switches every minute but it is not ideal for controlling things (if Hail, this would be possible) but it does keep things updated overall. Since I use only two of these Levitons right now in fringe areas in house, it is not necessary for me to have this instant control ability via hail, but it would be nice to support this. For more Zen32 programming, go over to ZMatter forum and I have example there how I toggle any light with a button using just two programs and one int variable with full two-way LED sync (unfortunately not instantly with these Leviton switches if turned on/off locally though but my 1 min sync keeps it updated eventually) etc. Here is my scene anyways for Zen32 controlling button on/off. Note that elsewhere I came to conclusion that this is not best way though since LEDs get out of sync and Zen32 keeps its own internal state of each toggle button and if light was toggled elsewhere have to press button twice... go read other forum for details.
-
Do you have issue at all with your Jasco switches becoming unresponsive after a while, like maybe weeks/months? I have two of them and one in the bathroom seems that the switch locks up to manual control every so often and I have to use the airgap switch to power cycle it. The last time it happened it is working but doesn't provide instant status back to the ISY anymore but I can still control it. Similar thing just happened to my downstairs switch, but would not even turn on/off from ISY... and exclude/include fixed for now. I am too lazy to exclude/include and redo my bathroom fan programs right now but maybe later. This also happened with my Zooz dongle so it is not a ZMatter issue. I just installed a couple Zen71 so I will see how reliable those are.
-
As I understand it, you have a separate motion sensor in a hallway that turns on a light in that hallway, but only want it triggered between 530pm-5:30am? Why not try: put the program in a folder, and apply the time range to the folder. The program will only run during those times specified in the folder. I am also curious how the switch shuts off too. Looking closer though, your program turns the motions switch 1 on, what is that exactly? Is the intent to enable/disable a motion switch's ability to detect motion and not turn lights on during the day? Could be the device that is not working as you expect then.
-
Would be nice to have a background image too. And ability to enable/disable dark mode in the program instead of using the system setting eg iOS
-
Program not setting Int variable after Wait (Eisy)
brians replied to AllDigital's topic in IoX Support
The programs are event driven and non-reentrant. There can be no multiple instances of same program. I wouldn't really call them full programs or compare them to a programming language really. Every time the program is executed, for whatever reason, it halts the current running instance no matter what state it is, or what it is doing, and re-runs again - re-evaluates the if and executes either then or else again. In this case, because the motion sensor is being triggered often before the 10 minute wait, it keeps re-running, and because the variable has been set to 0 within the program, the And statement makes the result False, therefore the program will ALWAYS run whatever is in the then section (in this case nothing). Not sure why it ran on the ISY before but it does not seem correct in how programs are supposed to be run so maybe was a bug. Here are two programs that should do what you want but will only reset if there is no more motion for 10 minutes... if someone or something is continuously setting off the motion sensor you will not get another notification until 10 minutes after they are finished. ----------------------------------------------------------------------------------- Motion Notify - [ID 00CF][Parent 00D5] If 'Garage / Garage Motion-Sensor' is switched On Then Send Notification to 'Brian Telus' content 'Test' Disable Program 'Motion Notify' Else - No Actions - (To add one, press 'Action') ----------------------------------------------------------------------------------- Motion Wait - [ID 00D6][Parent 00D5] If 'Garage / Garage Motion-Sensor' is switched On Then Wait 10 minutes Enable Program 'Motion Notify' Else - No Actions - (To add one, press 'Action') To solve issue if power outage, make a program that runs at startup, which enables Motion Wait program above. -
How do you get the temperature in room then to fill the variables ? You are keeing those rooms fairly cold unless I am misunderstanding the purpose of the programs.
-
Two ways to do this.. 1. Basic Association - Can only turn on/off Z-Wave devices, Insteon devices only would have one scene on command per button so would need two buttons. - Basic set on/off is sent by an internal state of each button on Zen32 which toggles between on/off. If the light gets toggled directly using AC for example, then the Zen32 does not know this and the state and will show LED incorrectly and will have to press twice to get desired result. 2. Programs - Requires controller to handle the communication. Not a huge deal since IoX is usually on always. - I do not notice a significant reduction in performance vs. basic association. ZMatter is much more stable and quicker with Zen32 than with the old Zooz dongle. After experimenting for a bit, here is what I consider my best version so far to control lights using one button on the Zen32... If anyone else has any ideas I would be interested. All that is needed is 2 programs and a variable. Also includes a program to set the initial parameters on Zen32. Programs can be modified/added to for more devices, doing things with different button presses eg. double tap, triple tap etc. =================================================================================== Zen32 MultiLight - [ID 00D4][Parent 007E] Folder Conditions for 'Zen32 MultiLight' If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Allow the programs in this folder to run. Example programs which turn on/off a group of lights using Zen32 Button 1. Zen71 On-Off Power Switch - ZWave On/Off Switch. Stairs - Insteon Switchlinc Relay - Keeps LEDs in sync using IoX! - Manual lights turned on/off will keep Zen32 Button 1 synced correctly! Operation: If any or all lights in group are on, Zen32 button 1 is on. Pressing button on Zen32 will turn them all off. If all lights in group are off,Zen32 button 1 is off. Pressing button 1 on Zen32 will turn then all on. Just need to duplicate these two programs and variable for remaining buttons. ----------------------------------------------------------------------------------- Button1 LED Sync Status - [ID 00CB][Parent 00D4] If 'Test / Zen71 On-Off Power Switch' Status is On Or 'Downstairs / Stairs' Status is On Then Set 'Test / Zen32 Switch' Set Configuration Parameter 7 = 1 $Zen32_B1_Lights_Status = 1 Else Set 'Test / Zen32 Switch' Set Configuration Parameter 7 = 0 $Zen32_B1_Lights_Status = 0 Set Zen32 Button 1 to reflect status of Zen71 and Stairs. LED White=Off, Blue=On Sets variable to keep status of lights group. Status: 1 = any or all light(s) on 0 = all lights off ----------------------------------------------------------------------------------- Button1 Toggle Light Group - [ID 00D2][Parent 00D4] If 'Test / ZY Zen32 Scene Button 1' is switched On And $Zen32_B1_Lights_Status is 0 Then Set 'Test / Zen71 On-Off Power Switch' On Set 'Downstairs / Stairs' On Else Set 'Test / Zen71 On-Off Power Switch' Off Set 'Downstairs / Stairs' Off Performs the actual toggle. If all lights are off then turn them all on. If some of the lights, or all lights are on them turn them all off. ----------------------------------------------------------------------------------- Zen32 Set Param - [ID 00D3][Parent 00D4][Not Enabled] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Set 'Test / Zen32 Switch' Set Configuration Parameter 23 = 1 Set 'Test / Zen32 Switch' Set Configuration Parameter 2 = 3 Set 'Test / Zen32 Switch' Set Configuration Parameter 3 = 3 Set 'Test / Zen32 Switch' Set Configuration Parameter 4 = 3 Set 'Test / Zen32 Switch' Set Configuration Parameter 5 = 3 Else - No Actions - (To add one, press 'Action') Sets Zen32 parameters. Only needs to be run once - use program for ease of experimentation. Parameter 2-5 Values: 0 – LED on when button off, LED off when button on (default) 1 – LED on when button on, LED off when button off 2 – LED always off; 3 – LED always on Parameter 23: Values: 0 – LED indicators flash to confirm a setting change (default) 1 – LED indicators don't flash if a setting is changed.
-
After getting my Zen32, I conclude that it keeps its own internal state of each small button whether it is on or off... Depending on the toggle state, in a properly set scene, it sends a basic set command either on or off depending on its internal state. For example, If you turn on a light with button 1, Zen32 thinks it is On, therefore if you then turn off the actual light remotely using AC, the Zen32 still thinks it is On, so to turn it back On again from Zen32 you need to press the button twice.. once to Make Zen32 turn if off again (even though it really is off) and then a second time to turn It on again for real. There is no parameter that can reset/fix the button state (would be nice if it did). I suggest we all make a request to Zooz for a parameter that does this for each button. I found that making a couple programs and one variable for each button is currently best way for Zen32 on IoX. I'll start a new thread on this maybe since it has nothing to do with basic set.
-
Yes Mobilinc was sorta magical back in the day when I first wrestled with the buttons not being in sync when I turned a light on/off... yet Mobilinc seemed to operate like one would think... I think I asked this question and the dev told me that it was handled internally by Mobilinc. I personally don't use scenes that much for day to day control and 99.9% am controlling the light itself.
-
You wouldn't be checking the status of the scene, but rather the individual lights which happen to be in that scene.. this all seems a bit redundant I know but is only way to do I believe. I think my Zen32 is out for delivery
-
Is there a way to do mass-enable/disable of programs?
brians replied to waffles's topic in IoX Support
Yes just go into summary view and select them, and right click and disable or enable. -
How to get number of lights on in house, or in folder?
brians replied to brians's topic in IoX Support
Oh sorry, all I want to do is display number of lights on in UD Mobile from a variable like a dashboard. Nothing really critical for now it’s just cosmetic. I noticed that HA seems to be able to do this. I have programs that do this for five lights so far. I was thinking of adding up each room/folder's lights on so I have those individual values, and then taking sum of each of those. =================================================================================== Count Lights - [ID 00C3][Parent 0072] Folder Conditions for 'Count Lights' If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then Allow the programs in this folder to run. ----------------------------------------------------------------------------------- Count 000 - [ID 00C4][Parent 00C3] If - No Conditions - (To add one, press 'Schedule' or 'Condition') Then $Num_Lights_On = 0 Run Program 'Count 001' (If) Else Run Program 'Count 001' (If) ----------------------------------------------------------------------------------- Count 001 - [ID 00C2][Parent 00C3][Not Enabled] If 'Backyard / Deck' Status is not Off Then $Num_Lights_On += 1 Run Program 'Count 002' (If) Else Run Program 'Count 002' (If) ----------------------------------------------------------------------------------- Count 002 - [ID 00C5][Parent 00C3][Not Enabled] If 'Backyard / Outside Back Door' Status is not Off Then $Num_Lights_On += 1 Run Program 'Count 003' (If) Else Run Program 'Count 003' (If) ----------------------------------------------------------------------------------- Count 003 - [ID 00C6][Parent 00C3][Not Enabled] If 'Dining Room / Dining Room Ceiling' Status is not Off Then $Num_Lights_On += 1 Run Program 'Count 004' (If) Else Run Program 'Count 004' (If) ----------------------------------------------------------------------------------- Count 004 - [ID 00C7][Parent 00C3][Not Enabled] If 'Dining Room / Dining Room Lamp' Status is not Off Then $Num_Lights_On += 1 Run Program 'Count 005' (If) Else Run Program 'Count 005' (If) ----------------------------------------------------------------------------------- Count 005 - [ID 00C8][Parent 00C3][Not Enabled] If 'Downstairs / Stairs' Status is not Off Then $Num_Lights_On += 1 Else - No Actions - (To add one, press 'Action') -
Actually that is sorta good news considering the zen32 limitations. Could just write four programs that toggle the led, and make sure you set that parameter so doesn’t flash leds when doing parameter updates. Would be a slight delay but leds would stay in sync. I do this with Insteon keypadlincs also to sync their state and works fine.
-
Is there an easy way to do this other than making a program for each light the increments a variable and runs the next program etc. etc. ? So far I have done 5 lights as a test and works but wondering if there is a better/easier way I am missing.
-
I just ordered a Zen32 and a Zen51 so I can test. I have a different eventual use for Zen51 which is to monitor an AC pump.
-
Can you confirm that the first three devices you got to complete interview are now working and functional. I own the GE Jacsco 26931 switch also and confirm motion nodes are not updating.
-
OK, and if scenes don't work out it is easy to do with program instead, or scenes do still turn on/off and LEDs are out of sync could just make a program to sync them (see end of this). I don't have a Zen32, but here is an example concept I just quickly did that does this with with two programs... whenever a motion sensor is triggered in my hallway it toggles the family room light on/off. Just make sure the program that does the toggle is disabled otherwise it will run/loop continuously because it self-triggers. You could apply this idea easily to a button press on Zen32 instead of my motion sensor example, and can do other specific things and run more programs if controlling more lights. You could also set parameters to keep LEDs in sync, but if more than one light controlled would recommend making LED sync a separate program for each button which if ORs the state of all the lights and sets LED on/off as needed eg. pseudo code: if light1 is on OR light2 is on or light3 is on then turn on LED, else turn off LED. ----------------------------------------------------------------------------------- Check Switch - [ID 00C0][Parent 0072] If 'Alarm Panel / Zone 03 - Hall Motion' Zone State is Open Then Run Program 'Toggle Light' (If) Else - No Actions - (To add one, press 'Action') ----------------------------------------------------------------------------------- Toggle Light - [ID 00C1][Parent 0072][Not Enabled] If 'Family Room / Family Room Ceiling' Status is Off Then Set 'Family Room / Family Room Ceiling' On Else Set 'Family Room / Family Room Ceiling' Off The benefit of basic set is the switch will still be controlled if the IoX controller is offline which could be important, I think some codes require a dedicated light control for each room (but sorta grey area for DIYers ) If just accessory lights no big deal... also IoX is pretty stable and my Polisy is very stable and never goes offline. But I don't think I would want the main light in a room reliant on a controller however.