The sun has just come up and the inverter has started up generating more than 50w. So the other side of ,my IF’s are being tested.
It works !!
2024-06-12 07:40:01 - Payload: {‘d’: ‘20240612’, ‘t’: ‘07:40’, ‘v2’: 51.239999999999995, ‘v4’: 872.76, ‘v11’: 51.239999999999995, ‘v12’: 872.76}
2024-06-12 07:45:00 - Initial payload: {‘d’: ‘20240612’, ‘t’: ‘07:45’, ‘v1’: 0, ‘v2’: 67, ‘v3’: 0, ‘v4’: 1057, ‘v5’: 0, ‘v6’: 0, ‘v7’: 0, ‘v8’: 0, ‘v9’: 0, ‘v10’: 0, ‘v11’: 67, ‘v12’: 1057}
2024-06-12 07:45:00 - Adjusted payload: {‘d’: ‘20240612’, ‘t’: ‘07:45’, ‘v1’: 0, ‘v2’: 56.28, ‘v3’: 0, ‘v4’: 887.88, ‘v5’: 0, ‘v6’: 0, ‘v7’: 0, ‘v8’: 0, ‘v9’: 0, ‘v10’: 0, ‘v11’: 56.28, ‘v12’: 887.88}
2024-06-12 07:45:01 - Sent data to PVOutput: 200 OK 200: Added Status
2024-06-12 07:45:01 - Payload: {‘d’: ‘20240612’, ‘t’: ‘07:45’, ‘v2’: 56.28, ‘v4’: 887.88, ‘v11’: 56.28, ‘v12’: 887.88}
This problem is a lot easier to solve in a version 3 Flukso as no IF statements are required. I will write some words on what I was trying to solve with the IF and why its much easier with the V3. Will do that shortly.
This solution using your scipt allowing the transfering of the Flukso data direct to Pvoutput is now working BETTER than Pvoutput getting the data from the Flukso site. It has solve problems with the data upload for the first time, I am still very impressed and thankfull for this script.
Not sure how many others have implemrnt this solution for their existing Flukso units so they are not thrown in the bin.
Will write up some words on v2 thus v3 shortly.
Thanks
Chris