Closed SebastianSchultz closed 2 months ago
Okay - strange.
thank you very much for the logfile .
Sometimes the polling of battery data fails and sometimes it works. When it fails it results in this undefined
.
I need to take a deeper look into it.
Please be patient - it may take some weeks, since I'm currently unavailable.
EDIT:
Just took a quick look into the code and have a first guess:
May you please check whether the undefined
always and only happens when initializing the adapter? In other words: when you start it.
No the message appears when I activate the Status query for the battery.
Okay - I think I didn't made myself clear enough. When you change the config of the adapter it gets restarted by ioBroker to initialize newly. This is what I ment in my last post. And when I read the log correctly this "undefined" error only happens on the first run after each restart, from the second run/poll intervall on it gets the battery state correctly.
And I asked you to proof and corfirm or deny this theory.
Yes your rights. The message appears every time on adapter start.
Describe the bug
Sporadically I get the error message "undefined" in the ioBroker log.
To Reproduce
Sorry, I have no method to reproduce the error. I think it is produced by the status or info requests.
Expected behavior
No error message :)
Screenshots & Logfiles
iobroker.log
Versions:
Additional context
None