Announcement

Collapse
No announcement yet.

Can link editing be scripted?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can link editing be scripted?

    I have a 3-way switch that I set the master to a default on level of 10% at night. The slave switch has a link to the master at 100% at .1 seconds. How can I programmatically set that at night, too? Can I edit the existing link to be 10% at .5 seconds? Do I need to delete the link and create a new one every night and every morning? If it can be done with a script (as opposed to an Insteon special action), what are the methods that can be called to do so? In the post for documentation, the scripting examples only cover what can be done through special actions already.

    Thanks,

    Scott

    #2
    changing links via script or actions isn't supported (and probably won't be). Not sure it would ever be a reliable transaction.

    however you might be able to change the default on-level via script using "setdevicesetting".

    setting: "Default On Level", value, "10"
    Mark

    HS3 Pro 4.2.19.5
    Hardware: Insteon Serial PLM | AD2USB for Vista Alarm | HAI Omnistat2 | 1-Wire HA7E | RFXrec433 | Dahua Cameras | LiftMaster Internet Gateway | Tuya Smart Plugs
    Plugins: Insteon (mine) | Vista Alarm (mine) | Omnistat 3 | Ultra1Wire3 | RFXCOM | HS MyQ | BLRadar | BLDenon | Tuya | Jon00 Charting | Jon00 Links
    Platform: Windows Server 2022 Standard, i5-12600K/3.7GHz/10 core, 16GB RAM, 500GB SSD

    Comment

    Working...
    X