Skip to content
Erlend Fosseide Sellie edited this page Oct 25, 2022 · 8 revisions

Documentation

This Wiki will include everything you need to know about this integration. PriceAnalyzer is an Integration for Home Assistant which aims to lower your electricty bills by controlling you thermostats and hot water heater. This is accomplished by using more energy when the price is low, and less energy when the price is high. Sound simple, right?

PriceAnalyzer sensor

This sensors state will just give you a temperature correction. It's meant to be added to your disired comfort temperature, and can be used with all of your thermostats. When the price is about to get expensive, this sensor will change to 1. That means that the climate-entity you have controlled with this integration will heat up the room a bit extra, so when the expensive part of the day hits, you'll use less energy. When the price is about to fall a lot, this sensor will change to -1. You thermostat will immediately use less energy while we wait for the price to drop, and then the temperature will catch up to your desired comfort temperature.

A great way to utilize this sensor is with the blueprint linked to in the Readme, which takes a few input paramters:

  • This sensor
  • A input number, which will act as a comfort-temperature setting.
  • The climate entity to control

Whenever you change the comfort temperature setting thorugh the input number, or this sensor changes based on the spotprice, the climate-entity will update with the new temperature.

This sensor also includes a butt-load of attributes, so you can create a lot of automations around spot-prices easily. Many of them are the same as the forked Nordpool-sensor, with a list of todays and tomorrows prices, but also includes info about the hour like:

  • if the price is gaining later
  • if the price is falling later
  • the next hours price
  • The five most expensive hours for the day
  • The five and ten cheapest hours for the day

Hot Water Heater sensor

A sensor for the recommended thermostat setting for your smartified hot water heater with temperature monitoring. This sensor will calculate when to heat the tank to max, and when to just keep the tank 'hot enough', based on todays and tomorrows prices. You can provide your own temperatures for the sensor when setting up or editing the PriceAnalyzer integration. The default config is as follows:

{
	"default_temp": 75,
	"five_most_expensive": 40,
	"is_falling": 50,
	"five_cheapest": 70,
	"ten_cheapest": 65,
	"low_price": 60,
	"not_cheap_not_expensive": 50,
	"min_price_for_day": 75
}

The default config may not suit your hot water heater and use-case, and will depend on how frequent your household take showers, how big the tank is, and where the temperature sensor(s) are placed. This config has worked great for me, have never given me a cold shower.

The config can also be configured as binary on/off, if you don't have a temperature sensor on your water heater, like this:

{
	"default_temp": "on",
	"five_most_expensive": "off",
	"is_falling": "off",
	"five_cheapest": "on",
	"ten_cheapest": "on",
	"low_price": "on",
	"not_cheap_not_expensive": "on",
	"min_price_for_day": "on"
}

Keep in mind that without temperature sensors on the heater, a cold shower can occur. The blueprint will also not work for this setup, at the moment.