MQTT, not receiving data

Hey folks,

Another person here who's not receiving MQTT data after having it enabled and I'm hoping someone here can point me in the right direction. I assume I'm doing something wrong.

I've tried two different versions of mosquitto_sub. Version 1.5.7 (old raspberry Pi) and 2.0.11 and get slightly different responses depending on version and protocol version, but no data from either:

# mosquitto_sub version 1.5.7
mosquitto_sub --cafile /etc/ssl/certs/ca-certificates.crt -h glowmqtt.energyhive.com -u <bright_email_addres> -P <bright_password> -t SMART/HILD/A8032AD62560 -p 8883 -d -v
Client mosqsub|3273-hass sending CONNECT
Client mosqsub|3273-hass received CONNACK (0)
Client mosqsub|3273-hass sending SUBSCRIBE (Mid: 1, Topic: SMART/HILD/A8032AD62560, QoS: 0)
Client mosqsub|3273-hass received SUBACK
Subscribed (mid: 1): 128
Client mosqsub|3273-hass sending PINGREQ
Client mosqsub|3273-hass received PINGRESP

And

# mosquitto_sub version 2.0.11
mosquitto_sub --cafile /etc/ssl/ca-bundle.pem -h glowmqtt.energyhive.com -u <bright_email_addres> -P <bright_password> -t SMART/HILD/A8032AD62560 -p 8883 -d -v
Client (null) sending CONNECT
Client (null) received CONNACK (0)
Client (null) sending SUBSCRIBE (Mid: 1, Topic: SMART/HILD/A8032AD62560, QoS: 0, Options: 0x00)
Client (null) received SUBACK
Subscribed (mid: 1): 128
Client (null) sending DISCONNECT
All subscription requests were denied.


# mosquitto_sub version 2.0.11 MQTT v3.1
mosquitto_sub --cafile /etc/ssl/ca-bundle.pem -h glowmqtt.energyhive.com -u <bright_email_addres> -P <bright_password> -t SMART/HILD/A8032AD62560 -p 8883 -d -v -V mqttv31
Client mosq-wUn56AcfRxzegJekxe sending CONNECT
Client mosq-wUn56AcfRxzegJekxe received CONNACK (0)
Client mosq-wUn56AcfRxzegJekxe sending SUBSCRIBE (Mid: 1, Topic: SMART/HILD/A8032AD62560, QoS: 0, Options: 0x00)
Client mosq-wUn56AcfRxzegJekxe received SUBACK
Subscribed (mid: 1): 0
Client mosq-wUn56AcfRxzegJekxe sending PINGREQ
Client mosq-wUn56AcfRxzegJekxe received PINGRESP

Any thoughts on what I've missed or need to change?

Comments

Sign In or Register to comment.