Jump to content
View in the app

A better way to browse. Learn more.

Tinkerunity

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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.

Geschrieben
  • Autor

Hi Equinox,

 

thanks for your reply.

 

Will watch any developments regarding remote switches which are able to sent their switch state.

 

Regards,

Rob

Geschrieben

Hi Rob,

 

you may use switches using e.g. "Z-Wave" technology. Works fine with a Raspberry Pi and the "Razberry"-extension.

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.