NEWS
Neato Botvac adapter - further development
-
@thomas-braun you are faster than I can correct my double post.
Yes, saw that as well. Need to see how I fix it. -
-
@thomas-braun yes, Docker. Will most likely use Portainer to recreate and pull latest image.
-
Did everything and node.js seems fine now. So at least this is fixed.
BUT: My original problem with the adapter persists. Deleted and re-installed and same issue...
Tried npm install --production in adapter directory. - Also not helping...
I'm lostroot@iobroker:/opt/iobroker/node_modules/iobroker.botvac# npm install --production npm WARN config production Use `--omit=dev` instead. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 53 packages in 35s
result:
host.iobroker 2023-09-01 19:33:28.292 info iobroker npm-rebuild: Rebuilding native modules ... host.iobroker 2023-09-01 19:33:26.133 info iobroker rebuild host.iobroker 2023-09-01 19:33:26.133 warn adapter "botvac" seems to be installed for a different version of Node.js. Trying to rebuild it... 1 attempt host.iobroker 2023-09-01 19:33:26.132 info system.adapter.botvac.0 will be rebuilt host.iobroker 2023-09-01 19:33:26.131 info Adapter system.adapter.botvac.0 needs rebuild and will be restarted afterwards. host.iobroker 2023-09-01 19:33:26.131 error instance system.adapter.botvac.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.iobroker 2023-09-01 19:33:26.131 error Caught by controller[0]: Node.js v18.17.1 host.iobroker 2023-09-01 19:33:26.131 error Caught by controller[0]: } host.iobroker 2023-09-01 19:33:26.131 error Caught by controller[0]: ] host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.botvac/main.js' host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.botvac/lib/utils.js', host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: requireStack: [ host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) { host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.botvac/lib/utils.js:46:25) host.iobroker 2023-09-01 19:33:26.130 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:121:18) host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27) host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.botvac/main.js host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.botvac/lib/utils.js host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: Require stack: host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js' host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: ^ host.iobroker 2023-09-01 19:33:26.129 error Caught by controller[0]: throw err; host.iobroker 2023-09-01 19:33:26.128 error Caught by controller[0]: node:internal/modules/cjs/loader:1080 host.iobroker 2023-09-01 19:33:25.447 info instance system.adapter.botvac.0 started with pid 816
-
@csp
May be it has sence to downgrade the node version? To v16, i.e. version 7 of docker image ? -
@petervoronov : Just tried that as well. - Same story, same error.
Now I try to restore my system. Need to see what backups I have... -
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