Hi everyone,
I am new to this forum, i dont know how much things work here but i am pretty happy to be here.
i have a bit of problem with node red , am using arduino IDE and Esp 8266 to send dht11 sensor data and a rain drop sensor readings to node-red , through MQTT using Mosquitto broker on my pc. All seems to be working fine but node-red ui is not reading, i mean the gauges and charts are not responding, even the debug doesnt show anything.
please i need help.
===================
1 May 11:31:28 - [info] Node-RED version: v1.3.4
1 May 11:31:28 - [info] Node.js version: v14.16.1
1 May 11:31:28 - [info] Windows_NT 10.0.19042 x64 LE
1 May 11:31:29 - [info] Loading palette nodes
1 May 11:31:32 - [info] Dashboard version 2.28.2 started at /ui
1 May 11:31:32 - [info] Settings file : C:\Users\hp.node-red\settings.js
1 May 11:31:32 - [info] Context store : 'default' [module=memory]
1 May 11:31:32 - [info] User directory : \Users\hp.node-red
1 May 11:31:32 - [warn] Projects disabled : editorTheme.projects.enabled=false
1 May 11:31:32 - [info] Flows file : \Users\hp.node-red\flows_DESKTOP-VA8P8UI.json
1 May 11:31:32 - [info] Server now running at http://127.0.0.1:1880/
1 May 11:31:32 - [warn]
This is almost exactly the same as I'm doing, just DS18B20 sensors rather than DHT11. If the debug output is showing the correct values then it would point to problems in your chart and gauge setup. If you're not getting anything in the debug output then it could be a problem with your MQTT broker.
ok, so mosquit V2 does not permit external connection by default. You need to modify mosquitto.conf to permit connection from other devices on the network.
Yes, I'm running it on a Linux PC, which is also my Node-RED server (plus other uses). I also used a Raspberry Pi initially when testing ideas for my system.
There's a useful tool called MQTT Explorer (http://mqtt-explorer.com) which can show you the messages being sent and received. It may show if you have something wrong, or not what you expect, in your message structures.
I'm not sure how much would be directly shareable, as it would depend on your system setup - hardware, software, libraries etc., but I'll try my best to help solve your connection problems. (If they're not solved by @Steve-Mcl's suggestion above.)