Client application for DHT22 humidity and temperature sensor.
services:
dht22:
image: ghcr.io/lpgera/argus
privileged: true
devices:
- /dev/mem:/dev/mem
environment:
- ARGUS_URL=http://backend:4000
- ARGUS_API_KEY=<api key with write access>
- ARGUS_SENSOR_LOCATION=<sensor location name>
- DHT22_GPIO_PIN= # optional, defaults to 4
- DHT22_MEASUREMENT_CRON= # optional, defaults to */5 * * * *
command: npm run start -w dht22
restart: unless-stopped