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 Zusammen,

ich versuche verzweifelt meine älteren Produkte (Distance US Bricklet Firmware 2.0.3 und Industrial Quad Relay Bricklet FW 2.0.0 an einem Master Brick 2.1 mit FW 2.3.4 und PoE) mittels MQTT einzubinden. Dies ist bisher nicht von Erfolg gekrönt. Wenn ich Debug einstelle bekomme ich, wenn ich "get_identify" abfrage, folgendes Ergebnis

 

2020-10-18 20:03:42,503 <DEBUG> MQTT bindings: Calling function get_identity for device 123 of type distance_us_bricklet.
2020-10-18 20:03:45,004 <ERROR> MQTT bindings: Did not receive response for function 255 in time (call of get_identity of distance_us_bricklet 123)
2020-10-18 20:03:45,005 <DEBUG> MQTT bindings: Calling function get_identity for device 123 of type distance_us_bricklet succedded.
Traceback (most recent call last):
  File "/usr/local/bin/tinkerforge_mqtt", line 7381, in on_message
    response = self.dispatch_call(request_type, device, uid, function, payload, response_path)
  File "/usr/local/bin/tinkerforge_mqtt", line 7736, in dispatch_call
    return self.device_call(device, device_class_name, uid, fnName, fnInfo, json_args)
  File "/usr/local/bin/tinkerforge_mqtt", line 7847, in device_call
    d["_display_name"] = device_names[dev_id]
KeyError: '"'

Könnt ihr mir einen Tipp geben, wo ich Suchen muss, um dem Fehler auf die Spur zu kommen? 

Geschrieben

Moin,

Bei dir passieren zwei Dinge:

1. Können die Bindings nicht das Distance US Bricklet mit der UID 123 finden. Hast du da eventuell einfach die falsche UID? Sieh am besten mal mit dem Brick Viewer nach.
2. Wird genau dieser Fehler falsch behandelt, deshalb die komische Ausgabe. Eigentlich sollte da der übliche Timeout ausgegeben werden.

Das erste Problem musst du auf deiner Seite fixen, das zweite sollte mit der Version im Anhang repariert sein.

Gruß,
Erik

tinkerforge_mqtt_bindings_2_0_11_bf38edd1.zip

Geschrieben
  • Autor

Perfekt, herzlichen Dank!

Die UID war korrekt, allerdings hatte ich versäumt ipcon-host zu setzen. Zusammen mit der neuen Version klappt es nun!

Vielen Gruß

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.