Skip to content

herugen/inverter-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Inverter simulator

This is a primitive mock inverter simulator for testing. Values are hardcoded and not based on any real data. It is intended to be used with Srcful Energy Gateway for testing purposes.

How to use

Python3 is required to run this.

python3 simulator.py -H 0.0.0.0

Default port is 502. You can change it with -p option. Ports below 1024 require root privileges.

python3 simulator.py -H 0.0.0.0 -p 502

Supported types are SolarEdge (default), Sungrow (and hybrid), Huawei and Growatt. You can change it with -t option.

python3 simulator.py -H 0.0.0.0 -t huawei

Running this using docker is also possible. You can use the following command to run it with default options.

docker build -t modbus-simulator . && docker run -p 502:502 modbus-simulator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published