Weird error with umqtt script and homeassistant #13465
-
Hi! I've been trying to integrate my garage door into homeassistant with a raspberry pi pico w and MQTT (mosquitto server). I'm currently just trying to get the MQTT autodiscovery part to work fully, and I had this fully working section:
I then updated the device_payload section with the "device" key to add more information in homeasisstant:
Now, when I tried to run everything, I got an I can't really see how this addition could cause this error? To add more confusion, I can get the code with the new Any help from people with experience with MQTT would be really appreciated, thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I can't explain why the error is occurring, but the fact that it appears in In my experience mosquitto is rock-solid reliable. However the official MQTT clients have limitations. You might like to look at mqtt_as - the doc explains some of the problems with the official modules. |
Beta Was this translation helpful? Give feedback.
Thanks for your help! It seemed like the error was to do with the end of the packet being cut off for some reason, but I managed to solve it in the end by just randomly moving things round until it started working again :| definitely not the best way to fix stuff but it works now so I'm happy :)