Sorry, your browser does not support JavaScript!

How to install the IAMMETER`s simulator

How to install the IAMMETER`s simulator

Welcome to let us know your thoughts here Integrate a virtual 3-phase energy meter (open source) into HA,use it to optimize your solar pv system

Run the simulator from the source code

Down load the source code here :https://github.com/lewei50/iammeter-simulator

image-20221026161943144

Download & install .NET Runtime 6.0.10

Enter cmd or powershell ,run such command below

dotnet HomeSimulator.Web.dll

image-20221026162210121

Run the simulator from Docker

1.iammeter-simulator Docker Image

iammeter/iammeter-simulator - Docker Image | Docker Hub

image-20221026141935380

Running your IAMMETER Simulator Container

The IAMMETER Simulator image exposes a shared volume under /app/data, so you can mount a host directory to that point to access persisted container data,and binding the external port 8080 .A typical invocation of the container might be:

$ docker run -d --name=my-simulator --restart always \
    -p 80:8080 \
    -e TZ=Australia/Brisbane \
    -v $PWD/data:/app/data \
    iammeter/iammeter-simulator

Modify $PWD to the directory where you want to store data associated with the IamMeter container.

You can also have Docker control the volume mountpoint by using a named volume.

$ docker run -d --name=my-simulator --restart always \
    -p 80:8080\
    -e TZ=Australia/Brisbane \
    -v /iammeter-simulator/data:/app/data \
    iammeter/iammeter-simulator

You can find the list of available TZ(timezones) here.

Try it out, default user is admin/admin.

2.Install iammeter-simulator Docker Image in debian10

ssh to your debian10

image-20221026142605676

run the following command:

$ docker run -d --name=my-simulator --restart always \
    -p 80:8080\
    -e TZ=Australia/Brisbane \
    -v /iammeter-simulator/data:/app/data \
    iammeter/iammeter-simulator

image-20221026142834526

image-20221026142900863

image-20221026143831449

After the installation is complete, open your ip with a browser: 192.168.15.21

image-20221026144116559

Enter username and password admin/admin

image-20221026144203126

3.Install iammeter-simulator Docker Image in Synology DsikStation

open Docker,click Registry,search iammter,then double click iammeter/iammeter-simulator

image-20221026144913659

latest

image-20221026145113889

Image

image-20221026150514671

image-20221026150631843

image-20221026152545295

image-20221026150751836

Apply

image-20221026152615497

Open your ip with a browser: 192.168.12.99:8080 (admin/admin)

image-20221026152722020

Ref

IAMMETER-simulator introduction

How to use IAMMETER`s Wi-Fi energy meter in the Home Assistant

Top