Sign inSign up

bmoorman/sensor

By bmoorman

•Updated about 17 hours ago

Sensor [iVirus/Docker-Sensor] on Alpine

Image
1

100K+

bmoorman/sensor repository overview

Gather environment readings for Sensor Dashboard⁠

⁠How to use this image

Gather environment readings for Sensor Dashboard⁠

⁠Docker Run
docker run \
--detach \
--name sensor \
--restart unless-stopped \
bmoorman/sensor:armhf-latest
⁠Docker Compose
version: "3.7"
services:
  sensor:
    image: bmoorman/sensor:armhf-latest
    container_name: sensor
    restart: unless-stopped
⁠Environment Variables
VariableDescriptionDefault
TZSets the timezoneAmerica/Denver
DASHBOARD_HOSTSets the Dashboard host<empty>
DASHBOARD_KEYSets the Dashboard key for this sensor<empty>
SENSOR_TYPESets the attached sensor type (DHT11, DHT22, or AM2302)DHT22
SENSOR_PINSets the BCM pin where the sensor is attached17
SENSOR_SAMPLESSets how many samples to collect from the sensor [normalized]5
SENSOR_FREQUENCYSets how long to wait before resampling (seconds)5
SENSOR_TIMEOUTSets how long to wait for a response from the sensor (seconds)0.5
PIGPIO_ADDRSets the host of pigpiodlocalhost
PIGPIO_PORTSets the port of pigpiod8888

Tag summary

Content type

Image

Digest

sha256:8ac120327…

Size

22.3 MB

Last updated

about 17 hours ago

docker pull bmoorman/sensor