We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Using Home Assistant to monitor energy usage and compare tariffs
Options
Comments
-
noitsnotme said: Are you using any other hardware to control the boiler through OpenTherm (eg Nest, Tado, etc)? Or is that what you use ESP32 for?The ESP32 is just acting as an interface between the boiler and HA. I have a climate component to signal the boiler when heat is required, and a custom python script to set the temperature depending on the time & day. Once I have set the PID parameters, the ESP32 should take care of things like modulation, and between the two, do the weather compensation. Just need a few days of cold weather to run the autotune routine on the ESP32.Also need to fine tune the radiator balance..Can share the code & configs if you need them.
Her courage will change the world.
Treasure the moments that you have. Savour them for as long as you can for they will never come back again.1 -
FreeBear said:noitsnotme said: Are you using any other hardware to control the boiler through OpenTherm (eg Nest, Tado, etc)? Or is that what you use ESP32 for?The ESP32 is just acting as an interface between the boiler and HA. I have a climate component to signal the boiler when heat is required, and a custom python script to set the temperature depending on the time & day. Once I have set the PID parameters, the ESP32 should take care of things like modulation, and between the two, do the weather compensation. Just need a few days of cold weather to run the autotune routine on the ESP32.Also need to fine tune the radiator balance..Can share the code & configs if you need them.What climate component are you using? I have a Hive stat and smart TRVs from the previous boiler which I can use to send on/off calls to the boiler based on temp at the stat and can control individual room temp with the TRVs but I’ve never liked the Hive interface.0
-
noitsnotme said:FreeBear said:noitsnotme said: Are you using any other hardware to control the boiler through OpenTherm (eg Nest, Tado, etc)? Or is that what you use ESP32 for?The ESP32 is just acting as an interface between the boiler and HA. I have a climate component to signal the boiler when heat is required, and a custom python script to set the temperature depending on the time & day. Once I have set the PID parameters, the ESP32 should take care of things like modulation, and between the two, do the weather compensation. Just need a few days of cold weather to run the autotune routine on the ESP32.Also need to fine tune the radiator balance..Can share the code & configs if you need them.What climate component are you using? I have a Hive stat and smart TRVs from the previous boiler which I can use to send on/off calls to the boiler based on temp at the stat and can control individual room temp with the TRVs but I’ve never liked the Hive interface.
Not sure what @FreeBear is using but if you Google "Home Assistant Generic Thermostat" you'll find loads of info you might find useful ( if you haven't found it already :-) ). One of my next projects is to set one up to control an ASHP (learning, I hope, from the mistakes I made with the last one).
1 -
noitsnotme said:FreeBear said:noitsnotme said: Are you using any other hardware to control the boiler through OpenTherm (eg Nest, Tado, etc)? Or is that what you use ESP32 for?The ESP32 is just acting as an interface between the boiler and HA. I have a climate component to signal the boiler when heat is required, and a custom python script to set the temperature depending on the time & day. Once I have set the PID parameters, the ESP32 should take care of things like modulation, and between the two, do the weather compensation. Just need a few days of cold weather to run the autotune routine on the ESP32.Also need to fine tune the radiator balance..Can share the code & configs if you need them.What climate component are you using? I have a Hive stat and smart TRVs from the previous boiler which I can use to send on/off calls to the boiler based on temp at the stat and can control individual room temp with the TRVs but I’ve never liked the Hive interface.1
-
FreeBear said:Another HA user here... I use a couple of Peacefair PZEM-016 & PZEM-014 to monitor electricity consumption. Only recently had my gas & electricity meters replaced with SMETS2 models, so getting a Hildebrand Glow IHD is on the cards. That way, I can get realtime data directly from the meter(s) using the MQTT API. In the meantime, I'm logging data from the boiler using an ESP32 & OpenTherm interface - Recording burner on/off time & modulation gives me a reasonably good indicator of gas consumption.All data is being stored in an Influx database and graphs generated by Grafana - A word of warning. Influx databases can get very large which could cause a problem if you do a reboot of the data store (had to massively increase the systemd timeout for the influx daemon after saving >12m of data). Also, set the include & exclude domains/entities in the HA influx component so that you are recording just the data you want to generate graphs for. If you don't, you'll end up with masses of irrelevant data clogging up the database. Oh, and don't use SD cards for data storage - You will kill them in a matter of weeks of months.
There is a HACS component that you can use to set up the various MQTT sensors but I would imagine you are comfortable with YAML so you will create your own.1 -
mmmmikey said:noitsnotme said:FreeBear said:noitsnotme said: Are you using any other hardware to control the boiler through OpenTherm (eg Nest, Tado, etc)? Or is that what you use ESP32 for?The ESP32 is just acting as an interface between the boiler and HA. I have a climate component to signal the boiler when heat is required, and a custom python script to set the temperature depending on the time & day. Once I have set the PID parameters, the ESP32 should take care of things like modulation, and between the two, do the weather compensation. Just need a few days of cold weather to run the autotune routine on the ESP32.Also need to fine tune the radiator balance..Can share the code & configs if you need them.What climate component are you using? I have a Hive stat and smart TRVs from the previous boiler which I can use to send on/off calls to the boiler based on temp at the stat and can control individual room temp with the TRVs but I’ve never liked the Hive interface.
Not sure what @FreeBear is using but if you Google "Home Assistant Generic Thermostat" you'll find loads of info you might find useful ( if you haven't found it already :-) ).
Her courage will change the world.
Treasure the moments that you have. Savour them for as long as you can for they will never come back again.2 -
The_Green_Hornet said:noitsnotme said:FreeBear said:noitsnotme said: Are you using any other hardware to control the boiler through OpenTherm (eg Nest, Tado, etc)? Or is that what you use ESP32 for?The ESP32 is just acting as an interface between the boiler and HA. I have a climate component to signal the boiler when heat is required, and a custom python script to set the temperature depending on the time & day. Once I have set the PID parameters, the ESP32 should take care of things like modulation, and between the two, do the weather compensation. Just need a few days of cold weather to run the autotune routine on the ESP32.Also need to fine tune the radiator balance..Can share the code & configs if you need them.What climate component are you using? I have a Hive stat and smart TRVs from the previous boiler which I can use to send on/off calls to the boiler based on temp at the stat and can control individual room temp with the TRVs but I’ve never liked the Hive interface.
My mini PC arrived this afternoon so I'll start to set HA up in the next few days.
Not sure yet whether to go with a bare metal HA OS or Proxmox with the OS. Not yet sure what else I would use the PC for if I go with Proxmox but at least it gives me options down the line.0 -
noitsnotme said: Not sure yet whether to go with a bare metal HA OS or Proxmox with the OS. Not yet sure what else I would use the PC for if I go with Proxmox but at least it gives me options down the line.Just install Debian on it, and then HA on top.Influx & Grafana both provide .deb packages should you wish to use them.
Her courage will change the world.
Treasure the moments that you have. Savour them for as long as you can for they will never come back again.0 -
FreeBear said:noitsnotme said: Not sure yet whether to go with a bare metal HA OS or Proxmox with the OS. Not yet sure what else I would use the PC for if I go with Proxmox but at least it gives me options down the line.Just install Debian on it, and then HA on top.Influx & Grafana both provide .deb packages should you wish to use them.0
-
I've been stuck inside all day with covid so have got a new thermostat set up to control an ASHP in the bedroom. As well as the normal day/night/away settings which are fairly self-explanatory, I've also got "economy" and "plunge" settings which are triggered by Agile prices. If the price goes below a "low" threshold - currently set at 5p/kWh then the heating runs continually at the normal temperature at night or at a slightly increased temperature during the day. In plunge mode, i.e. price below 0p/kWh the same happens at night but during the day it heats the house up to 21C. There's also a boost made which can be started from the HA app or a button on a Philips Hue dimmer switch (I find I don't need all the buttons for lighting, so the bedroom switch now has button 1 - lights on/off, button 2 - lighting scene, button 3 - heating boost, button 4 - music (i.e.Sonos speaker).All working well in testing - app screenshots below. The fourth screenshot is a generic HA thermostat in heat only mode.I had a cruder version running over the summer controlling the ASHP in cooling mode and apart from the increased control options I've found that using a remote temperature sensor (SwitchBot in my case) works much better than the ASHP built in thermostat.0
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244K Work, Benefits & Business
- 598.9K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards