rwblinn Posted June 1, 2014 at 12:40 PM Share Posted June 1, 2014 at 12:40 PM 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 Quote Link to comment Share on other sites More sharing options...
Equinox Posted June 1, 2014 at 05:57 PM Share Posted June 1, 2014 at 05:57 PM 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. Quote Link to comment Share on other sites More sharing options...
rwblinn Posted June 1, 2014 at 06:52 PM Author Share Posted June 1, 2014 at 06:52 PM Hi Equinox, thanks for your reply. Will watch any developments regarding remote switches which are able to sent their switch state. Regards, Rob Quote Link to comment Share on other sites More sharing options...
Equinox Posted June 1, 2014 at 08:58 PM Share Posted June 1, 2014 at 08:58 PM Hi Rob, you may use switches using e.g. "Z-Wave" technology. Works fine with a Raspberry Pi and the "Razberry"-extension. Quote Link to comment Share on other sites More sharing options...
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.