Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node Red system console errors. #18

Open
joneyes opened this issue Dec 24, 2021 · 0 comments
Open

Node Red system console errors. #18

joneyes opened this issue Dec 24, 2021 · 0 comments

Comments

@joneyes
Copy link

joneyes commented Dec 24, 2021

I have one of these: https://thepihut.com/products/power-monitoring-hat-for-raspberry-pi (https://github.com/sbcshop/Power-Monitor-HAT)
Standard addresses are 0x40, 0x41, 0x42 on this board.
I see this in the node red system console:

Capture nodered

I guessed this might be due to addressing, so i added an additional INA219 sensor as a standalone to the I2C pins on the HAT and addressed it to 0x45, and then amended the fixed addresses in ina.html and ina219.js to reflect addresses 40, 41, 42 & 45. (as noted here: #15)
After that I can configure the nodes and all 4 INA219 nodes in nodered are reading values from the 4x sensors, but i continue to see the same error repeating in the console:
0.01
false
initing!

(It's a bit annoying as I want to use the system console log to record system operation, and the rolling log is swamped with the error)
If I delete the nodes in the flow, the fault persists, until i remove the node from the palette.

versions are:
Node-RED version: v2.1.4
Node.js version: v14.18.2
Linux 5.10.63-v7+ arm LE (Pi zero 2 W on buster)
npm 6.14.15,

node-red-contrib-easybotics-ina219 is as installed from the node red palatte (with only the address changes noted above different)

I've attached the flow in question and the two modified files.
Has anybody got any ideas? Have i missed anything obvious?

flows.zip
ina219.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant