I am completely new here and also new to node red & RaspberryPi in general, so I need some help of you.
I want to connect the two sensors MH-Z19 & SDS011 to my RaspberryPi4B to show their data on the node red dashboard and have some problems with it.
First to the MH-Z19, the node red website tells me that i have to enable the serial port in raspi-config. I did that but i constanly get this report when i try to get the co2 data in the debug window.
"Error Resource temporarily unavailable Cannot lock port". I got a hint that I shoul disable bluetooth, i did that too but get the same report.
I connected the SDS011 via USB to my Raspberry PI and the node itself says "connected" under it, but i cant get any information from it in the debug window. I get the report " TypeError: Cannot read property 'command' of undefined". I think its a problem with the infject node, but i am not sure.
What i noticed, is that both of the Sensors use the same serialport, /dev/serial0 in the properties.
Of curse i tried to use the sensors separtately, but i still get the same reports.
I have a feeling that these problems are easy to solve, but because this program is totaly new for me in general, I just don't get it.
So i hope someone here can help me with it.