rwblinn Geschrieben June 1, 2014 at 12:40 Geschrieben June 1, 2014 at 12:40 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 Zitieren
Equinox Geschrieben June 1, 2014 at 17:57 Geschrieben June 1, 2014 at 17:57 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. Zitieren
rwblinn Geschrieben June 1, 2014 at 18:52 Autor Geschrieben June 1, 2014 at 18:52 Hi Equinox, thanks for your reply. Will watch any developments regarding remote switches which are able to sent their switch state. Regards, Rob Zitieren
Equinox Geschrieben June 1, 2014 at 20:58 Geschrieben June 1, 2014 at 20:58 Hi Rob, you may use switches using e.g. "Z-Wave" technology. Works fine with a Raspberry Pi and the "Razberry"-extension. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.