ioBroker.roborock icon indicating copy to clipboard operation
ioBroker.roborock copied to clipboard

[BUG] Unsupported features / Restart Loop

Open TimoGoerlich opened this issue 9 months ago • 30 comments

Bug Description

Hi. I would like to reopen / relate to #793 I have managed to change my IP.

0.6.18 is now working in general, so probably IP not blocked; but still throws some errors (including errors that may relate to https://github.com/copystring/ioBroker.roborock/issues/791 which is already fixed? ) 0.6.19 on the other hand still runs into a instance restart loop and additional robot specific errors.

I have attached the logs. In general I have 4 robots, not 100% sure which errors relate to which (a21 = Q5 Pro?) Below you can see a screenshot of the robots and the related robot version

Steps to Reproduce

Installation of 0.6.18 resp. 0.6.19

Expected Behavior

no errors

Debug Log

logs.zip

Adapter Version

0.6.18 / 0.6.19

JS-Controller Version

7.0.6

Node.js Version

20.19.0

Operating System

Pi OS

Additional Context

Image

TimoGoerlich avatar Apr 22 '25 10:04 TimoGoerlich

Please don't use 0.6.19 or your IP will be banned again. Use the dev or 0.6.18. I'll check your logs later today.

copystring avatar Apr 22 '25 10:04 copystring

Thanks a lot for your help.

Just for my understanding, maybe I have misunderstood this.

I have installed the "0.6.19" with this path here, I though this is actually the 0.6.19 version, because it shows 0.6.19 also in the adapterinfo then. Or is this actually the dev version, because I used the correct path? Or do I need to use another path? So if this is really the dev version, the log above called 0.6.19 is actually the log from the dev version.

Image

TimoGoerlich avatar Apr 22 '25 10:04 TimoGoerlich

Yes, dev still shows 0.6.19. It will be changed once it's released

copystring avatar Apr 22 '25 10:04 copystring

OK then the errors mentioned in the log file called 0.6.19 are actually errors in the dev version

TimoGoerlich avatar Apr 22 '25 11:04 TimoGoerlich

Please test the new dev. I started processing automatic creation of objects when missing. This makes object creation dynamic regardless of robot model automatically, supporting most of the features of future unreleased robots.

copystring avatar Apr 22 '25 21:04 copystring

Hi. Thanks for the new version.

I did a fresh install. Unfortunately still a lot of warnings and infos. Also 1 restart loop and the object tree is not getting complete (e.g. folder commands completely missing for all 4 robots, so cant control robots).

Attached is the log.

Image

iobroker.2025-04-23.zip

TimoGoerlich avatar Apr 23 '25 05:04 TimoGoerlich

I went back to 0.6.18 because after the IP blockade the version “0.6.19 dev” caused a lot of errors and the adapter was only green for a very short time.

With version 0.6.18 I only have the warning: 2025-04-24 17:47:15.607 - warn: roborock.0 (365343) State "roborock.0.Devices.1aX0gpfJ2s7Qsabd3vbE5P.deviceStatus.carpet_clean_mode" has no existing object, this might lead to an error in future versions

Here is the debug log: iobroker.2025-04-24.log

hanan070893 avatar Apr 24 '25 16:04 hanan070893

@TimoGoerlich yes, this was a basic test. I've completed most, if not all, code for dynamic object created mostly independent of robot model. Would you try the new dev?

copystring avatar Apr 26 '25 23:04 copystring

https://github.com/copystring/ioBroker.roborock/tree/dev

copystring avatar Apr 26 '25 23:04 copystring

Thanks again. Seems to run stable at first look, only a few warnings and infos left. Attached is the log. I will observe over next days if everything runs smooth.

TimoGoerlich avatar Apr 27 '25 08:04 TimoGoerlich

One more warning, I noticed that the commands are read-only (can adjust them in advanced mode, but always get this warning):

Image

TimoGoerlich avatar Apr 27 '25 08:04 TimoGoerlich

I installed the latest dev version and only got a warning. roborock.0 | 2025-04-27 11:47:23.074 | warn | State "roborock.0.Devices.1aX0gpfJ2s7Qsabd3vbE5P.deviceStatus.carpet_mode" has no existing object, this might lead to an error in future versions Many thanks for your work.

iobroker.2025-04-27.log.zip

hanan070893 avatar Apr 27 '25 09:04 hanan070893

Thanks for testing. The latest dev should have all the fixes you reported. https://github.com/copystring/ioBroker.roborock/tree/dev

copystring avatar Apr 27 '25 21:04 copystring

Initially looks good. No more warnings. I will test/observe the next couple of days and will report if I find something.

TimoGoerlich avatar Apr 28 '25 08:04 TimoGoerlich

Just dropped message before and now I have a warning ;-(

May this relate to missing WLAN connection though? This robot has a very bad WLAN connection I think due to positioning in my house, so may be the reason for timeout? Sometimes its changing the repeater in my Mesh and then shortly it looses connection I guess. I have seen this in older versions occasionally already

Image

TimoGoerlich avatar Apr 28 '25 09:04 TimoGoerlich

Hmmm. Seems to be not only one affected robot, see attached log. I can reach them via the app, so not sure its a connection issue

iobroker.2025-04-28.zip

TimoGoerlich avatar Apr 28 '25 09:04 TimoGoerlich

Looks like an error in my code. I'll have a look later tonight.

copystring avatar Apr 28 '25 11:04 copystring

I have had a look, but need to test this first. I'll let you know when I got something.

copystring avatar Apr 28 '25 19:04 copystring

If you like, you can test the new dev, however there is no fix, only improved error logging.

copystring avatar Apr 28 '25 20:04 copystring

Thanks for the update. It looks like this now

Image

TimoGoerlich avatar May 02 '25 12:05 TimoGoerlich

Yes, it looks the same for me. I'll have to find some time to fix this. I will get back to you once I figured out what's wrong.

copystring avatar May 02 '25 12:05 copystring

Please try the new dev https://github.com/copystring/ioBroker.roborock/tree/dev. This has been running quite good for the past days. Let me know how it works out for you.

copystring avatar May 07 '25 12:05 copystring

Unfortunately still some errors, but it seems less

iobroker.2025-05-07.zip

TimoGoerlich avatar May 07 '25 18:05 TimoGoerlich

What do you mean by errors? Some warnings are visible in the log, but not errors. The warnings are timeouts when the vacuum didn't respond to the request. Most likely out of my control.

copystring avatar May 07 '25 19:05 copystring

The problem with restart and unsupported features solved?

copystring avatar May 09 '25 19:05 copystring

Yes, seems to work. I only regularily get following warnings (as seen in previous log), but as you mention this may be due to connection issues

Image

TimoGoerlich avatar May 10 '25 07:05 TimoGoerlich

mhhh now i restarted the adapter to change log level, now I received this:

Image

TimoGoerlich avatar May 10 '25 07:05 TimoGoerlich

I will try to optimize my WLAN situation, but thatll take some days

TimoGoerlich avatar May 10 '25 08:05 TimoGoerlich

Please try the new https://github.com/copystring/ioBroker.roborock/tree/dev. I have optimized the order of requests, so most timeouts would be fixed. Occasional timeouts might still happen if the robot does not respond.

copystring avatar May 10 '25 20:05 copystring

looks good in the first run. i will observe the next days

TimoGoerlich avatar May 11 '25 11:05 TimoGoerlich