Announcement

Collapse
No announcement yet.

Zone Bypass script method?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Zone Bypass script method?

    Blade, didn't see it in the Help, but is there a script method to bypass a single zone? Also, would it be possible to add a 'Toggle Bypass' control on each one, similar to the HST DSC plugin?

    #2
    You can always use the virtual keypress in events or scripts to bypass zones.
    HS Pro 3.0 | Linux Ubuntu 16.04 x64 virtualized under Proxmox (KVM)
    Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
    Plugins: HSTouch iOS and Android, RFXCOM, BlueIris, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), Device History, Ecobee, BLRing, Kodi, UltraWeatherWU3
    Second home: Zee S2 with Z-Wave, CT101 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.

    Comment


      #3
      Do you have an example of the command? When I run the following, I get an error.

      Dec-19 9:59:00 AM Error Running script(2) &hs.PluginFunction("BLDSC", "", "VirtualKeypress", New Object(){"*1"}), init error: Expected end of statement
      Dec-19 9:59:00 AM Event Running script statement immediately: &hs.PluginFunction("BLDSC", "", "VirtualKeypress", New Object(){"*1"})

      Comment


        #4
        Try this:

        Code:
        &nhs.PluginFunction("BLDSC", "", "VirtualKeypress", New Object(){"*1"})
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


          #5
          Originally posted by Blade View Post
          Try this:

          Code:
          &nhs.PluginFunction("BLDSC", "", "VirtualKeypress", New Object(){"*1"})
          That worked! Thanks Blade. The only difference is the '&n' from the Help file.

          Comment

          Working...
          X