-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: 'onHeartbeat' failed 'KeyError'. #2
Comments
Perhaps because you have energy saving mode on at night!? |
Yes, you'r right. |
Yes, you can try to switch it off. Id didn't use this plugin, because I have 2 devices, so my device ID is system, which is not supported by this plugin. But I use the same API-call. And I disabled energy saving at night and it works. So give it a try! |
Other solution is only to disable the calls at night. I think, this can only be done by the developer. Or yoou change the code by yourself. In my case I also collect the consuption, which is also running during night ;). |
Thank you for your help. |
I checked Settings and manual and also can't find. Perhaps its in the menue at the hardware. This setting was done from my installateur. Perhaps you can ask your installateur if you will not find the setting. |
I've found Nightmode, but it is only for the display panel |
No, it's not only for the display panel. |
Hi, def isInverterActive(self, jsonObject): |
With the help from this thread I started to modify the plugin a bit so it continues to work for me with the necessary additional checks. |
Hi @aukedejong and a big thank you for that!
The plugin work very well, but, at night, i have errors like that, every 30s
2021-04-10 07:21:24.184 Error: (Mon onduleur) 'onHeartbeat' failed 'KeyError'.
2021-04-10 07:21:24.184 Error: (Mon onduleur) ----> Line 181 in '/home/pi/domoticz/plugins/domoticz-fronius-inverter-plugin/plugin.py', function onHeartbeat
2021-04-10 07:21:24.184 Error: (Mon onduleur) ----> Line 65 in '/home/pi/domoticz/plugins/domoticz-fronius-inverter-plugin/plugin.py', function onHeartbeat
2021-04-10 07:21:24.184 Error: (Mon onduleur) ----> Line 125 in '/home/pi/domoticz/plugins/domoticz-fronius-inverter-plugin/plugin.py', function updateDeviceCurrent
I don't understand why.
Can you help me?
The text was updated successfully, but these errors were encountered: