Hi, I have a problem with my roborock s50. I have the following item:
String Roborock_actionFan “Fan Command” (Roborock) {channel=“miio:vacuum:0F94761D:actions#fan” }
The value of this item is changing every few seconds to the date 1970-01-01 and I have no clue why it is doing that:
2021-05-04 22:20:29.246 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Roborock_actionFan' received command 104
2021-05-04 22:20:29.248 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Roborock_actionFan' predicted to become 104
2021-05-04 22:20:29.250 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Roborock_actionFan' changed from 1970-01-01T00:01:44.000+0000 to 104
2021-05-04 22:20:34.746 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Roborock_actionFan' changed from 104 to 1970-01-01T00:01:44.000+0000
2021-05-04 22:20:41.155 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Roborock_actionFan' received command 102
2021-05-04 22:20:41.156 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Roborock_actionFan' predicted to become 102
2021-05-04 22:20:41.158 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Roborock_actionFan' changed from 1970-01-01T00:01:44.000+0000 to 102
2021-05-04 22:21:04.786 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Roborock_actionFan' changed from 102 to 1970-01-01T00:01:44.000+0000
2021-05-04 22:21:09.150 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Roborock_actionFan' received command 101
2021-05-04 22:21:09.158 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Roborock_actionFan' predicted to become 101
2021-05-04 22:21:09.160 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Roborock_actionFan' changed from 1970-01-01T00:01:44.000+0000 to 101
2021-05-04 22:21:34.809 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Roborock_actionFan' changed from 101 to 1970-01-01T00:01:44.000+0000
I also have the problem, that after a while my Thing is going offline and online again every minute:
2021-05-06 04:24:06.649 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'miio:vacuum:0F94761D' changed from ONLINE to OFFLINE (CONFIGURATION_ERROR)
2021-05-06 04:26:37.329 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'miio:vacuum:0F94761D' changed from OFFLINE (CONFIGURATION_ERROR) to ONLINE
When I reboot openhab it is working but then after a few hours or minutes it is going offline and online again and then it is not reacting on the commands
Yes, you need the right token. the configuration error / on-offline is indicating a token error.
but… as you indicated it works when you reboot for few hours… that is really strange (normally it works or it doesnt… not work for few hours). I can think of only 2 reasons that that can happen
you have multiple things for the same device
somehow you get the wrong token once in a while from the cloud… the latter may happen if you have defined your vacuum in the past for multiple countries… when you move to the new country server, the settings / token on the old server remains. It might be that while refreshing it picks up the token from the wrong server. (the binding does educated guess on which server your device is, but depending your settings that may go wrong, esp if the device is offline for few minutes)
But how do I get the right token?
I removed my Thing and readded it, but the token seems to be the same.
So 1. should not apply to my case.
I don’t think that I defined it for multiple countries. Maybe by mistake.
How can I check and fix that?
Hi. I added zhimi.heater.mc2 but I can only switch on/off it. I can’t set target temperature and can’t get environment temperature from heater (but I see it in MiHome app)
Hi Marcel, thank you very much for your tremendous work on the miio binding!
Could you suggest if there were any changes to how “auto-refresh after command” works?
I read your message dated “Aug 15th, 2017”, where you commented on new features:
What is the best way to use Google Home to control the vacuum cleaner?
I have created 4 switches to clean the 4 “rooms” on the ground floor. When adding Google Assistent Metadata to the switch, it’s only working when adding 1 switch.
If I add 2 switches (using vacuum in the metadata) i can see 2 vacuum cleaners inside google home, but cannot control it with voice, it doesn’t know which device to use.
@Mordor if you look at the 3.1.0 latest documentation it has updated screenshots.
You can see how to reach the binding settings (expert mode) in the OH3.x
sorry I´m new for robot.
Could you tell which version of binding I should use for last stable version of OH2.5.12?
Currently I suing the binding from paperui and I have follow message in my log:
2021-06-28 13:31:47.547 [INFO ] [.miio.internal.robot.RRMapFileParser] - Unknown blocktype (pls report to author)
2021-06-28 13:31:47.551 [INFO ] [.miio.internal.robot.RRMapFileParser] - Unknown blocktype (pls report to author)
You are on a pretty old version of the binding. Since than the parsing of the blocks have been improved, hence most likely you won’t have the issue in the current version (e.g. the released OH3.1)
Suggest to ignore the message (you could supress it with set:log warn org.openhab.binding.miio.internal.robot.RRMapFileParser)
The jar files from oh3.0 / 3.1 can’t run in the 2.5 environment, so you either live with it or need to upgrade your Openhab.
Hi! Some time ago, I updated and got the following warning about twice a minute, the last snapshot is the same:
2021-07-22 12:20:41.284 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
2021-07-22 12:20:54.942 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
2021-07-22 12:21:56.323 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
2021-07-22 12:22:09.979 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
2021-07-22 12:22:41.358 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
2021-07-22 12:23:25.023 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
2021-07-22 12:23:56.399 [WARN ] [internal.handler.MiIoAbstractHandler] - As per openHAB version 3.2 the deviceId is no longer a string with hexadecimals, instead it is a string with the numeric respresentation of the deviceId. If you continue seeing this message, update deviceId in your thing configuration
I don’t understand what and where do I need to fix?