[SOLVED] Mqtt from mosquitto not update

very trivial question.
I have mosquitto in local that receives data from another device every minutes
i created a mqtt node in, but reads the values only when I press deploy

  • localhost raspberrypi2 with mosquitto server and nodered
  • nodemcu send mqtt temperature and humidity at raspberry pi2
[{"id":"97ca2806.63dc48","type":"mqtt in","z":"f2ea78f3.b44528","name":"Temperatura","topic":"sensoreCantina/temperatura","qos":"2","datatype":"auto","broker":"c7e3b8bb.1f3ed8","x":220,"y":160,"wires":[["c1b2fe54.60f1c"]]},{"id":"c1b2fe54.60f1c","type":"debug","z":"f2ea78f3.b44528","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":490,"y":160,"wires":[]},{"id":"c7e3b8bb.1f3ed8","type":"mqtt-broker","z":"","name":"Pi2","broker":"localhost","port":"1883","clientid":"NodeRed","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"NodeRed Collegato","closeTopic":"","closeQos":"0","closePayload":"NodeRed Disconnessione in corso...","willTopic":"","willQos":"0","willPayload":"NodeRed Disconnessione inattesa"}]

Do the temperature/humidity values actually change ?

solved, sorry for the trouble.
analyzing the server mosquitto logs, nodemcu does not work today.
while sending via mosquitto_pub works correctly :slight_smile:

1 Like