Regulates a refrigerator by turning a smart plug on or off depending on the temperature of a thermometer. I've used this and some smart plug from OSRAM which is compatible with Philips hue.
Example docker-compose file:
version: '3.6'
services:
refrigerator-fix:
image: docker.pkg.github.com/juliansauer/refrigeratorfix/refrigerator-fix
restart: always
volumes:
- ${PWD}/config.json:/root/config.json
- ${PWD}/refrigerator-temperature-log.csv:/root/refrigerator-temperature-log.csv
Example config.json:
{
"philipsHueUserName": "1028d66426293e821ecfd9ef1a0731df",
"smartPlugId": 5,
"mobileAlertsUrl": "https://www.data199.com/api/pv1/device/lastmeasurement",
"mobileAlertsDeviceIds": "048FAE73A12C",
"temperatureMax": 8.0,
"temperatureMin": 7.0
}