I cant get the DHT22 sensor to work in pimatic, the dhtxx plugin cannot be installed, there’s always errors during installation, and it also doesn’t work with the homeduino plugin (I also use that plugin for sending 433mhz, that works).
Here’s the error in pimatic:
error [pimatic]: Error running "npm install pimatic-dhtxx"
The sensor worked fine with pilight (but I don’t use that anymore), and it works with a manual command:
pi@nanobox ~/lol_dht22 $ sudo ./loldht 3 Raspberry Pi wiringPi DHT22 reader www.lolware.net Humidity = 39.30 % Temperature = 20.80 *C pi@nanobox ~/lol_dht22 $
I’m using the latest pimatic version and here’s some output from the debug log:
133 error email@example.com install: `node-gyp rebuild` 133 error Exit status 1 134 error Failed at the firstname.lastname@example.org install script. 134 error This is most likely a problem with the node-dht-sensor package, 134 error not with npm itself. 134 error Tell the author that this fails on your system: 134 error node-gyp rebuild 134 error You can get their info via: 134 error npm owner ls node-dht-sensor 134 error There is likely additional logging output above. 135 error System Linux 3.18.7+ 136 error command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-dhtxx" 137 error cwd /home/pi/pimatic-app 138 error node -v v0.10.28 139 error npm -v 1.4.9 140 error code ELIFECYCLE
EDIT: sorry, I didn’t see the sub-board “troubleshooting”, this can be moved there