Jump to content

v3.1.14 in beta ; nodes for cmd & scene controllers


sjenkins

Recommended Posts

Posted

As I mentioned to @Diesel not sure why this has not been added before now other than because we all got used to using them as responders.  I tested out the switches as control in programs & scenes. Try out the generic, dimmers, garage.

I will leave this in beta for a bit to make sure there are not any unintended consequences.  I know many of you have this plugin integral to your home automation, please throw me some feedback.

3.1.14 \
DONE commands for switches, generic, dimmer, garage

3.1.13 \
DONE prevent direct poll from re-running \
DONE add notice if comms check fails \
DONE clean-up & debug

3.1.12 \
DONE rewrite sse events collection

  • Thanks 1
Posted (edited)

Thanks so much! 

Loaded beta 3.1.14 into another slot.

Created a virtual switch and was able to add it as a scene controller - Awesome!

{"id": "10", "type": "switch", "name": "My vs Name"}

Device type in AC shows as Virtual Switch

 

Created a virtual dimmer but it only allows the option to add it as a scene responder.

{"id": "30", "type": "dimmer", "name": "My vd Name"}

Device type in AC shows as Virtual Generic   

The scene I tried adding it to is a 3-way circuit with 2 dimmers. 

Edited by Diesel
  • Like 1
Posted

Try it out, I added the commands for tapping up and down on the bright but not for the new value.  Also it currently doesn't have DON or DOFF which are the normal on/off commands.  Could be added though.

Posted
5 hours ago, Diesel said:

Virtual Dimmer only allows adding as a scene responder. Controller/Responder is greyed out. 

image.png.596edae5b598dbc4ce685b50ab430b97.png

sorry I should have been clearer as I knew it would NOT work as a scene controller only in a program as controller (versus status)

Scenes prefer DON and DOF.

I can add them but there is a design choice here: Insteon uses DON/DOF as 100% / 0% not brighten / dimming.  Currently the dimmer / generic device does not have those commands.

option 1:  add DON/DOF commands as 100% / 0%, this is most consistent with UD scenes which are aligned with insteon scenes.

option2: use the current brighten / dim which move the percent by 3% I believe.  I would just send the DON / DOF command along with the current command.  This might be more useful considering the device but confusing for scene consistency.

thoughts?

 

Posted (edited)

IMHO option 2 makes the most sense for a virtual dimmer, otherwise with option 1 it behaves like a switch. 

A virtual dimmer should function in the same way as a physical dimmer or a keypad button added as a scene controller. Holding a Dimmer or Keypad button down brightens or dims a scene. Pressing a keypad button turns a scene ON or OFF. 

One of the most useful applications for a virtual dimmer as a scene controller is for multi-way circuits.

Consider a common 3-way lighting circuit where 2 physical dimmer switches are added to a "3way" scene, both as controllers. BUT in IoX if you control any of the 2 dimmers directly, the other isn't in sync and neither is the scene. The virtual dimmer solves this dysfunctional behaviour where everything remains in sync as it should be.  

 

 

Edited by Diesel

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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
      38k
    • Total Posts
      379.6k
×
×
  • Create New...