Ginlong Wind and Solar wifi-stick workaround
Posted: Sunday 10 December 2023 9:00
Hi,
recently the cloud from Ginlong ( https://ginlongmonitoring.com) has stopped to work and i could not read anymore in Domoticz the data by my Ginlong Wind inverter.
The script collect data in json format and read always the last update data into the file to keep update and sync Domoticz.
I have then implmented this script to log and push data locally based on the original code from graham0 (https://github.com/graham0/ginlong-wifi).
The log file 'domoticz-log.json' contains following values separated as follows:
{ "kwh_day": 8.8, "kwh_month": 12, "ac_amps": 4.0, "timestamp": "2023-12-02 10:01", "kwh_yesterday": 3.0, "kwh_lastmonth": 133, "dc_volts2": 0.0, "dc_amps1": 3.7, "dc_amps2": 0.0, "temp": 27.6, "ac_volts": 244.8, "ac_freq": 49.95, "kwh_total": 7538.0, "watt_now": 979, "dc_volts1": 246.6 }
The script 'upldata.sh' will read and push data in Domoticz to update sensors. Use crontab -e in your linux machine to automate the job in Domoticz.
Please feel free to use it and help me if possible for improvement in Domoticz.
Code available at https://github.com/p3pp3-hash/ginlongfy.
Enjoy!
recently the cloud from Ginlong ( https://ginlongmonitoring.com) has stopped to work and i could not read anymore in Domoticz the data by my Ginlong Wind inverter.
The script collect data in json format and read always the last update data into the file to keep update and sync Domoticz.
I have then implmented this script to log and push data locally based on the original code from graham0 (https://github.com/graham0/ginlong-wifi).
The log file 'domoticz-log.json' contains following values separated as follows:
{ "kwh_day": 8.8, "kwh_month": 12, "ac_amps": 4.0, "timestamp": "2023-12-02 10:01", "kwh_yesterday": 3.0, "kwh_lastmonth": 133, "dc_volts2": 0.0, "dc_amps1": 3.7, "dc_amps2": 0.0, "temp": 27.6, "ac_volts": 244.8, "ac_freq": 49.95, "kwh_total": 7538.0, "watt_now": 979, "dc_volts1": 246.6 }
The script 'upldata.sh' will read and push data in Domoticz to update sensors. Use crontab -e in your linux machine to automate the job in Domoticz.
Please feel free to use it and help me if possible for improvement in Domoticz.
Code available at https://github.com/p3pp3-hash/ginlongfy.
Enjoy!