Dear all!
I’m receiving the data from my fronius solar inverter. Everything works fine until the sun is down. The device API doesn’t report the power value anymore, so I get errors in the log and sometimes the power value is stuck (last reported value of several watts). Is there anyway to avoid the errors or what’s in your opinion the best way for a workaround?
2017-08-14 01:02:44.019 [ERROR] [ab.binding.http.internal.HttpBinding] - Transformation 'JS(GetFroniusValuePAC.js)' threw an exception. [response={
"Body" : {
"Data" : {
"DAY_ENERGY" : {
"Unit" : "Wh",
"Value" : 0
},
"DeviceStatus" : {
"ErrorCode" : 306,
"LEDColor" : 1,
"LEDState" : 0,
"MgmtTimerRemainingTime" : 23,
"StateToReset" : false,
"StatusCode" : 3
},
"TOTAL_ENERGY" : {
"Unit" : "Wh",
"Value" : 17429430
},
"YEAR_ENERGY" : {
"Unit" : "Wh",
"Value" : 4737099
}
}
},
"Head" : {
"RequestArguments" : {
"DataCollection" : "CumulationInverterData",
"DeviceClass" : "Inverter",
"DeviceId" : "1",
"Scope" : "Device"
},
"Status" : {
"Code" : 0,
"Reason" : "",
"UserMessage" : ""
},
"Timestamp" : "2017-08-14T01:02:43+02:00"
}
}
]
org.openhab.core.transform.TransformationException: An error occurred while executing script.
at org.openhab.core.transform.TransformationHelper$TransformationServiceDelegate.transform(TransformationHelper.java:62)[191:org.openhab.core.compat1x:2.1.0]
at org.openhab.binding.http.internal.HttpBinding.execute(HttpBinding.java:189)[188:org.openhab.binding.http:1.10.0]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:157)[191:org.openhab.core.compat1x:2.1.0]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:169)[191:org.openhab.core.compat1x:2.1.0]
==> /var/log/openhab2/events.log <==
Regards,
Herbert