Adapter does work for a certain time then
Closed this issue · 2 comments
Describe the bug
The adapter runs fine for a while. after a certain time (I don´t know how long exactly) it stops working.
The instance is still on status green and online, it also does not show error messages.
The commands just don't work anymore.
When set to debug mode I get the following message:
`
stateChange netatmo.0.6399add789acb50ee7026759.0000696453.open {"val":false,"ack":false,"ts":1689422081027,"q":0,"c":"script.js.Bubendorff_Rolladen.Rolläden_mit_Loxone_steuern","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1689422081027}
stateChange netatmo.0.6399add789acb50ee7026759.0000696453.open {"val":true,"ack":false,"ts":1689422080795,"q":0,"c":"script.js.Bubendorff_Rolladen.Rolläden_mit_Loxone_steuern","from":"system.adapter.javascript.0","user":"system.user.admin","lc":1689422080795}`
After a restart the adapter works just fine.
Versions:
- Adapter version: 3.1
- JS-Controller version: 5.07
- Node version: 18.16.1
- Operating system: raspbian buster
Then it would be cool to run the adapter fully with debug log and let it run until the oerror happens and try to find the last working part and "the time before/after" logs to check
Looks like it could be a problem related to JS-Controller. After updating to 5.08 it seems to work fine. I‘ll keep an eye on it and will reopen the ticket if the error still occurs.