NEWS
Neato Botvac adapter - further development
-
@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
-
@petervoronov
Du hast das Problem wenn ichs richtig sehe schon gelöst
DANKEBitte erstell noch einen PR. (Hast zwar geschrieben, dass es den geben sollte aber der dürfte wo anders gelandet sein - ev. in deinem Main; im offiziellen Adapter repo seh ich keinen offenen PR.)
You have fixed the problem if I checked correctly.
Please add a PR. You have written at issue, that you did it, but it is not visible at the adapter repository .
-
@mcm57 please stay in english.
-
@jey-cee wollte ich gerade schreiben!
oder darf ich es verschieben/abtrennen?
-
@jey-cee said in Neato Botvac adapter - further development:
@mcm57 please stay in english.
Sorry,
I missed that this topic is located in english forum. I've added translations
Thanks for reminding me !
@Homoran
I suggest to leave it as it si. If a german discussion is desired by users, they should create a new german topic. I do not knwo that the preferred language for the users posting lately is. -
@PeterVoronov
@JohGre
@Pedder007As you posted lately, I would like to leave the decision whether to stay here (in english) or to move to german part to you. I do not know your prefrerred language. I can discuss / help in english and in german in (almost) the same way.
Please feel free to open a german issue if you prefer but link the to topics in this case please.
-
@johgre
2.0.1 is on the way to latest.
Thanks @PeterVoronov for the fix -
@mcm57 both languages are fine for me
In my earlier 'Pimatic' times, I had to tackle all these things in English language and job-wise it's also normal for me -
@mcm57
Excuse me, but I'm outside Germany, and can speak only English, except my local languages ...
I will not push on other to speak only English, but, it can influence my understanding of the details ... -
@petervoronov
OK, nothing to excuse.Will stay here and communicate in english.
I'm glad if I can help -
@mcm57 @PeterVoronov Thanks a lot for reprairing this adapter. Runs now since nearly two days and no error.
-
@johgre thanks for feedback. Its aleays good to know its working.
-
Hi guys,
I‘m running the 2.0.1 an there are occurring the same warnings with spotheight.How to fix this?
Thanks guys
Delli