lol, can somebody explain whats the issue?
on computer (chrome) I cannot see the integration and get the error:
If I open the iOS HA app I see the my map etc.
I connect to HA via reverse proxy… maybe this could be a point?
lol, can somebody explain whats the issue?
on computer (chrome) I cannot see the integration and get the error:
If I open the iOS HA app I see the my map etc.
I connect to HA via reverse proxy… maybe this could be a point?
I don’t know why this is happening but it is definitely not related to this integration and you should be writing this on the Xiaomi Map Card thread not here.
Hello,
I just installed the extension. I have the dreame L20 pro Ultra after entering the Dreame account username and password, the configuration cannot be completed.
Somehow the variable “description” is missing. Am I doing something wrong?
homeassistant.exceptions.TemplateError: UndefinedError: 'None' has no attribute 'last_changed'
2023-09-21 10:10:05.611 WARNING (MainThread) [custom_components.dreame_vacuum] Integration start failed: Traceback (most recent call last):
File "/config/custom_components/dreame_vacuum/coordinator.py", line 471, in _async_update_data
await self.hass.async_add_executor_job(self._device.update)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 1990, in update
self.connect_device()
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 1518, in connect_device
self._request_properties()
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 464, in _request_properties
return self._handle_properties(results)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 431, in _handle_properties
callback[0](callback[1])
File "/config/custom_components/dreame_vacuum/coordinator.py", line 282, in _low_water_warning_changed
{EVENT_LOW_WATER: description[0], "code": low_water_warning.value},
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'description' where it is not associated with a value
2023-09-21 10:10:05.648 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Helene Ultra' for dreame_vacuum integration not ready yet: cannot access local variable 'description' where it is not associated with a value; Retrying in background
This is a bug with the low water warning. Currently integration does not start or update when low water warning is present on the clean water tank. You can add your device after you have filled the water tank until this is fixed on the next release.
Thank You, without the low water warining now it works perfect. murphy
which vacuum card is this?
Hello all! Is it possible to add a sensor that identifies the next room to clean?
Example, if in the order there is 1 kitchen, 2 living room, 3 bathroom, if it’s cleaning the kitchen, the sensor will have the value “living room”, if it’s cleaning the living room, the sensor will have the value bathroom etc…
Based on the sequence I selected, for all home or if I select only 3 rooms of 8.
Thank you!
Vacuum does not tell you which room it is currently cleaning. Current Room
sensor relies on the vacuum coordinates but device could be passing to a room while going to clean another room that is why it cannot be used for determining the next room to be cleaned.
Hi, I have a question. I’m trying to use the beta version with l20 ultra complete. Is it possible to have a function to disable the anti-fall sensors under the robot? I’m studying a solution to get the robot into the elevator.
thanks for the feedback
Hi, I’m still trying to find solution for dreame X20 Pro Plus how to clean with extended mop feature (robot can clean close to wall). I’m asking china seller that send me Dreame x20 and it says that feature can be enabled in this Dreame app Intelligent Mopping Setting->Automatic swing-out of mop pad-> Intelligence. Is Dreame Vacuum Component has these similar settings?
PS I can’t open Dreame app because I have region lock((
Thank you.
Hey, just wanted to say thanks first for maintaining this great project. I have an L20 Ultra and set up the component with the dreame app after digging around to see if I could connect with it locally, but then looked at the code and didn’t find a configuration to interact with the vacuum using dreamehome api keys locally.
Is that planned in the future? I can’t interact with my robot at all unless I disable my pi-hole blocking using the map or without the map directly in the device settings. It becomes unavailable and the logs show it trying to make a connection externally.
EDIT: Using beta build v2.0.0b6
Map data can only be accessed via cloud therefore active internet connection is required if you want to use the map feature. Other features besides map can be used over local connection but only when the device is installed to the Mi Home app because it disables the local API(and does not turn back on until hard reset) when installed to the Dreamehome app. Since your device cannot be added to the Mi Home App yet, you cannot use this integration over local connection.
Ah, gotcha. Thanks for the clarification!
Hello,
how can I turn off notifications in HA notification center?
e.g. the completion notifications after vacuuming
Thank You.
🤦
I am blind!
Thank you
How would I go about having the vacuum clean in a sequence? I can set the room IDs to be cleaned by calling the segments to be cleaned but the vacuum does not clean them in the order that I specify them
The vacuum cleans them 2,3,9
I’m very impressed with the functionality of this integration. I can’t wait to get it working!
I got my L10s Ultra yesterday and set it up with the Dreamehome app. Then I realized I needed to set it up with the Mi Home app in order for it to work with this integration (at the time, I did not see the beta version that supported Dreame cloud). I paired the vacuum with the Mi Home app and was pleasantly surprised that my maps/settings were all retained. However, when I configure the integration, I initially get a success message and it detects my vacuum model, but immediately after that I get a “failed setup, will retry” status on the integration. Is there something else I need to do when switching apps? I basically just held the two buttons down on the robot and provided the network connection info in the Mi Home app.
In this case, both Home Assistant and the vacuum are on the same subnet and the vacuum is pingable from HA.
The debug logs shows the following information:
2023-10-13 08:02:09.163 ERROR (SyncWorker_17) [miio.miioprotocol] Got error when receiving: timed out
2023-10-13 08:02:09.229 ERROR (MainThread) [custom_components.dreame_vacuum] Update failed: Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 193, in send
data, addr = s.recvfrom(4096)
^^^^^^^^^^^^^^^^
TimeoutError: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 193, in send
data, addr = s.recvfrom(4096)
^^^^^^^^^^^^^^^^
TimeoutError: timed out
Traceback (most recent call last):
File "/config/custom_components/dreame_vacuum/coordinator.py", line 314, in _async_update_data
await self.hass.async_add_executor_job(self.device.update)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 995, in update
self.connect_device()
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 733, in connect_device
self._request_properties()
File "/config/custom_components/dreame_vacuum/dreame/device.py", line 262, in _request_properties
result = self._protocol.get_properties(props[:15])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 526, in get_properties
return self.send("get_properties", parameters=parameters, retry_count=retry_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/dreame_vacuum/dreame/protocol.py", line 519, in send
return self.device.send(method, parameters=parameters, retry_count=retry_count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 233, in send
return self.send(
^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/miio/miioprotocol.py", line 241, in send
raise DeviceException("No response from the device") from ex
miio.exceptions.DeviceException: No response from the device
2023-10-13 08:02:09.229 WARNING (MainThread) [homeassistant.config_entries] Config entry 'DreameBot L10s Ultra' for dreame_vacuum integration not ready yet: No response from the device; Retrying in background
2023-10-13 08:02:20.821 ERROR (SyncWorker_31) [miio.miioprotocol] Got error when receiving: timed out
First of all you can use Dreamehome account with the beta version, I don’t know why you think it is not supported.
Secondly, vacuum disables the local API functionality when it is installed to the Dreamehome app and does not enable it again when it is installed back to the Mi Home app. Only way to re-enable the api is hard reseting the device otherwise integration does not work because device wont be reachable over local network.
Please switch back to the Dreamehome app and make sure you have actually installed the latest beta to your HA.