Closed jjkoehorst closed 1 year ago
Did you check the quoting? If that's run through a shell then comma and brackets might have special meaning, and your pass might be mangled.
-F 'mqtt://homeassistant.local:1883,user=mosquitto,pass=mosquitto,retain=0,events=rtl_433[/model][/id]'
but even if I type a non-existing webserver or wrong port or wrong password I get the same issues. I am running it on a minimal 22.04 ubuntu on a raspberry pi 4 maybe a dependency is missing?
I think that might be the issue, not sure if this library makes use of mosquito_pub or similar but that is also not yet working here...
mosquitto_pub -h '192.168.1.114' -u mosquitto -p mosquitto -t "test/light1" -m "hello world" -d
Error: No such file or directory
Strange that mosquitto_pub won't work. Must be some underlying cause. rtl_433 does not use libs for MQTT though.
Might be an authentication issue or something else entirely as without any credentials at least a
mosquitto_pub -h '192.168.1.114' -t "test/light1" -m "hello world" -d
Client (null) sending CONNECT
Client (null) received CONNACK (5)
Connection error: Connection Refused: not authorised.
Error: The connection was refused.
pops up! The quest continues!
-P != -p for the password at least...
You should absolutely work through getting everything working with mosquitto_pub before trying rtl_433. That may mean learning and understanding a fair bit.
Also, run tcpdump and watch the packets.
Given that mosquitto_pub does not work, this issue doesn't point to a bug in rtl_433.
Any possible way to get more information regarding this message?