Skip to content

knowthelist/Growatt-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

GROWATT-SERVER

Growatt-server is a Perl script used for Growatt solar inverters with ShineWiFi-X modules. Growatt-server can be used to communicate with a solar inverter, decode energy data, and publish these data via MQTT.

Installation

git clone https://github.com/knowthelist/Growatt-server.git
cd Growatt-server

If not done before, you need to install some modules

sudo cpanm Net::MQTT::Simple
sudo cpanm Net::MQTT::Constants
sudo cpanm Data::Hexify

Usage

First, you need to use the Growatt WiFi module administrative interface, go to the "Advanced Setting" and change "Server Address" (default: server.growatt.com) to the name or ip of the system running this script. You will also need to configure the computer running this script with a static IP address.

See AP-Mode manual

Start the script:

perl growatt_server.pl

For debugging add --debug=N (N: 1-4) parameter:

perl growatt_server.pl --debug=3

Daemon

To run the script 24x7 as a service, you can use the growattserver.service config for systemd.

sudo cp growatt_server.pl /usr/local/bin/
sudo cp growattserver.service /etc/systemd/system/
sudo systemctl enable growattserver
sudo systemctl start growattserver

Tested devices

  • Growatt MIC-600TL-X Inverter
  • Growatt ShineWiFI-X - WiFi-Stick.

License

This project is licensed under MIT.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages