NEWS
Neato Botvac adapter - further development
-
I'm so glad to have automatic backup enabled on my server... Went back 2 months and it works again. I only moved my most recent objects.jsonl back to the folder. I'm not sure what happened in-between.
Just did diag and it looks good. (Will update adapters one by one...)======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Debian GNU/Linux 11 (bullseye) Kernel: 4.4.180+ Installation: Docker Timezone: Etc/UTC User-ID: 0 X-Server: false Pending OS-Updates: 0 Pending iob updates: 13 Nodejs-Installation: /usr/bin/nodejs v18.17.1 /usr/bin/node v18.17.1 /usr/bin/npm 9.6.7 /usr/bin/npx 9.6.7 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 9.8G 3.5G 555M 565M 5.8G 5.5G Swap: 7.9G 434M 7.5G Total: 17G 3.9G 8.1G Active iob-Instances: 35 Active repo(s): default, beta ioBroker Core: js-controller 4.0.24 admin 6.5.9 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 16657 States: 14206 Size of iob-Database: 26M /opt/iobroker/iobroker-data/objects.jsonl 13M /opt/iobroker/iobroker-data/objects.json.migrated 13M /opt/iobroker/iobroker-data/objects.json.bak.migrated 24M /opt/iobroker/iobroker-data/states.jsonl 1.9M /opt/iobroker/iobroker-data/states.json.migrated 1.9M /opt/iobroker/iobroker-data/states.json.bak.migrated =================== END OF SUMMARY ====================
-
-
@thomas-braun fixed and thanks for the help.
Will now update adapters. I'm curious if js adapter will cause again the issue.
Edit: All adapters updated. No problem.
Now final step: js controller 4.0.24 -> 5.0.12 - let's see -
@thomas-braun so now I found the issue.
js controller update is causing issue.
Maybe the way I'm doing it is not correct.
Here is what I did:
iobroker console:pkill -u iobroker iobroker update iobroker upgrade self
-> js controller gets upgraded, but now I have the old problem.
What am I'm doing wrong? -
@csp sagte in Neato Botvac adapter - further development:
What am I'm doing wrong?
Nothing. It seems as if the adapter needs to be adjusted to the current js-controller.
-
@PeterVoronov -> maybe something you could take a look...
Until then I'll stay on 4.0.24 -
@csp
Unfortunatelly I can't do a lot, mostly nothing.- I'm not an author of the adapter
- Currently I have newsest js-controller installed, but adapter at least started for me. I can't check more, then start of adapter.
- And, unfortunately, I have no any Neato device now(it's died year ago). So, I can't check the further steps ...
.
-
@petervoronov : One thing I see is your version number 1.0.4. I'm using 1.0.0 stable.
How to get the 1.0.4? Maybe this already solves the issue.
Thomas -
I was able to pull v1.0.4. But it fails as well. There is a difference though. It gets green and crashes afterwards.
I'll now stay with my former version of js-controller and hope that the developer can fix it at some point.host.iobroker 2023-09-07 17:33:49.629 error instance system.adapter.botvac.0 terminated with code 6 (UNCAUGHT_EXCEPTION) botvac.0 2023-09-07 17:33:49.510 info terminating botvac.0 2023-09-07 17:33:49.074 warn State value to set for "botvac.0.obergeschoss.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-07 17:33:49.073 warn State value to set for "botvac.0.obergeschoss.commands.spotWidth" has value "0" less than min "100" botvac.0 2023-09-07 17:33:49.069 warn State value to set for "botvac.0.unten.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-07 17:33:49.068 warn State value to set for "botvac.0.unten.commands.spotWidth" has value "0" less than min "100" botvac.0 2023-09-07 17:33:49.008 warn Terminated (UNCAUGHT_EXCEPTION): Without reason botvac.0 2023-09-07 17:33:49.006 info terminating botvac.0 2023-09-07 17:33:49.003 error undefined is not a valid state value botvac.0 2023-09-07 17:33:49.003 error Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5439:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5400:21) at /opt/iobroker/node_modules/iobroker.botvac/main.js:514:17 at Robot.<anonymous> (/opt/iobroker/node_modules/node-botvac/lib/robot.js:77:17) at /opt/iobroker/node_modules/node-botvac/lib/robot.js:610:17 at /opt/iobroker/node_modules/node-botvac/lib/api.js:40:45 at <anonymous> at process.processTicksAndRejections (node:internal/process/task_queues:95:5) botvac.0 2023-09-07 17:33:49.002 error unhandled promise rejection: undefined is not a valid state value botvac.0 2023-09-07 17:33:49.001 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). botvac.0 2023-09-07 17:33:48.994 error undefined is not a valid state value botvac.0 2023-09-07 17:33:48.993 error Error: undefined is not a valid state value at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/build/lib/common/maybeCallback.js:35:17) at AdapterClass._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5439:49) at AdapterClass.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/lib/adapter/adapter.js:5400:21) at /opt/iobroker/node_modules/iobroker.botvac/main.js:514:17 at Robot.<anonymous> (/opt/iobroker/node_modules/node-botvac/lib/robot.js:77:17) at /opt/iobroker/node_modules/node-botvac/lib/robot.js:610:17 at /opt/iobroker/node_modules/node-botvac/lib/api.js:40:45 at <anonymous> at process.processTicksAndRejections (node:internal/process/task_queues:95:5) botvac.0 2023-09-07 17:33:48.991 error unhandled promise rejection: undefined is not a valid state value botvac.0 2023-09-07 17:33:48.990 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). botvac.0 2023-09-07 17:33:47.677 warn Device"unten" with id: unten is not exists in cloud any more! botvac.0 2023-09-07 17:33:46.740 info devices found: 2 botvac.0 2023-09-07 17:33:44.228 info starting. Version 1.0.4 (non-npm: iobroker-community-adapters/ioBroker.botvac) in /opt/iobroker/node_modules/iobroker.botvac, node: v18.17.1, js-controller: 5.0.12
-
@csp If you have time for it - please try start 1.0.4 version with debug log.
Other option - you can share via PM your credentials - and I will try to find a time to look for the solution. -
@petervoronov
this is with JS 4.0.24:
Later I can try to upgrade and check againbotvac.0 2023-09-08 08:30:20.179 debug get schedule {"enabled":false,"events":[]} botvac.0 2023-09-08 08:30:20.174 warn State value to set for "botvac.0.unten.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-08 08:30:20.173 warn State value to set for "botvac.0.unten.commands.spotWidth" has value "0" less than min "100" botvac.0 2023-09-08 08:30:20.151 info undefined is not a valid state value for id "botvac.0.unten.status.canPause" botvac.0 2023-09-08 08:30:20.150 debug robot: {"_nucleoBaseUrl":"https://nucleo.neatocloud.com:4443/vendors/neato/robots/","_beehiveBaseUrl":"https://beehive.neatocloud.com/users/me/robots/","name":"unten","_serial":"OPS39718-F045DA6FF249","_secret":"D0E3BFDA3824F493627EE28D882CE4963BF6A0A112FEF9CB0EDC7C0E7E273ADA74F0D7DFD29510271AA4E69BB72CBA100410604DAEBF66E611D052A75502373BE1A61A12D177E4FE94F8369B63BCF3DA76E2C481D5AC29EBAEC36BB0C9A080E501F23A01A81485F1F59F526ACBCC376FBDDF97F9E23692CF1D9A35D19117F48B","_token":"Token token=77962ed80b7e7e2c9898ea76ad40d9c3","availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-3","IECTest":"advanced-1","logCopy":"basic-1","maps":"macro-1","preferences":"basic-2","schedule":"minimal-1","softwareUpdate":"basic-1","spotCleaning":"minimal-2","wifi":"basic-1"},"isBinFull":false,"isCharging":true,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99,"canStart":false,"canStop":false,"canPause":false,"canResume":false,"canGoToBase":false,"eco":false,"noGoLines":true,"navigationMode":1,"spotWidth":0,"spotHeight":0,"spotRepeat":false} state:{"version":1,"reqId":"77","result":"ok","data":{},"error":"dustbin_full","alert":null,"state":4,"action":11,"cleaning":{"category":4,"mode":2,"modifier":1,"navigationMode":1,"mapId":"","spotWidth":0,"spotHeight":0},"details":{"isCharging":true,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99},"availableCommands":{"start":false,"stop":false,"pause":false,"resume":false,"goToBase":false},"availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-3","IECTest":"advanced-1","logCopy":"basic-1","maps":"macro-1","preferences":"basic-2","schedule":"minimal-1","softwareUpdate":"basic-1","spotCleaning":"minimal-2","wifi":"basic-1"},"meta":{"modelName":"BotVacD5Connected","firmware":"4.5.3-189"}} botvac.0 2023-09-08 08:30:20.093 warn State value to set for "botvac.0.obergeschoss.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-08 08:30:20.091 warn State value to set for "botvac.0.obergeschoss.commands.spotWidth" has value "0" less than min "100" botvac.0 2023-09-08 08:30:20.045 info undefined is not a valid state value for id "botvac.0.obergeschoss.status.canPause" botvac.0 2023-09-08 08:30:20.042 debug robot: {"_nucleoBaseUrl":"https://nucleo.neatocloud.com:4443/vendors/neato/robots/","_beehiveBaseUrl":"https://beehive.neatocloud.com/users/me/robots/","name":"obergeschoss","_serial":"OPS36118-F045DA70530D","_secret":"AB23FB0FDE9112F5DA12884631EC2C3A2A89E6F056C9C3E41EF3E616CB0C9747E5DB596626D3BB1581D0F71D6C2058E87D234DACE2485D297F3B8716242BF614D06DB2574BF401C273467B7A45701B91DDE7BEE7444E222AF8337B81214BC0BFF8031D83789CCD1077016184F9EC2D193E9B115D3A89CB0A37AC908498CB0D13","_token":"Token token=77962ed80b7e7e2c9898ea76ad40d9c3","availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-4","IECTest":"advanced-1","logCopy":"basic-1","manualCleaning":"basic-1","maps":"basic-2","preferences":"basic-2","schedule":"basic-2","softwareUpdate":"basic-1","spotCleaning":"basic-3","wifi":"basic-1"},"isBinFull":true,"isCharging":false,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99,"canStart":false,"canStop":false,"canPause":false,"canResume":false,"canGoToBase":false,"eco":false,"noGoLines":true,"navigationMode":1,"spotWidth":0,"spotHeight":0,"spotRepeat":false} state:{"version":1,"reqId":"77","result":"ok","data":{},"error":"dustbin_full","alert":"dustbin_full","state":4,"action":11,"cleaning":{"category":4,"mode":2,"modifier":1,"navigationMode":1,"mapId":"","spotWidth":0,"spotHeight":0},"details":{"isCharging":false,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99},"availableCommands":{"start":false,"stop":false,"pause":false,"resume":false,"goToBase":false},"availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-4","IECTest":"advanced-1","logCopy":"basic-1","manualCleaning":"basic-1","maps":"basic-2","preferences":"basic-2","schedule":"basic-2","softwareUpdate":"basic-1","spotCleaning":"basic-3","wifi":"basic-1"},"meta":{"modelName":"BotVacD7Connected","firmware":"4.5.3-189"}} botvac.0 2023-09-08 08:30:20.012 debug get schedule {"type":1,"enabled":false,"events":[]} botvac.0 2023-09-08 08:30:18.831 warn Device"unten" with id: unten is not exists in cloud any more! botvac.0 2023-09-08 08:30:18.313 info devices found: 2 botvac.0 2023-09-08 08:30:15.559 info starting. Version 1.0.4 (non-npm: iobroker-community-adapters/ioBroker.botvac) in /opt/iobroker/node_modules/iobroker.botvac, node: v18.17.1, js-controller: 4.0.24 botvac.0 2023-09-08 08:30:10.069 info Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason botvac.0 2023-09-08 08:30:10.068 info terminating botvac.0 2023-09-08 08:30:10.067 info Got terminate signal TERMINATE_YOURSELF botvac.0 2023-09-08 08:29:38.719 warn State value to set for "botvac.0.obergeschoss.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-08 08:29:38.718 warn State value to set for "botvac.0.obergeschoss.commands.spotWidth" has value "0" less than min "100" botvac.0 2023-09-08 08:29:38.707 info undefined is not a valid state value for id "botvac.0.obergeschoss.status.canPause" botvac.0 2023-09-08 08:29:38.706 debug robot: {"_nucleoBaseUrl":"https://nucleo.neatocloud.com:4443/vendors/neato/robots/","_beehiveBaseUrl":"https://beehive.neatocloud.com/users/me/robots/","name":"obergeschoss","_serial":"OPS36118-F045DA70530D","_secret":"AB23FB0FDE9112F5DA12884631EC2C3A2A89E6F056C9C3E41EF3E616CB0C9747E5DB596626D3BB1581D0F71D6C2058E87D234DACE2485D297F3B8716242BF614D06DB2574BF401C273467B7A45701B91DDE7BEE7444E222AF8337B81214BC0BFF8031D83789CCD1077016184F9EC2D193E9B115D3A89CB0A37AC908498CB0D13","_token":"Token token=37c8b0e205312639b061254cedc49131","availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-4","IECTest":"advanced-1","logCopy":"basic-1","manualCleaning":"basic-1","maps":"basic-2","preferences":"basic-2","schedule":"basic-2","softwareUpdate":"basic-1","spotCleaning":"basic-3","wifi":"basic-1"},"isBinFull":true,"isCharging":false,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99,"canStart":false,"canStop":false,"canPause":false,"canResume":false,"canGoToBase":false,"eco":false,"noGoLines":true,"navigationMode":1,"spotWidth":0,"spotHeight":0,"spotRepeat":false} state:{"version":1,"reqId":"77","result":"ok","data":{},"error":"dustbin_full","alert":"dustbin_full","state":4,"action":11,"cleaning":{"category":4,"mode":2,"modifier":1,"navigationMode":1,"mapId":"","spotWidth":0,"spotHeight":0},"details":{"isCharging":false,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99},"availableCommands":{"start":false,"stop":false,"pause":false,"resume":false,"goToBase":false},"availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-4","IECTest":"advanced-1","logCopy":"basic-1","manualCleaning":"basic-1","maps":"basic-2","preferences":"basic-2","schedule":"basic-2","softwareUpdate":"basic-1","spotCleaning":"basic-3","wifi":"basic-1"},"meta":{"modelName":"BotVacD7Connected","firmware":"4.5.3-189"}} botvac.0 2023-09-08 08:29:38.649 debug get schedule {"type":1,"enabled":false,"events":[]} botvac.0 2023-09-08 08:29:38.588 debug get schedule {"enabled":false,"events":[]} botvac.0 2023-09-08 08:29:38.570 warn State value to set for "botvac.0.unten.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-08 08:29:38.566 warn State value to set for "botvac.0.unten.commands.spotWidth" has value "0" less than min "100" botvac.0 2023-09-08 08:29:38.541 info undefined is not a valid state value for id "botvac.0.unten.status.canPause" botvac.0 2023-09-08 08:29:38.538 debug robot: {"_nucleoBaseUrl":"https://nucleo.neatocloud.com:4443/vendors/neato/robots/","_beehiveBaseUrl":"https://beehive.neatocloud.com/users/me/robots/","name":"unten","_serial":"OPS39718-F045DA6FF249","_secret":"D0E3BFDA3824F493627EE28D882CE4963BF6A0A112FEF9CB0EDC7C0E7E273ADA74F0D7DFD29510271AA4E69BB72CBA100410604DAEBF66E611D052A75502373BE1A61A12D177E4FE94F8369B63BCF3DA76E2C481D5AC29EBAEC36BB0C9A080E501F23A01A81485F1F59F526ACBCC376FBDDF97F9E23692CF1D9A35D19117F48B","_token":"Token token=37c8b0e205312639b061254cedc49131","availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-3","IECTest":"advanced-1","logCopy":"basic-1","maps":"macro-1","preferences":"basic-2","schedule":"minimal-1","softwareUpdate":"basic-1","spotCleaning":"minimal-2","wifi":"basic-1"},"isBinFull":false,"isCharging":true,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99,"canStart":false,"canStop":false,"canPause":false,"canResume":false,"canGoToBase":false,"eco":false,"noGoLines":true,"navigationMode":1,"spotWidth":0,"spotHeight":0,"spotRepeat":false} state:{"version":1,"reqId":"77","result":"ok","data":{},"error":"dustbin_full","alert":null,"state":4,"action":11,"cleaning":{"category":4,"mode":2,"modifier":1,"navigationMode":1,"mapId":"","spotWidth":0,"spotHeight":0},"details":{"isCharging":true,"isDocked":true,"isScheduleEnabled":false,"dockHasBeenSeen":false,"charge":99},"availableCommands":{"start":false,"stop":false,"pause":false,"resume":false,"goToBase":false},"availableServices":{"findMe":"basic-1","generalInfo":"basic-1","houseCleaning":"basic-3","IECTest":"advanced-1","logCopy":"basic-1","maps":"macro-1","preferences":"basic-2","schedule":"minimal-1","softwareUpdate":"basic-1","spotCleaning":"minimal-2","wifi":"basic-1"},"meta":{"modelName":"BotVacD5Connected","firmware":"4.5.3-189"}} botvac.0 2023-09-08 08:29:37.237 warn Device"unten" with id: unten is not exists in cloud any more! botvac.0 2023-09-08 08:29:36.792 info devices found: 2 botvac.0 2023-09-08 08:29:34.330 info starting. Version 1.0.4 (non-npm: iobroker-community-adapters/ioBroker.botvac) in /opt/iobroker/node_modules/iobroker.botvac, node: v18.17.1, js-controller: 4.0.24
-
@csp I made a pull request to fix this exact issue.
I don't know how fast it will be applied ...
You can try to install it from my fork - https://github.com/PeterVoronov/ioBroker.botvac/tree/patch-1
In Adapter tab you have to enble expert mode, select custom install and select install from url
-
@petervoronov Hi and thanks!
Had the same problem und fixed it with the patch-linkEdit:
But recognized that it causes some warnings now, recurring in frequence of 1 minute:botvac.0 2023-09-15 12:46:06.971 warn State value to set for "botvac.0.Freddi.commands.spotHeight" has value "0" less than min "100" botvac.0 2023-09-15 12:46:06.970 warn State value to set for "botvac.0.Freddi.commands.spotWidth" has value "0" less than min "100"
Tried to set the objects manually to '100', but they are overwritten by the machine's data after a minute.
Okay, the minute was my polling intervall -
@petervoronov said in Neato Botvac adapter - further development:
@csp I made a pull request to fix this exact issue.
I don't know how fast it will be applied ...
Thanks for the PR
The adapter has been moved to iobroker-community-adapters recently. I'm currently trying to get it to the ciurrent level of infrastructure (standard github based tests, release and deploy scripts, update dependencies - NO planned code changes).
I've released a alpha version incorporating most changes (2.0.0-alpha.0) installing via github and as npm - but not yet listes at repositories.
I would be glad to get some feedback if I did not break things and the code works like the mentioned branch level above.
mcm1957
P.S: Feel free to open a issue at botvac rep if I miss any answer here
-
@mcm57 hi, have installed the 2.0 alpha today afternoon and no errors. Only some warnings but as i read i can ignore them.
2023-09-18 18:51:00.735 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Keller.commands.spotWidth" has value "0" less than min "100" 2023-09-18 18:51:00.736 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Keller.commands.spotHeight" has value "0" less than min "100" 2023-09-18 18:51:00.738 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Erdgeschoss.commands.spotWidth" has value "0" less than min "100" 2023-09-18 18:51:00.739 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Erdgeschoss.commands.spotHeight" has value "0" less than min "100" 2023-09-18 18:51:00.741 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Obergeschoss.commands.spotWidth" has value "0" less than min "100" 2023-09-18 18:51:00.742 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Obergeschoss.commands.spotHeight" has value "0" less than min "100"
-
@johgre said in Neato Botvac adapter - further development:
@mcm57 hi, have installed the 2.0 alpha today afternoon and no errors. Only some warnings but as i read i can ignore them.
2023-09-18 18:51:00.735 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Keller.commands.spotWidth" has value "0" less than min "100" 2023-09-18 18:51:00.736 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Keller.commands.spotHeight" has value "0" less than min "100" 2023-09-18 18:51:00.738 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Erdgeschoss.commands.spotWidth" has value "0" less than min "100" 2023-09-18 18:51:00.739 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Erdgeschoss.commands.spotHeight" has value "0" less than min "100" 2023-09-18 18:51:00.741 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Obergeschoss.commands.spotWidth" has value "0" less than min "100" 2023-09-18 18:51:00.742 - [33mwarn[39m: botvac.0 (53528) State value to set for "botvac.0.Obergeschoss.commands.spotHeight" has value "0" less than min "100"
Danke für das Feeback.
Ich werde dann mal eine 2.0.0 ins latest schicken.
Bezüglich der Warnings erstell bitte ein issue und falls irgendwelche Infos bekannt wann diese Meldungen auftreten, bitte dazu scheiben. Detto bitte die verwendeten Versionen (Dapter, js-controller, ...)
Aus Zeitgründen kann ich nicht zusagen ob / wann ich was tun kann. Aber wir sollten die Warnings nicht unter den Teppich kehren.
Sorry, I missed that this topic is located at english forum - so english text is delivered lately:
I will release a 2.0.0 for latest
In regard to warnings please create a issue and add infos if some environment is known which causes these warnings. Please add the related versions too (adapter, js-controller)
Du to time limitation I cannot promise any timeframe to check.
-
@mcm57 zu dem Thema gibts schon ein (älteres) Issue
js-controller 5.0.12
botvac-adapter 2.0 alphahttps://github.com/iobroker-community-adapters/ioBroker.botvac/issues/29
-
@johgre
Danke.2.0.0 ist auf dem Weg ins
stablelatest (natürlich). Hab noch diverse Dinge angepasst da der Adapter in den community Bereich übersiedelt ist.2.0.0 sollte ab Morgen im latest sein. Sollten Probleme damit auftreten, bitte mich ev. zusätzlich pingen wenn ich ein post übersehe
Sorry missie english root
2.0.0 is on the way to latest. I've adjusted several things due to migration of adapter into iobroker-community-adapters.
2.0.0 should be available at latest tomorrow. If any problems occure, please ping me if I miss a posting.
-
@mcm57 Hallo,
plötzlich heute morgen hat der Adapter Fehler geworfen und ist in den Restart loop gekommen und ist dann vom js-controller deaktiviert worden. Anbei die Info-Log aus dieser Zeit.
Was möglicherweise der Auslöser sein könnte ist, dass einer der Roboter nicht erreichbar ist. Steht in einem andern Haus und dort dürfte gerade das Internet nicht funktionieren. Aber kann das den Adapter niederreissen?edit: Nachdem der Roboter wieder im Netz war ließ sich der Adapter wieder problemlos starten.
https://github.com/iobroker-community-adapters/ioBroker.botvac/issues/46
2023-09-19 08:01:00.704 - warn: botvac.0 (57835) could not update robot Turnverein Oben 2023-09-19 08:01:00.705 - warn: botvac.0 (57835) could not update robot Turnverein Oben 2023-09-19 08:01:00.709 - warn: botvac.0 (57835) Read-only state "botvac.0.Turnverein Oben.status.reachable" has been written without ack-flag with value "true" 2023-09-19 08:01:00.755 - warn: botvac.0 (57835) Read-only state "botvac.0.Turnverein Oben.status.reachable" has been written without ack-flag with value "true" 2023-09-19 08:02:14.587 - warn: botvac.0 (57835) could not update robot Turnverein Oben 2023-09-19 08:02:16.367 - info: botvac.0 (57835) devices found: 3 2023-09-19 08:02:16.395 - warn: botvac.0 (57835) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:02:16.635 - warn: botvac.0 (57835) Device"Erdgeschoss" with id: Erdgeschoss is not exists in cloud any more! 2023-09-19 08:02:16.636 - warn: botvac.0 (57835) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:02:16.969 - warn: botvac.0 (57835) Device"Erdgeschoss" with id: Erdgeschoss is not exists in cloud any more! 2023-09-19 08:02:16.969 - warn: botvac.0 (57835) Device"Keller" with id: Keller is not exists in cloud any more! 2023-09-19 08:02:16.969 - warn: botvac.0 (57835) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:02:17.201 - error: botvac.0 (57835) uncaught exception: Cannot read properties of undefined (reading 'getState') 2023-09-19 08:02:17.202 - error: botvac.0 (57835) TypeError: Cannot read properties of undefined (reading 'getState') at updateRobot (/opt/iobroker/node_modules/iobroker.botvac/main.js:476:11) at update (/opt/iobroker/node_modules/iobroker.botvac/main.js:467:9) at Immediate. (/opt/iobroker/node_modules/iobroker.botvac/main.js:456:25) at process.processImmediate (node:internal/timers:478:21) 2023-09-19 08:02:17.203 - error: botvac.0 (57835) Cannot read properties of undefined (reading 'getState') 2023-09-19 08:02:17.224 - info: botvac.0 (57835) terminating 2023-09-19 08:02:17.225 - warn: botvac.0 (57835) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-09-19 08:02:17.729 - info: botvac.0 (57835) terminating 2023-09-19 08:02:17.844 - error: host.VM-Slave instance system.adapter.botvac.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-09-19 08:02:49.398 - info: botvac.0 (78675) starting. Version 2.0.0-alpha.1 (non-npm: iobroker-community-adapters/ioBroker.botvac#48bc291c4416ec4a5393cecf340ec39162a7138c) in /opt/iobroker/node_modules/iobroker.botvac, node: v18.17.1, js-controller: 5.0.12 2023-09-19 08:02:51.991 - warn: botvac.0 (78675) could not update robot Turnverein Oben 2023-09-19 08:02:54.176 - info: botvac.0 (78675) devices found: 3 2023-09-19 08:02:54.209 - warn: botvac.0 (78675) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:02:54.558 - warn: botvac.0 (78675) Device"Erdgeschoss" with id: Erdgeschoss is not exists in cloud any more! 2023-09-19 08:02:54.559 - warn: botvac.0 (78675) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:02:54.826 - warn: botvac.0 (78675) Device"Erdgeschoss" with id: Erdgeschoss is not exists in cloud any more! 2023-09-19 08:02:54.826 - warn: botvac.0 (78675) Device"Keller" with id: Keller is not exists in cloud any more! 2023-09-19 08:02:54.827 - warn: botvac.0 (78675) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:02:55.079 - error: botvac.0 (78675) uncaught exception: Cannot read properties of undefined (reading 'getState') 2023-09-19 08:02:55.080 - error: botvac.0 (78675) TypeError: Cannot read properties of undefined (reading 'getState') at updateRobot (/opt/iobroker/node_modules/iobroker.botvac/main.js:476:11) at update (/opt/iobroker/node_modules/iobroker.botvac/main.js:467:9) at Immediate. (/opt/iobroker/node_modules/iobroker.botvac/main.js:456:25) at process.processImmediate (node:internal/timers:478:21) 2023-09-19 08:02:55.081 - error: botvac.0 (78675) Cannot read properties of undefined (reading 'getState') 2023-09-19 08:02:55.109 - info: botvac.0 (78675) terminating 2023-09-19 08:02:55.110 - warn: botvac.0 (78675) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-09-19 08:02:55.611 - info: botvac.0 (78675) terminating 2023-09-19 08:02:55.735 - error: host.VM-Slave instance system.adapter.botvac.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-09-19 08:03:27.330 - info: botvac.0 (78704) starting. Version 2.0.0-alpha.1 (non-npm: iobroker-community-adapters/ioBroker.botvac#48bc291c4416ec4a5393cecf340ec39162a7138c) in /opt/iobroker/node_modules/iobroker.botvac, node: v18.17.1, js-controller: 5.0.12 2023-09-19 08:03:29.998 - warn: botvac.0 (78704) could not update robot Turnverein Oben 2023-09-19 08:03:32.148 - info: botvac.0 (78704) devices found: 3 2023-09-19 08:03:32.179 - warn: botvac.0 (78704) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:03:32.490 - warn: botvac.0 (78704) Device"Erdgeschoss" with id: Erdgeschoss is not exists in cloud any more! 2023-09-19 08:03:32.491 - warn: botvac.0 (78704) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:03:32.800 - warn: botvac.0 (78704) Device"Erdgeschoss" with id: Erdgeschoss is not exists in cloud any more! 2023-09-19 08:03:32.801 - warn: botvac.0 (78704) Device"Keller" with id: Keller is not exists in cloud any more! 2023-09-19 08:03:32.801 - warn: botvac.0 (78704) Device"Turnverein Oben" with id: Turnverein Oben is not exists in cloud any more! 2023-09-19 08:03:33.006 - error: botvac.0 (78704) uncaught exception: Cannot read properties of undefined (reading 'getState') 2023-09-19 08:03:33.007 - error: botvac.0 (78704) TypeError: Cannot read properties of undefined (reading 'getState') at updateRobot (/opt/iobroker/node_modules/iobroker.botvac/main.js:476:11) at update (/opt/iobroker/node_modules/iobroker.botvac/main.js:467:9) at Immediate. (/opt/iobroker/node_modules/iobroker.botvac/main.js:456:25) at process.processImmediate (node:internal/timers:478:21) 2023-09-19 08:03:33.008 - error: botvac.0 (78704) Cannot read properties of undefined (reading 'getState') 2023-09-19 08:03:33.037 - info: botvac.0 (78704) terminating 2023-09-19 08:03:33.039 - warn: botvac.0 (78704) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-09-19 08:03:33.540 - info: botvac.0 (78704) terminating 2023-09-19 08:03:33.677 - error: host.VM-Slave instance system.adapter.botvac.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-09-19 08:03:33.678 - warn: host.VM-Slave Do not restart adapter system.adapter.botvac.0 because restart loop detected
-
@johgre
Danke für issue und Info zu Situation bei Fehler.Kenn den Adapter nur minimal und gab nal primär js controller 5 startbar gemacht.
Schau mir Problem an sobald ich zeit gabe. Log ist ja dabei.
Thanks for issue and information about the environment
I know this adapter ruther minimal and have only adjsutes as farr as it is required to start it with js-controller 5.
I'll look at the problem as soon as I have time