Hey everyone! I wanted to share my recent success in integrating a smart meter into my home automation setup. This has been a journey of learning and tweaking, and I’m thrilled to finally see everything working seamlessly together. ![]()
I’ve been using a MyStrom switch for my oil radiator, which is great, but I wanted to take it a step further by automating its usage based on my solar energy production. After some research, I discovered that my smart meter has a REST API that provides real-time energy consumption data. This was the missing piece I needed to create a fully automated system!
Here’s how I set it up:
-
Accessing Smart Meter Data: I used the smart meter’s REST API to pull data on my energy exports and imports. This allowed me to track how much solar energy I was producing and consuming in real-time.
-
Automating the Oil Radiator: I created a rule in Home Assistant that turns the oil radiator on when I’m exporting more than 1 kW of solar energy and off when the energy production drops below that threshold. This ensures that I’m using as much of my own generated energy as possible, reducing my reliance on the grid.
-
Testing and Fine-Tuning: I spent some time testing the system to make sure it was responding correctly to changes in solar production. It took a bit of tweaking, but now it’s running like clockwork!
This setup has been a game-changer for me. Not only am I saving money on my energy bills, but I’m also contributing to a more sustainable energy future by maximizing my solar energy usage. ![]()
If anyone is looking to do something similar, I highly recommend starting with understanding your energy consumption patterns and exploring the APIs available on your smart devices. It’s a bit of work upfront, but the payoff is well worth it!
Would love to hear if anyone else has done something similar or has tips on optimizing energy usage through automation. Happy tinkering! ![]()