First of all I'm absolutely beginner in Node Red and I need some help.
I'm trying for some days to get on dashboard status of 3 GPIO pins.
My scenario, one short description
I made short automation fro my house heating module.
I have 2 sensors for reading temperature and one input pin for reading status of ambient sensor. Base ambient status and readings from temperature sensors I do some calculation and I'm starting or stopping heating module and pump.
My problem is:
I created one flow in Node Red to get temperature from sensors. I created in dashboard 2 gauges and it's work perfectly.
I created flows for pump and heating module using switch one function and text node to display on dashboard status ON OFF when I'm using switch.
Problem is that I did't succeed to get status ON OFF of pin when rasPI switch automatically the pin 0 / 1.
If I put in flow to read PIN status, the program from raspberry is not switching anymore the pin, I think because is used by other process, maybe Node Red I think.
If someone have any idea how can I read and display, command status of a pin and still to work from PI program I will by very grateful.
I put also a picture with my flow
Thanks in advance for your time and patience with a beginner