-
Notifications
You must be signed in to change notification settings - Fork 115
@ First time installation
Johan Meijer edited this page May 31, 2022
·
2 revisions
- Download grott from this github and place in the directory wanted
- Download Python3: https://www.python.org/downloads/windows/ (It is tested with 3.7, 2.x will not work)
- Install necessary python packages
- Assumption: PIP3 (Python installation manager) is installed with python otherwise install PIP3
- sudo pip3 install paho-mqtt
- sudo pip3 install requests
- Copy grott.ini from the examples libraries and customise it:
- By default grott will write standard messages to MQTT on the same system it is running (localhost)
- ip = x.x.x.x
- port = 1883
- nomqtt = True (in MQTT section, if you do not want to use MQTT)
- pvoutput = True
- #apikey = yourapikey
- #systemid = yoursystemid
more information on .ini customisation: https://github.com/johanmeijer/grott/wiki/Grott-Configuration
- Now you can test grott for the first time:
- at the command line in the grott directory
- python3 grott.py -v
- Grott will start and listen in proxy modes
- Stop grott (ctrl pause or ctrl break)
- Reroute the growatt logging to user windows system (your windows ip needs to be known)
- See wiki: https://github.com/johanmeijer/grott/wiki/Rerouting-Growatt-Wifi-TCPIP-data-via-your-Grott-Server
- Test Grott again (see above) the Growatt data will processed by Grott and sent to MQTT and/or PVOutput.org!
- Stop grott again (see above)
- Enable grott as a service (so it will run at the background and survive system reboots)