Skip to content

Our fridge doesn't work properly, this script is a dirty fix until we get a new one

Notifications You must be signed in to change notification settings

JulianSauer/RefrigeratorFix

Repository files navigation

Refrigerator Fix

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
}

About

Our fridge doesn't work properly, this script is a dirty fix until we get a new one

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published