Jump to content

Help with scene controller states.


Dethpickle

Recommended Posts

Posted

Hi.  I'm a recent v4.x convert from the 944 and having an issue with device states in a scene under eisy v5.

I'm trying to use two of the buttons on a KPL8 in one scene.  If G is on, the scene is "off" and if H is on, the scene is "on".  I have no idea how to set this up with the mobile app or the normal java app.  Worse, I don't even know how to adequately search the documentation or forums for this.

This seems similar to a three-way switch, save that one of the switches is inverted.  Can I do this with purely scene settings or do I have to make a program for it?  I'm sure I could handle the program, just that I think I should be able to do it with the scene.

I've tried (java app) turning the scene on and then setting the desired state of each switch.  Then turning the scene off and setting it again.  I've also messed with selecting the individual switches from the left disclosure triangle of the scene and setting the opposite switch Off.  But, that never responds to the scene being switched on or off.  Probably because the only thing to set is the "On level".

Am I missing something or should I just go make a program?  I'd appreciate an answer, but I probably appreciate more being directed to the documentation I'm missing.

Thanks all.

Dave

Posted

Try doing a search for the ISY Cookbook. It was written for the ISY,  but most of the programing examples will work fine with eisy.

Also, make sure you are running the latest firmware, v5.6.0.

Posted
12 hours ago, Dethpickle said:

Can I do this with purely scene settings or do I have to make a program for it?

Yes.

Scene's in a V5 are a tad more complicated to set up tho.  Here's a few tips to help: 

First, Find this button image.png.a46e7cd678ac1d17cb1683ceebe794ca.png on the admin console ribbon.  Turning it off allows you to make multiple changes to scenes without the ISY communicating with the devices.  Make all your changes with the button off and it will queue up the scene changes and send them to the devices all at once when you turn the button back on.

Second, in V5 there's no copy button anymore.  This means that the scene must be configured for EACH Controller in the scene.  Consider this Scene:

image.png.fa585e938f01e92b4b869197d4742038.png

It has 3 controllers, The root of the scene, in this case "Christmas-All", is always a controller.  The Red nodes are also Controllers.  So when we configure this scene we need to do it 3 times: Christmas-All, Holiday Lights, and {hide}Lower Deck - G-H Holida.   Those 3 configurations could all be the same, or they might be different.  For Example in this case the 3rd controller (Lower Deck) only turns on one module of the scene, that's only used differently in the summer.  Another example might be say the Kitchen with 2 switches (both controllers) that turn the lights on to differnt levels... enter from the garage using that switch and one thing happens, enter from the living room and use that switch then another thing happens.

And finally directly relating to your scene, you'll need to add Buttons G and H both to the scene and Both as controllers.  The admin console asks a weird question when you try to add the second, it will say "button X is already a controller would you like to make this a responder?" (or similar wording), the answer is no, because you do want Both buttons to be controllers.   When configuring G, make sure to turn H off, and when configuring H make sure to turn G off... For this sentence that is only talking about the button, not the scene.

Posted

Thanks, guys. It's still not quite working out the way I envisioned.  Using your instructions, MrBill, I have the scene set up with the multiple controllers - each with it's own settings.  G shuts off H, H shuts off G - that works, but both of those result in the scene being On.  I was aiming for one of them (G on) would be when the scene was Off.

I'm thinking we're all doing it correctly, but it's just not designed to do what I have in my head.  No biggie, I'll just write a program for it.

Thank you for your help!

Posted

Scenes have no status, so it cannot be ON or OFF, it can be controlled to ON or OFF.  UD Mobile has an Estimated status which can be configured the way you want, by disabling calculation for the button with is On when you want the scene to show an Estimated status of "OFF"...you may need to trigger the scene at least once before the app is updated.

  • Like 1
Posted
16 hours ago, Dethpickle said:

Thanks, guys. It's still not quite working out the way I envisioned.  Using your instructions, MrBill, I have the scene set up with the multiple controllers - each with it's own settings.  G shuts off H, H shuts off G - that works, but both of those result in the scene being On.  I was aiming for one of them (G on) would be when the scene was Off.

I'm thinking we're all doing it correctly, but it's just not designed to do what I have in my head.  No biggie, I'll just write a program for it.

Thank you for your help!

You need to set the off scene up to turn off the devices... just like you did the other button. 

BUT there's a better way!

Instead, create one scene, with one values programed the way you would like them to be.  Then change Button H to "Non-toggle ON" and Change Button G to "Non-toggle Off"    When Button H is pressed it will send the scene an ON command, when button G is pressed it will send the scene an OFF command.   The only real change to the functionality as you've described is that Button G doesn't stay lit when the scene is OFF, Button G will light breifly as it's pressed but then go back off.  Button H can be configured to turn on/off with the scene.  

Use the button image.png.8862674add48a17b831a8349ef348b76.png to change G and H to non-toggle mode.

 

Guest
This topic is now closed to further replies.

  • Recently Browsing

    • No registered users viewing this page.
  • Who's Online (See full list)

    • There are no registered users currently online
  • Forum Statistics

    • Total Topics
      37.2k
    • Total Posts
      372.4k
×
×
  • Create New...