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

Ich versuche gerade den Proxy zu starten. Die installation funktionierte.

aber das programm:  brick-mqtt-proxy.py

liess sich nicht starten.

kennt jemand das

Geschrieben
  • Autor

ganz einfach. er findet das programm nicht. Ich weiß auch nicht , im welchen Verzeichnis.

 

Geschrieben

Ah! Du musst das Programm noch herunterladen. Das steh in der Anleitung (noch) nicht explizit drin:

 

wget https://raw.githubusercontent.com/Tinkerforge/brick-mqtt-proxy/master/brick-mqtt-proxy.py

 

Ich füge das gleich in die Anleitung mit ein.

  • 4 weeks later...
Geschrieben
  • Autor

okay, verstehe. Aber nun bekomme ich nach dem Kommando: "python brick-mqtt-proxy.py" erneut eine Fehlermeldung:

Traceback (most recent call last):

  File "brick-mqtt-proxy.py", line 38, in <module>

    import paho.mqtt.client as mqtt # pip install paho-mqtt

ImportError: No module named paho.mqtt.client

 

Langsam glaube ich, Tinkerforge will keine grafische Oberfläche, die funktioniert. Es ist frustrierend.

 

 

Geschrieben

Auch danach bleibt der "ImportError: No module named paho.mqtt.client" Fehler?

 

Bist du sicher das "sudo pip install tinkerforge paho-mqtt" geklappt hat?

 

Was passiert wenn du Python so startest und dann am interaktiven Modus

 

import paho.mqtt.client

 

eingibst?

Geschrieben
  • Autor

dann bekomme ich das:

$ sudo pip install tinkerforge paho-mqtt

 

Requirement already satisfied (use --upgrade to upgrade): tinkerforge in /usr/local/lib/python3.4/dist-packages

Requirement already satisfied (use --upgrade to upgrade): paho-mqtt in /usr/local/lib/python3.4/dist-packages

 

$ python

Python 2.7.9 (default, Mar  8 2015, 00:52:26)

[GCC 4.9.2] on linux2

Type "help", "copyright", "credits" or "license" for more information.

>>> import paho.mqtt.client

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

ImportError: No module named paho.mqtt.client

>>>

Geschrieben

Okay, dein Python scheint etwas durch einander.

 

pip installiert für Python 3. Dein Standard Python ist aber Python 2. das erklärt das Problem.

 

Teste mal ob du auch pip2 hast, un für Python 2 zu installieren:

 

sudo pip2 install tinkerforge paho-mqtt

 

 

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.