I’d like to introduce my custom integration, PumpSteer – designed to optimize control of heat pumps (and other heating systems) based on hourly electricity prices and weather forecasts. The goal is to save energy and money while keeping your home comfortable.
A Beginner’s Journey with AI Support
I’m completely new to Home Assistant development. This project came to life thanks to a lot of learning and support from AI tools like GitHub Copilot and Google Gemini. It’s been an amazing experience, but I’m now looking for feedback, ideas, and guidance from more experienced developers to help take PumpSteer further.
Please note: The code and github might be a bit messy – I’m doing my best and eager to improve!
Key Features:
• Price- & Forecast-Based Control – Adjusts target temperature based on hourly electricity prices and weather.
• Pre-boost Logic – Warms up in advance during cheap hours before cold, expensive ones.
• Braking Function – Reduces heating during expensive hours.
• Summer Mode – Sets an outdoor temperature threshold to reduce or stop heating.
• Holiday Mode – Via input_boolean and input_datetime, lowers target temp when you’re away.
PumpSteer calculates an optimal indoor temperature using sensors and input values. This target can then be used in automations or with a thermostat entity.
Note: Full setup instructions are currently only available in Swedish.
Feedback and Contributions Welcome!
This is a work in progress. I’m highly motivated and open to all feedback, bug reports, or suggestions. If you’re experienced and want to help improve the code or logic, I’d truly appreciate it!
Thanks! Yeah, I’m sure the cold season will bring up some quirks, but we’ll fix them as they come. Cool that you’re running it side by side with Ngenic — curious to hear how it works out for you!
In my setup i cant set a virtual outdoor temperature sensor to influence the heat pump. This sensor is hard wired. I can set target temperature, or start temp/end temp (stooklijn), hysterese, etc through the ems bus (bbqkees).
Any other hooks that the integration has to control the heat pump?
Or did you add an esp32 or equivelent to the heatpump to create a serial signal that can set the outdoor temperature by replacing the wired sensor?
@Johan71 how do you actually connect the Ohmigo unit?
Do you connect it in parallel with the original temperature sensor?
That is my understanding of the description on Github but that seems a bit strange to me… Or should I just replace the original temperature sensor with the Ohmigo?
I’ve got the integration installed and the Ohmigo gets the temperature from HA and the Pumpsteer automation so now I need to connect it to my CTC heat pump.
Interesting! Does it matter if you have Ohm on Wifi or instead Ohm on USB connected to your Home Assistant-device?
Also would this be useful for steering a district heat exchanger aswell? It is of course something completely different because price of electricity is not a factor. It is more to get a stable indoor temperature.
It doesn’t really matter whether you use Ohm over WiFi or over USB to your Home Assistant device. In both cases you just get the data into HA and then you create the automation yourself that does the actual control, so from that point of view there’s no real difference – just use whatever is easiest and most reliable for your setup.
As for using this to steer a district heat exchanger: in theory it could be useful, because the logic is mainly about when to ask for more or less heat to keep the indoor temperature stable. The electricity price part isn’t strictly required. But I haven’t tested it on district heating myself, so you’d have to try it on your system and see how well it works and what needs tuning.
Ok found and looked at the automation, I understand. Nice work!
I have not purchased the equipment yet but I will look into it as soon as I have it installed.
But maybe you can start having that as a thought when working with PumpSteer that it could be used for district heating as well and turn into a even better Ngenic replacement system
This looks very promising Johan, great work! Just installed PumpSteer (seems to be working ) and will let it run for a while before hooking it up to my OhmOnWifi Plus.
I was about to write my own steering logic but found this and it looks to be spot-on what I was aiming for (and more!).