Open rwb196884 opened 3 months ago
From a quick glance I can only imagine that the data is published to "/zigbe2mqtt..." and the subscription is on "zigbee2mqtt..." (note the missing slash at the beginning)? In MQTT the slash at the beginning matters on most brokers.
Leading slash makes no difference. Same problem on ESP32: nothing ever received.
When experimenting with MQTT I like to have a Processing program also working with MQTT. Here is a link to something I wrote to do so for a bunch of ESP32 assemblies.
You will have to code in your topic to publish and subscribe.
You look in the console window of the IDE for messsages. Make the Processing draw window selected and then press digits to send a simple MQTT message.
Hope this helps.
I'm using an Arduino nano with an ESP8266 for wifi which I have working for other WiFi projects and I'm trying to subscribe to my mqtt broker on Debian 12 and receive messages.
I never receive anything.
Any ideas?
(
PubSubClient
doesn't work either and is dead andArduinoMqttClient
won't even connect to the broker; this is my third attempt.)