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.

OpenHab2 syntax (things, channels, bridge ect.) & Tinkerforge

Featured Replies

Geschrieben

Hallo,

 

ich hab mal eine Frage bezüglich der "neuen" OpenHab2-syntax. Kann ich die irgendwie mit den alten 1.X Bindings nutzen?

An sich klingt es ja so, als müsste es (wenn man alles manuell anlegt) auch mit den alten Bindings funktionieren.

 

Sowas wie:

 

Bridge tinkerforge:bricklet_dual_relay:master "Master" [ hosts="192.168.1.123", uid="abc" ]

{

Thing relay1 relayone [ uid="def", type="dual_relay", subid="relay1" ]

}

----

Switch relay1 "Relay1" { channel="tinkerforge:bricklet_dual_relay:relayone:Switch" }

 

oder so ähnlich. ;)

Aber da bin ich derzeit nur am raten, wie die Syntax aussehen könnte.

 

Hat es vielleicht schon mal jemand von euch hinbekommen (inklusive funktionierendes Beispiel)? Oder arbeitet schon jemand daran ein "echtes" 2.0-tinkerforge-addon zu entwickeln (inklusive Thing-Autodiscovery usw.)

 

Mit der alten 1.X Syntax läuft es bei mir zwar schon, aber die ist von der SW-architektur nicht mehr wirklich schön und es werden immer mehr OpenHab-Komponenten entwickelt, die nur wirklich gut mit der neuen Syntax funktionieren.

  • 3 weeks later...
Geschrieben
  • Autor

@theo

 

danke, aber ich hab mich da jetzt etwas umgeschaut, hab aber nur alte Beispiele (ohne channels, things ect.) gefunden.

 

Und ich hatte ja geschrieben, dass ich das mit der alten Syntax auch hinbekommen hab.

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.