Sorry, your browser does not support JavaScript!

Use IAMMETER-simulator to optimize your solar PV system

This is a virtual 3 phase energy meter(the code is open source IAMMETER`simulator in GitHub), which is installed like this.

Virtual installation of the simulator

Why we develop this simulator

The idea that let us start to develop this simulator comes from this post

One of our customers tries to optimize the use of solar excess output by the home assistant. Use IAMMETER`s energy meter to monitor the solar excess output and control the Tesla charge by the Home Assistant (use the excess solar as much as possible) .

we also want to participate in this project, to optimize the control logic together. But we do not have the Tesla and inverter in our office now. So we had an idea, develop a simulator to achieve such jobs.

In my opinion, If we can simulate the load profile as accurately as real, you will be able to do the experiment on this simulator. Find a proper way to manipulate the controllable load and utilize the solar PV output more efficiently.

These are the specific jobs we want to do from this simulator.

  • Optimize your load control strategy: create a load profile, change the control logic of the load and try to find out which logic can be achieved the maximum return from your solar PV system( To Improve the self use rate in your solar PV system).
  • Forecast the solar PV revenue before the installation: simulated a solar PV output, compute the possible solar PV saving and income by the simulated solar data and your real electrical energy consumption data.

Hope we can achieve our goals.

Welcome to let me know your thoughts here :IAMMETER-simulator in Home assistant community

How to run it

Run the source code directly,need NET Runtime 6.0.10

Run the simulator from docker

Get the data from the Simulator

local api: http get from /api/monitorjson

use the local API to get the data from the simulated energy meter

Simulated the solar PV output

Use a totally simulated solar PV output

simulate the solar PV inverter output

use the real solar PV output get from other platforms

use the real solar PV output, find out the better control logic of your load

Simulate the load profile

Simulate a load profile by importing a JSON file

Simulate a load profile manually

Control the load by the API

Integrate into the Home assistant


Demo effect: (user:iammeter ,pwd:iammeter)


IAMMETER@ Home Assistant

We do a lot of work on Home assistant this year. Such as support Modbus/TCP, MQTT integration, HACS etc.. This is a summary article, including both tutorial and video.