Jump to content

How to detect if a Remote Switch is set to ON or OFF


rwblinn

Recommended Posts

Hi All,

 

have build an app (based on the JavaScript API) using the remote switch bricklet to switch devices ON/OFF.

When starting the App, would like to determine the state of a remote switch to be able to set the initial state of the switches in the app.

 

Question: Is there a (JavaScript) function available? like getRemoteSwitchState resulting in on or off?

 

Appreciated,

Rob

 

Link zu diesem Kommentar
Share on other sites

Join the conversation

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

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...