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,040
Reaction score
124,693
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
 

Caring for your picky eaters: What do you feed your finicky fish?

  • Live foods

    Votes: 22 31.4%
  • Frozen meaty foods

    Votes: 56 80.0%
  • Soft pellets

    Votes: 11 15.7%
  • Masstick (or comparable)

    Votes: 7 10.0%
  • Other

    Votes: 4 5.7%
Back
Top