-
Notifications
You must be signed in to change notification settings - Fork 35
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
Documention for psmqtt.conf #6
Comments
I've run across a similar error (I think). I'm getting the following error trace
Before I started digging around in the code I wanted to see if I've done something obviously wrong. The mqtt_broker has been tried with and without single quote; with and without using the hostname vs. IP address. The mqtt user and password work on another system - so those appear to be correct - I've used single quote for both of those as well. Any education would be appreciated. Thanks - |
Well, like so many things in my programming endeavors, it turns out I can't type... TL; DR - I mistyped the MQTT broker address in the config file (multiple times - it wasn't a static address - my bad). As a very quick test of the base imports you can run the following MVP solution:
So, to answer @vzorglub question, the information within the config file should be within quotes. As you can see from the example above, the minimal working code simply requires an instance of the As a general observation, I'm not a professional programer but could follow @eschava coding very easily - I actually made some of my own modifications to how the MQTT reporting works for a more customized application with ease. |
Hello,
Documentation for psmqtt.conf is a little parse.
For example how to input another address that 'localhost' for the broker
Will it be:
mqtt_broker = 192.168.0.34 or
mqtt_broker = '192.168.0.34'
Neither work
localhost on the other pi running mosquitto works just fine...
The text was updated successfully, but these errors were encountered: