I downloaded The Script from https://tech.scargill.net/the script.I installed it on a raspberry pi 2 and raspberry pi 3+ on a clean pi image. When I run the program MQTT in the python cource I get the following error:
ESp 1
download ok
exe(open(‘main.py’).read(),globals(0)
Traceback (most recent call last):”
File “”, lineect_and_subscribe
File “umqttsimple.py”, line 102 in connect
MQTTException: 5
ESp 2
download ok
exe(open(‘main.py’).read(),globals(0)
Traceback (most recent call last):”
File “”, ect_and_subscribe
File “umqttsimple.py”, line 102 in connect
MQTTException: 5
I hope you can exlain what the problem is because with this sript installed i have many more node’s and especial big timer and my web pages 1880 and 1880/ui can only be opened with username and password. Up to now it looks like the web pages work good.
jan
I solved the problem bij changing line 10 and 9 in the main files with the folowing
client = MQTTClient(client_id, mqtt_server, user=b'your_user', password=b'your_pass')