MQTT and DS18B20

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
jbaben
Normal user
Posts: 10
Joined: 07 Mar 2021, 09:45

MQTT and DS18B20

#1 Post by jbaben » 09 Mar 2021, 15:21

Hello,
I now want to send the temperature from the DS18B20 sensor via MQTT (Home Asistant (openHAB) MQTT).
Info controller:
Current Client ID: ESP_Easy_1_1
Controller Subscribe: %sysname%/Temperature
Topic on the reception side: ESP_Easy_1_1/Temperatur
MQTT Enable active.
Device DS18B20: Send to Controller is active.
I don't get any information from MQTT in the ESPEasy log file.
For information: the temperature is shown on the OLED display.

Kind Regards

Juergen B.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: MQTT and DS18B20

#2 Post by TD-er » 09 Mar 2021, 15:25

Do you have some tool like MQTT Explorer which may help you to debug these kind of issues?
MQTT Explorer is present in the Microsoft Windows Store, for Windows.
For other OS'es there are other MQTT tools.

Then you first can try to subscribe to # (which is the wildcard topic) and see what is being sent.

jbaben
Normal user
Posts: 10
Joined: 07 Mar 2021, 09:45

Re: MQTT and DS18B20

#3 Post by jbaben » 09 Mar 2021, 16:35

Hi,
many thanks for the answer.
The MQTT transmission works.
The reference to the "wildcard topic #" was very helpful.
My MQTT Explorer: "MQTT.fx".
Note Correct is: Controller Publish:% sysname%/Temperature

Kind Regards

Juergen B.

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: MQTT and DS18B20

#4 Post by TD-er » 09 Mar 2021, 16:47

Glad to hear it is now working :)

Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests