Raspberry Pi Zero W connected to a 4 channel relay and an AM2302 sensor (Temp and humidity - data wired to GPIO 27).
Note: The relays work perfect in the phone app.
I have a AM2302 sensor attached to a RPi 0 W that I want to read temp and humidity from. I have tested it with test script from Adafruit and it is working displaying the temp and humidity in the terminal window.
I was following the info on the Instructables page (Raspberry Pi + Node.js + Blynk App + DHT11/DHT22/AM2302) and all went well until I got to the last line to install the node-dht-sensor. That failed with multiple errors dealing with permission to access the dev dir “/root/.node=gyp/6.9.5”.
Then the node-gyp build failed listing multiple ERR!
I could use some help and/or advice. I am not a programmer so please go easy.
Thanks in advance.