You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error message:
Traceback (most recent call last):
File "pylon_to_mqtt.py", line 1, in
from paho.mqtt import client as mqttclient, error_string
ImportError: cannot import name 'error_string' from 'paho.mqtt' (/home/pi/.local/lib/python3.7/site-packages/paho/mqtt/init.py)
The text was updated successfully, but these errors were encountered:
When I start the script I get the following errors:
Command
python3 pylon_to_mqtt.py --pylon_port /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_B0001B3W-if00-port0 --baud_rate 9600 --mqtt_host [MY_IP] --mqtt_port [;MY_PORT] --mqtt_root SmartHome/Jakiper
Error message:
Traceback (most recent call last):
File "pylon_to_mqtt.py", line 1, in
from paho.mqtt import client as mqttclient, error_string
ImportError: cannot import name 'error_string' from 'paho.mqtt' (/home/pi/.local/lib/python3.7/site-packages/paho/mqtt/init.py)
The text was updated successfully, but these errors were encountered: