-
Notifications
You must be signed in to change notification settings - Fork 115
Running Grott (stand alone)
To use the grott monitor it is necessary to reroute the data from the Growatt inverter to the Growatt internet server via a local Linux server (e.g. Raspberry PI) were grott is running. So the monitor can "sniffer" the IP packets that are sent to growatt. A description how to reroute data can be found at an other page in the wiki.
Grott is written in python (Python3) and use MQTT for sending out (json) messages. To use MQTT python paho-mqtt (https://www.eclipse.org/paho/clients/python/docs/) is needed. Install this first:
- sudo pip3 install paho-mqtt
From 2.1.2 and direct send to pvoutput.org enabled - sudo pip3 install requests
MQTT message are sent to a mqtt broker. I use mosquitto (https://mosquitto.org/) that is installed at the same Raspberry PI were Grott is running.
In my (raspberry pi) environment Grott is installed in the /home/pi/growatt directory. Copy grott.py and grott.ini to this directory.
Grott.ini needs to be modified to use it for your inverter. At least the inverterid needs to be specified. For more detailed information on the parameters to be used in grott.ini see other page in the wiki:
Grott is using socket to sniffer the data. Root / sudo rights are needed to run Grott.py
The most simple way of starting grott in the foreground is:
cd /home/pi/growatt
- (sudo) python3 grott.py
**sudo only needed if mode = sniff
If more information is needed on how grott is performing use the verbose commandline option (-v --verbose)
- sudo python3 grott.py -v
Help on is available via the -h --help command line option.
- sudo python3 grott.py -h
Help output: