Hi all,
I read already through a whole bunch of information but did not get any glimpse of how to tackle my idea so far. After all I ended up with creating a own topic in the forum for it. Maybe someone of you can point me in the right direction or at least advice me on how to go on.
Setup
- Raspberry Pi 4
- HomeAssistant OS
- 2x PT1000 Temp Sensor
- Installed Node-Red addon (with node-red-node-pi-gpio and node-red-contrib-gpio)
- Installed AppDaemon 4 addon
- Breadboard, wires, resistors, etc.
Idea
I do have pre-mounted PT1000 temperature sensors I want to read (and cannot replace). I do not have any ADC or similar hardware/boards, just the RasPi4.
Approach
First, I tried accessing the GPIO in a very simple way of switching a LED on/off. This is working just fine. But the built in GPIO-support of HA (added as binary sensor https://www.home-assistant.io/integrations/binary_sensor/) as well as the GPIO-nodes in Node-Red https://flows.nodered.org/node/node-red-node-pi-gpio
only support a digital binary value of 0 or 1 and not any kind of value.
I tried also tried adding https://flows.nodered.org/node/node-red-contrib-gpio
to Node-Red in order to access the GPIO, but I cannot get the command npm install raspi-io
running under HA OS.
I also tried the approach with a resistive sensor (http://razzpisampler.oreilly.com/ch08.html), but could not get the python code running with AppDaemon 4 so far.
Request
Does at least one of my approaches yield a success if done properly or do you have any advice on how to go on?
Thank you for your effort and advice.