-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
No messages to MQTT #34
Comments
I have the same issue, also with mosquitto.
|
Try to outcomment (#) line 720 It might solve your login credentials issue (not using mqtt myself) |
If this works i will do check for password/username to see if we need to call the set_pw |
For me that did not solve the issues. My MQTT requires authentication btw. |
Fill in a dummy user and password, and add and change line 717 and 722 with the data from my pull request. |
@cris1 can you try the latest code and let us know? |
I think this is the problem. RTL-SDR-P2000Receiver-HA/p2000.py Line 749 in cff3779
But this is wrong because it actually posts to RTL-SDR-P2000Receiver-HA/p2000.py Line 745 in cff3779
I still have a manual MQTT sensor configured in HA that expects
Maybe later it would be nice to change the format to HA MQTT Discovery... |
This is done because the current script allows multiple sensors. therefore the topic_sensor is made. Doing the discovery.. I tried, but no succes for me.. but if somebody else wants to try? |
Hi, sorry for the delay, took me a bit to find time to test the update. I have Mosquitto MQTT running on port 1883 and use authentication. The mistake I made was how I subscribed to the topic. The trailing slash did the trick for me and now I see the P2000 messages in MQTT. I am not sure if this always was the issue or not..but I am glad it works.
Good job! |
Thanks, this thread helps me to solve my MQTT problems. |
Hi,
First of all, great software just what I was looking for!
I only have an issue with registering to my MQTT (Mosquitto) I don't have credentials set on Mosquitto.
I can't get it to work that the topic "p2000" is getting published and filled with P2000 messages.
Attached is my config.ini file.
I tried to leave the fields username/password empty or just filled in random text but I can't see the p2000 topic published.
Hope you can help me.

Kind regards
The text was updated successfully, but these errors were encountered: