XtheOne / Inverter-Data-Logger

Data logger for Omnik/Hosola and other Solarman Wi-Fi kit powered Solar Inverters
GNU General Public License v3.0
120 stars 29 forks source link

Add Listen Server #19

Closed XtheOne closed 6 years ago

XtheOne commented 6 years ago

Add a server script so that a 2nd server can be defined in the logger itself.

XtheOne commented 6 years ago

New script added. InverterServer.py

XtheOne commented 6 years ago

It works and no tester reported any problems so closing this one.

conradhagemans commented 5 years ago

Need some help. Script works fine. I have output to MySQL, MQTT and PVOUTPUT. How can I run this script on my Ubuntu 18.04 server at startup? I know I have to create a script file in the /etc/systemd/system folder Will the InverterServer.py script find the config file? Has someone a sample startup script? Thanks.