I am getting stuck in a endless disconnect reconnect loop using Cayenne-MQTT-Python. The disconnect code is 1 which is ‘unacceptable protocol version.’ I am using the latest version having cloned the repository only a few days ago. I had it connected and working only yesterday.
Using Raspberry Pi 3 with Python MQTT library.
Using web interface (I don’t know why this would matter.)
My code is here
I have made a small modification to the library in order for it to connect at all. Before this it gave a not enough arguments error and refused to connect at all.