-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mosquitto_sub as command throwing error "Received message of type that we did not expect..." #422
Comments
I added a smidgen of debugging with the following patch:
Didn't help a lot, though--here's what I get from the debug log after the patch:
What I don't know is what a message of type 2 is and how do I convert the output of mosquitto_sub to a message of type 1? I did try piping the output of mosquitto_sub through strings but that made no change. Jeff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using this command to start websocketd to collect weewx weather information from mosquitto:
I get the following:
But when I add ktrace to the mix to see what's really going on I see that, indeed, the MQTT subscription is working and delivering results:
What might be wrong with the mosquitto text as received so I can get this to work?
Thanks!
Jeff Ross
The text was updated successfully, but these errors were encountered: