Jump to content

Recommended Posts

Geschrieben

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

 

Geschrieben

Hi Rob,

 

there's no such function as it is not possible to determine the state of the remote switch  :(

These "standard" remote switches are just able to receive signals, but they cannot send any signal.

You can send the desired initial state the plug and then just hope that the plug received it.

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...