Growatt-WiFi-Tools
Growatt-WiFi-Tools copied to clipboard
Start server as service
When I use your systemd files it keep spawing new instances. After booting I already have 2 instances... en they keep coming, why?
running on a raspberry pi.
1523 ? Ss 0:01 /usr/bin/perl /home/pi/Growatt-WiFi-Tools/scripts/growatt_server.pl --systemd --datadir=/home/pi/Growatt-WiFi-Tools/data/
1695 ? Ss 0:01 /usr/bin/perl /home/pi/Growatt-WiFi-Tools/scripts/growatt_server.pl --systemd --datadir=/home/pi/Growatt-WiFi-Tools/data/
1896 ? Ss 0:01 /usr/bin/perl /home/pi/Growatt-WiFi-Tools/scripts/growatt_server.pl --systemd --datadir=/home/pi/Growatt-WiFi-Tools/data/
A wild guess is that your Growatt is continously reconnecting. Do the log files show anything interesting? You can change the systemd file to pass --debug to the server, it should write extensive information to the log file.
Check it out when the sun is up :-)