Home assistant Dashboard not updating

H Hi

I have a a HA dashboard that displays data coming to it from NodeRed, Node red consumes from the Venus MQTT Broker… does some logic and push numbers to a new topic on my HA MQTT Broker.

I’ve got a publish to my Venus MQTT Broker 1 / minute as a keep alive.

But finding the data coming out of the Venus Broker goes “dead” not being updated, which then forces me to come manually publishing a message to the keep alive topic.

G

Hi @georgelza

I had the same issue and added this flow to keep my connection alive…

Regards
Mark

[{“id”:“25a89599.dbc99a”,“type”:“mqtt in”,“z”:“ee98e462.9a0ed8”,“name”:“N/XXX/#”,“topic”:“N/XXX/#”,“qos”:“2”,“datatype”:“auto”,“broker”:“43d7acd6.ec9074”,“nl”:false,“rap”:false,“inputs”:0,“x”:130,“y”:40,“wires”:[[“8551369d.3cf4a8”]]},{“id”:“8551369d.3cf4a8”,“type”:“function”,“z”:“ee98e462.9a0ed8”,“name”:“NodeName from MQTT sub-topic”,“func”:“var topic = msg.topic\nvar arr = topic.split(”/");\nvar length = arr.length;\nmsg.nodegroup = arr[length-1];\n\n\nreturn msg;",“outputs”:1,“noerr”:0,“x”:460,“y”:40,“wires”:[[“9ce15878.9474e8”]]},{“id”:“9ce15878.9474e8”,“type”:“delay”,“z”:“ee98e462.9a0ed8”,“name”:"",“pauseType”:“rate”,“timeout”:“5”,“timeoutUnits”:“seconds”,“rate”:“1”,“nbRateUnits”:“10”,“rateUnits”:“second”,“randomFirst”:“1”,“randomLast”:“5”,“randomUnits”:“seconds”,“drop”:false,“outputs”:1,“x”:720,“y”:40,“wires”:[[]]},{“id”:“43d7acd6.ec9074”,“type”:“mqtt-broker”,“name”:“CerboGX”,“broker”:“192.168.2.201”,“port”:“1883”,“tls”:"",“clientid”:“MaritzPV”,“autoConnect”:true,“usetls”:false,“compatmode”:false,“protocolVersion”:“4”,“keepalive”:“5”,“cleansession”:true,“birthTopic”:"",“birthQos”:“0”,“birthPayload”:"",“birthMsg”:{},“closeTopic”:"",“closeQos”:“0”,“closePayload”:"",“closeMsg”:{},“willTopic”:"",“willQos”:“0”,“willPayload”:"",“willMsg”:{},“sessionExpiry”:""}]

If I remember correctly the MQTT topic’s from Venus only updates if the value has changed. So that could also why the data is not updating.
Maybe consider reading the data with modbus tcp from node red at X interval.