A simple automation that connects to the Ebeco Connect API and Vattenfall electricity price API and allows you to turn off your floor heating when the price is too high.
Uses code from https://github.com/dhutchison/homebridge-ebeco
Example of running this application via the Docker image. The logic runs on a hourly schedule.
nvm use
Set environment variables by creating the file .env
and populating it with:
EBECO_USERNAME=your@email.com # The email you use in the Ebeco Connect app
EBECO_PASSWORD=your-password # The password you use in the Ebeco Connect app
EBECO_DEVICE=ThermostatName # Optional, first thermostat will be used if not set
PRICE_LIMIT=100 # In öre. Default 100. Note that this price is without VAT and other fees.
PRICE_AREA=SN3 # SN1-4
PRICE_SOURCE=vattenfall # Which API to use to get the current price. Options: vattenfall | aftonbladet
Start:
npm run dev
Set env vars, then run:
npm run start
docker run --rm --env EBECO_USERNAME=your@email.com --env EBECO_PASSWORD=your-password --env PRICE_LIMIT=100 --env PRICE_AREA=SN3 ghcr.io/khromov/ebeco-electricity-price-automation/ebeco-electricity-price-automation:latest