Jump to content

PaulG

Members
  • Posts

    5
  • Joined

  • Last visited

PaulG's Achievements

Newbie

Newbie (1/6)

0

Reputation

  1. Thanks oberkc, that is exactly what I needed. Works like a charm!
  2. I have a scene created with one of my keypad buttons as a responder (call it SceneA). Within my program, I am using the "adjust scene" option in the "then" section of the program. In the list of available scenes, SceneA is not listed. What am I missing? I am trying to control the state of the keypad button. Thanks, Paul
  3. Thanks oberkc, your solution works great! I am using a program called "BTProx" on my PC and am triggering two VBScript files for when my phone is detect and goes away. Here is the VB script that sets the variable on detect: Option Explicit Dim restReq, url, userName, password Set restReq = CreateObject("Microsoft.XMLHTTP") ' REST command to set state (2) variable ID 1 to value 1 url = "http://isy/rest/vars/set/2/1/1" ' If auth is required, replace the userName and password values ' with the ones you use on your ISY userName = "admin" password = "admin" restReq.open "GET", url, false, userName, password restReq.send ' WScript.echo restReq.responseText I then used your examples and it works beautifully! Thanks, Paul
  4. I am trying to turn on some lights when my phone's bluetooth mac is detected from a PC. I have the PC detecting the phone and setting a variable in the ISY via REST. The problem I having is that the bluetooth detection can drop out and come back in a few seconds. I need to de-bounce the running of the program only after the last detection was an hour ago. Hence my phone has to be out of range for an hour before it can trigger the ISY program to turn on the lights. Also I'd like the program to only trigger when it's between sunset and sunrise. Anyone able to help me out with the logic? Thanks, Paul
×
×
  • Create New...