I am trying to use an “ina-sensor” node to read the volts/amps from an INA219 sensor from ada-fruit. This sensor works on the I2C bus. When I add the sensor, my Node-Red fails after a few hours.
I re-booted the Raspberry Pi 4 and started Node-Red from the console. Following text is what I see on the console, the last trhee lines keep repeating up to the Node-Red freezing. When I remove the INA219 Sensors from the circuit, I no longer get the repeating lines:
==========================================
Start Node-RED
Once Node-RED has started, point a browser at http://192.168.50.192:1880
On Pi Node-RED works better with the Firefox or Chrome browser
Use node-red-stop to stop Node-RED
Use node-red-start to start Node-RED again
Use node-red-log to view the recent log output
Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot
To find more nodes and example flows - go to http://flows.nodered.org
Starting as a systemd service.
0.01
false
initing!
0.01
false
initing!
0.01
=================================================
I have tried every everything to isolate the problem. New Raspian load, new Node-Red load, new SD Card, new Raspberry Pi.
I also tried four separate INA219 boards. I tried changing the address of the board, some with 0X40 and some with 0X41. I get the same result.
I have reduced to flow to two nodes, a “ina-sensor” node and a “debug” node. No other nodes are running.
I need any help or suggestions. Clearly, something is causing the repeating lines, “false”, "initing" and “0.01” that leads up the Node-Red freezing up.
Alan