Skip to content

@ First time installation

Johan Meijer edited this page May 31, 2022 · 2 revisions

This is a short list on how to install Grott the first time (Proxy mode)

  1. Download grott from this github and place in the directory wanted
  2. Download Python3: https://www.python.org/downloads/windows/ (It is tested with 3.7, 2.x will not work)
  3. 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
  1. 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)
this can be changed in the MQTT section of .ini
  • ip = x.x.x.x
  • port = 1883
uncomment this statements and modify using your PVOutput.org credentials
  • 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
  1. 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)
  1. Reroute the growatt logging to user windows system (your windows ip needs to be known)
  1. Test Grott again (see above) the Growatt data will processed by Grott and sent to MQTT and/or PVOutput.org!
  2. Stop grott again (see above)
  3. Enable grott as a service (so it will run at the background and survive system reboots)