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

Hallo liebe Community,

ich bin ganz neu in der Programmierungs- und Tinkerforge-Welt. Ich würde gerne einen Motion-Detector konfigurieren.

Allerdings bekomme ich in mqtt nur einen leeren Callback wenn die Bewegung erfasst wurde.--> motion_detected = {}

Wie kriege ich es hin, dass hier die Registrierte Bewegung angezeigt wird?

Sorry, falls die Frage etwas "blöd" ist. Aber jeder Anfang ist schwer :)

 

Viele Grüße und Danke schon einmal für eure Antworten!

Geschrieben

Wenn du soweit bist, dass du auf Bewegung hin den motion_detected Callback bekommst, dann machst du alles richtig. Der motion_detected Callback hat keine Parameter.

Das Bricklet kann dir nur sagen ob gerade Bewegung erkannt wurde oder nicht. Falls gerade Bewegung erkannt wurde schickt es den motion_detected Callback raus.

Mir ist unklar was du mit "Registrierte Bewegung anzeigen" meinst. Denkst du da an die Richtung oder die Stärke der Bewegung? Diese Informationen kann der Sensor auf dem Bricklet nicht erfassen. Der Sensor gibt nur aus "Bewegung: ja/nein".

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.