ESPEASY + NodeRED + MQTT

Hi.

I am using ESPEASY and NODERED.

I want to send the value of DHT22 connected to ESPEASY to NodeRED through Mqtt and check it through the dashboard.

First, the value of DHT22 was checked as mqtt through ESPEASY and HA, but the value is displayed strangely in NodeRED.


What sort of device are you using to run ESP-Easy??
e.g. Wemos D1 Mini (ESP8266), ESP32 ??

I'm not sure if you have the correct settings in your Controllers tab in ESP-Easy.
This is what I use to "talk" to a Mosquitto broker running on a RPi with an IP of 192.168.1.152

That ‘value’ looks like a time stamp. Put a debug node (set to display the complete msg object) on the output of the MQTT-in node and show the results.

Also export your flow and attach it to a reply.

Looking at your flow it looks like you may just be injecting a timestamp with the inject nodes as this the default action ?

Thank you for all .
The problem is always trivial once I find it.

The problem is that when ESPEASY sets DHT22,
Connection settings were checked to be connected only to HA mqtt.
The problem was that we tested it first with HA.
When I checked the NODE-RED MQTT connection, it came over normally.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.