Configure to monitor buttons, temperature sensors and control various other GPIOs using API endpoints
- SHT3x Humidity sensor
- Turning on/off gpio pin (fan on/off etc)
- Buttons
All configuration is set by environment variables.
GPIO_TYPE
- sht3x, gpio, button
GPIO_PIN
- 1-40
sht3x
GPIO_TYPE=sht3x
UNIT=C
gpio
Performs simple gpio pin on/off
GPIO_TYPE=gpio
GPIO_PIN=40
button
GPIO_TYPE=button
GPIO_PIN=11
ON_PRESS=callUrl
URL=http://my-service.com/button-pressed
Drivers for various sensors, buttons etc can be found here:-
https://github.com/hybridgroup/gobot/tree/release/drivers
- Add go tests
- Add metrics