MQTT does not appear to be working

TCoach

Well-Known Member
View Badges
Joined
Feb 21, 2021
Messages
589
Reaction score
653
Location
SC
Rating - 0%
0   0   0
So, wanted to play with MQTT and see what all it offers. I've created a Mosquitto service on my Ubuntu box and am able to connect and publish from the pi with the mosquitto pub client. However, I don't see any messages coming into MQTT. I have a running subscription to "/#" so I can see all messages and am not seeing anything.

Does anyone have suggestions on how to get the MQTT interface working?
 

SPR1968

No, it wasn’t expensive dear....
View Badges
Joined
Feb 21, 2017
Messages
20,039
Reaction score
124,681
Location
Nottinghamshire England
Rating - 0%
0   0   0
I can’t answer the specific question, but I can maybe bump the thread for you to see if we can get you some help
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
So, wanted to play with MQTT and see what all it offers. I've created a Mosquitto service on my Ubuntu box and am able to connect and publish from the pi with the mosquitto pub client. However, I don't see any messages coming into MQTT. I have a running subscription to "/#" so I can see all messages and am not seeing anything.

Does anyone have suggestions on how to get the MQTT interface working?
Did you enable mqtt with specifics in reef-pi, and reload it?
 

woejillis

Community Member
View Badges
Joined
Jun 4, 2014
Messages
68
Reaction score
34
Location
United States
Rating - 0%
0   0   0
I'm having trouble getting MQTT working as well. I have my broker setup and it's working but Reef Pi keep giving me an error that "mqtt is not initialized".

I'm on version 5.2

Settings for Telemtry are:
Server: tcp://192.168.0.XX:1883 (mqtt broker address)
Username: mqtt-user (valid user on broker)
Client ID: ReefPi
Password: (correct user password for mqtt-user)
QoS: 0
Topic Prefix: reef
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,056
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
D
I'm having trouble getting MQTT working as well. I have my broker setup and it's working but Reef Pi keep giving me an error that "mqtt is not initialized".

I'm on version 5.2

Settings for Telemtry are:
Server: tcp://192.168.0.XX:1883 (mqtt broker address)
Username: mqtt-user (valid user on broker)
Client ID: ReefPi
Password: (correct user password for mqtt-user)
QoS: 0
Topic Prefix: reef
Do you see any errors in the log ?
 

woejillis

Community Member
View Badges
Joined
Jun 4, 2014
Messages
68
Reaction score
34
Location
United States
Rating - 0%
0   0   0
That's the only error in the "Errors" section in configuration.


1655065139983.png
 

Being sticky and staying connected: Have you used any reef-safe glue?

  • I have used reef safe glue.

    Votes: 105 86.8%
  • I haven’t used reef safe glue, but plan to in the future.

    Votes: 8 6.6%
  • I have no interest in using reef safe glue.

    Votes: 5 4.1%
  • Other.

    Votes: 3 2.5%
Back
Top