Hello all,
I come to you with a small problem, As the title says im running a raspberry pi with Node red installed. Im linking this RPI to HA using MQTT within Node Red. Im making a remote senor node with any and all I can, BUT including MotionEye for a video feed. I have a PIR Motion Sensor working successfully in HA and im currently trying to get a DHT11/DHT22 to work. Attached is a picture of the flow and what the out put message is.
- platform: mqtt
state_topic: 'outdoor/rpi1/temp'
name: 'Temperature'
unit_of_measurement: '°C'
value_template: '{{ value_json.temperature }}'
- platform: mqtt
state_topic: 'outdoor/rpi1/temp'
name: 'Humidity'
unit_of_measurement: '%'
value_template: '{{ value_json.humidity }}'