eiabea / tempea-api

Thermostat control based on node.js
MIT License
1 stars 0 forks source link

Support DS18B20 and AM2302/DHT22 on Master and Slave #36

Open eiabea opened 5 years ago

eiabea commented 5 years ago

Currently the master is limited to the DS18B20 in OneWire mode and the slave is hardcoded to the AM2302

eiabea commented 5 years ago

The current implementation of the slave uses node-dht-sensor which depends on bcm2835 which can only be installed directly on a raspberry pi and i can not find any way around this issue to generically implement this package into the docker image

thelittlebug commented 5 years ago

https://stackoverflow.com/questions/30059784/docker-access-to-raspberry-pi-gpio-pins

eiabea commented 5 years ago

@thelittlebug this is already used for the DS18B20, but the DHT22 npm package uses the bcm2835 library which i don't know how to install on my development machine. The only possibility i can think of is to develop directly on a Raspberry Pi...