-
-
Notifications
You must be signed in to change notification settings - Fork 43
last_cleaning sensor unavailable #384
Comments
When you activate debug logs, there are for sure many log entries... So please check your logs or open the log file directly. |
I have just switched debugging back on (from the integration rather than in yaml). Will report back asap |
@edenhaus So here are the logs:
|
The relevant log entries are:
As the endpoint is not returning any logs, I think ecovacs has changed their api for new models. We need to analyse the traffic again to find out, what has changed |
@edenhaus is there anything you need me to do for this one? |
Do you have the technical skills to intercept the traffic of the app and analyse what the app does differently? |
Oh. Sadly I don’t have those skills |
Hi @edenhaus , Everything else is working as expected. Note: Thank you for the integration, it's amazing 😃 |
The problem is that I only have the Deebot ozmo 950, which does not have this problem. Ecovacs, unfortunately, do not share any API documentation. As I cannot afford to buy each model, this issue will be left open until a user with technical skills analyzes the traffic and provides a bugfix. Therefore, I labeled this issue with "help wanted". |
Hi @edenhaus,I have a deebot T9+ that is also having this same issue. I can sniff the traffic from the bot however I'm not really to sure what I should be looking for. As other integration has been working without flaws apart from this. Happy to help where I can. |
You need to analyze the requests made by the app when you open the last cleanings. Above, you see the request which does the integration, but nothing is returned. Probably the app is calling a different endpoint but you need to analyze it. |
Hi have a T9 And i have tried to analyse the data when I open the cleaning log. And it looks like the request is send to The response from the GET method looks like this: {
"code": 0,
"message": "success",
"data": [
{
"id": "65a5569dc2ac9f2daf58fc96",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1705329703,
"aq": 0,
"area": 60,
"last": 4578,
"cleanId": "123424856",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a5569dc2ac9f2daf58fc96",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a427dfa0c2f9a2a2fbdab0",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1705252998,
"aq": 0,
"area": 60,
"last": 3803,
"cleanId": "1952257674",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a427dfa0c2f9a2a2fbdab0",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a3e2c90e232fce1f453ad4",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1705234971,
"aq": 0,
"area": 59,
"last": 4173,
"cleanId": "1258120855",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a3e2c90e232fce1f453ad4",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a2d3792944013acbc381aa",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1705165692,
"aq": 0,
"area": 41,
"last": 3968,
"cleanId": "1293592630",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 1,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a2d3792944013acbc381aa",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a180a501903f90d3f1c80c",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1705080757,
"aq": 0,
"area": 30,
"last": 2239,
"cleanId": "772516704",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 1,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a180a501903f90d3f1c80c",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a108b905d93cd6494e462b",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1705048363,
"aq": 0,
"area": 55,
"last": 3853,
"cleanId": "2112275986",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a108b905d93cd6494e462b",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a02f1229065d997963e6fb",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704992957,
"aq": 0,
"area": 50,
"last": 3650,
"cleanId": "750582051",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a02f1229065d997963e6fb",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65a014ad29065d997963d2df",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704985745,
"aq": 0,
"area": 58,
"last": 3871,
"cleanId": "1078190937",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 2,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65a014ad29065d997963d2df",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659d62fe8fe2200ce299def6",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704812607,
"aq": 0,
"area": 10,
"last": 684,
"cleanId": "1857232593",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659d62fe8fe2200ce299def6",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659d603802fc15e51f4ffc4a",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704809943,
"aq": 0,
"area": 34,
"last": 2605,
"cleanId": "1309642724",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 2,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659d603802fc15e51f4ffc4a",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659be30d7f643e9ac7038689",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704710700,
"aq": 0,
"area": 61,
"last": 4200,
"cleanId": "833942649",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659be30d7f643e9ac7038689",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659ad938b759c7ee88db8e2a",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704643034,
"aq": 0,
"area": 44,
"last": 3319,
"cleanId": "1361494367",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 1,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659ad938b759c7ee88db8e2a",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659a4c646807cd542784cd3e",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704560036,
"aq": 0,
"area": 62,
"last": 4191,
"cleanId": "1425613154",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659a4c646807cd542784cd3e",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659966217f643e9ac70205ab",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704548193,
"aq": 0,
"area": 52,
"last": 3692,
"cleanId": "932813425",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659966217f643e9ac70205ab",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "659696e80fc1ae4a30ffb066",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704367554,
"aq": 0,
"area": 3,
"last": 222,
"cleanId": "1517770837",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=659696e80fc1ae4a30ffb066",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "65968fb7bfbc6b9136a1841a",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704362079,
"aq": 0,
"area": 56,
"last": 3841,
"cleanId": "1217884210",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=65968fb7bfbc6b9136a1841a",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "6594053721026ab97df42fd6",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704197780,
"aq": 0,
"area": 29,
"last": 1654,
"cleanId": "936316578",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 1,
"cornerDeep": 0,
"enablePowerMop": 1,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=6594053721026ab97df42fd6",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "6593e25d21026ab97df4065e",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704185081,
"aq": 0,
"area": 47,
"last": 5273,
"cleanId": "74067675",
"mapName": "",
"type": "auto",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 2,
"cornerDeep": 0,
"enablePowerMop": 1,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=6593e25d21026ab97df4065e",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "6593c99ef935c771a26536b8",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704182832,
"aq": 0,
"area": 7,
"last": 1321,
"cleanId": "2142131397",
"mapName": "",
"type": "customArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 2,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=6593c99ef935c771a26536b8",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
},
{
"id": "6593c1e66e1126cd7516108e",
"did": "bc1aef5e-a3f5-4a41-8d5b-311bc3842c9c",
"ts": 1704181380,
"aq": 0,
"area": 9,
"last": 807,
"cleanId": "1858969372",
"mapName": "",
"type": "spotArea",
"sceneName": "",
"triggerMode": 0,
"stopReason": 1,
"powerMopType": 2,
"cornerDeep": 0,
"enablePowerMop": 0,
"imageUrl": "https://portal-ww.ecouser.net/app/dln/api/log/clean_result/image?id=6593c1e66e1126cd7516108e",
"aiopen": 1,
"aiavoid": 0,
"aitypes": []
}
]
} |
@Krogstrup As you see from the URL the app is requesting the logs from a different endpoint (for newer bots) and this is currently not implemented. Feel free to open a PR for it |
Checks
The problem
I have a T9 AIVI Deebot. Most of the integration is working flawless (and has been for months). The only issue I am encountering is the last_cleaning sensor always displays 'Unavailable' - I do not get any state/attributes:
Diagnostics information
Unable to download - when I try to download from the following location I get a 'Failed - No File' in the Chrome status bar
Anything in the logs that might be useful for us?
No response
Additional information
Running Supervised HA 2023.7.2 however I dont recall this working at all and I have kept up to date this year with all HA builds.
With debugging enabled, reloading the integration does not output any logs. Configuring the integration also yields no log
The text was updated successfully, but these errors were encountered: