Set up MQTT
#1605
Replies: 1 comment
-
|
For automatic publications, I use mqtt-hassio configuration file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I had to reinstall ebusd on a newly setup SD card after getting kernel errors with the old one. No pi imager was able to erase and write to this card. I followed the instructions here and just double checked in the command history that I used the default version with mqtt. However, when running ebusd there are no mqtt publications on the broker. ebusd is running with the following options:
ebusd -f --scanconfig -d enh:/dev/ttyAMA0 --latency=50 --mqtthost="HOST" --port=1883 --mqtttopic=whr2 --mqttuser=USER --mqttpass=PASSWORD --mqttjsonI tried
mosquitto_pub -h "HOST" -t "Test" -m "Hello1234" -u USER -P PASSWORDand it worked (mosquitto and mosquitto-clients are installed but I use a remote broker). When trying ebusd, mosquitto did not show any logs like unauthorized access.The output of ebusd does not give any hint to a broken mqtt connection what so ever.
Does anyone have any idea what to do? Is there any way to publish a test message from within ebusd to confirm I installed the version with mqtt?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions