Comments (5)
As explained in the comment above, you are referring to the api communication between the client and HA instance.
I can try to see if I can improve the error handling, but the timeout happens after 1-2 minutes and I don't know if HA allows me to give feedback that late.
The timeout is controlled by ecovacs, so I can't change it.
from deebot-4-home-assistant.
After deleting the app, resetting my Deboot T8+ and setting it up again from scratch, both the app and the commands are now working.
But it would still be great to get a proper error response if this happens again 🙏
from deebot-4-home-assistant.
wait for response timed out
means that the ecovacs server did not get a response from your robot in time also you see this in the ecovacs app. You need to check if your robot is online and has a stable connection.
I checked the websocket messages and I noticed it took a really long time to get a response, but when I did get a response it's like this:
{ "id": 13, "type": "result", "success": true, "result": { "context": { "id": "01811a2376985661bd8d5344471ea557", "parent_id": null, "user_id": "xxx" } } }
This has nothing to do with the integration. This websocket connection is made between your client (browser, app) and your home assistant instance. As you can reach your instance, you will get also a response.
But it would still be great to get a proper error response if this happens again
The state is set to unknown, as we cannot identify and a warning is logged. What error message would you expect?
from deebot-4-home-assistant.
@edenhaus If an integration times out, I would at minimum expect to see a success: false
in response to the call_service
message.
in an ideal world, a success: false
, accompanied by an error message in the result saying it timed out.
something like:
{
"id": 13,
"type": "result",
"success": false,
"result": {
"error": {
code: 500,
message: "wait for response timed out",
},
"context": {
"id": "01811a2376985661bd8d5344471ea557",
"parent_id": null,
"user_id": "xxx"
}
}
}
Although I am not familiar with creating integrations, so maybe that is not even possible? But it was very frustrating debugging this and seeing that home assistant says my command was successful when it wasn't leaving my state out of sync with reality.
from deebot-4-home-assistant.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from deebot-4-home-assistant.
Related Issues (20)
- HA support for Deebot Ozmo 930 HOT 1
- No Map HOT 1
- API devmanager ERR 500 - wait for response timed out HOT 1
- HA 2023.12.0b0 and 2023.12.0b1 - Integration Not Loading HOT 1
- Deebot 4 Home Assistant will not load: Setup failed for custom integration 'deebot': Requirements for deebot not found: ['deebot-client==3.0.1']. HOT 6
- Full support for Deebot T10 OMNI HOT 1
- Integration not loading after updating to 2023.12 Home Assistant OS HOT 1
- Deebot Already Configured HOT 8
- No supported devices were found. HOT 13
- Auto Clean no longer works (after a firmware update) HOT 6
- Advanced UI doesn't support multiple rooms of the same type HOT 1
- Cleaning efficiency HOT 5
- compatibility deebot 715 HOT 1
- Add the switch between "mop" and "vacuum and mop" for X1 OMNI HOT 18
- Map refreshes cause progressive trace points drawing animation. HOT 4
- All entities unavailible HOT 8
- No capabilities found for ty84oi (Deebot N8) HOT 4
- Continuos errors in log HOT 20
- Continuous MQTT reconnect HOT 1
- No response received for command "getMapSubSet". This can happen if the device has network issues or does not support the command HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deebot-4-home-assistant.