Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚠️NEED ACCESS TO X40 ULTRA 🙏 #662

Closed
Tasshack opened this issue Aug 9, 2024 · 19 comments
Closed

⚠️NEED ACCESS TO X40 ULTRA 🙏 #662

Tasshack opened this issue Aug 9, 2024 · 19 comments
Labels
enhancement New feature or request

Comments

@Tasshack
Copy link
Owner

Tasshack commented Aug 9, 2024

I need access to a X40 series device to be able to fully support it's new features.

#646
#633

@Tasshack Tasshack added the enhancement New feature or request label Aug 9, 2024
@Tasshack Tasshack changed the title #NEED ACCESS TO X40 ULTRA ⚠️NEED ACCESS TO X40 ULTRA 🙏 Aug 9, 2024
@tioan
Copy link

tioan commented Aug 11, 2024

Do you need physical on-site access to an X40 or is remote access to Homeassistant + Dream app access sufficient?

@Tasshack
Copy link
Owner Author

Do you need physical on-site access to an X40 or is remote access to Homeassistant + Dream app access sufficient?

Only device sharing (without camera access) is enough for me. I won't be controlling the device but just play with the settings to understand how they are working. I can do that same thing from the app source code too but it is extremely hard without seeing the user interfaces.

@tioan
Copy link

tioan commented Aug 12, 2024

I would be happy to share my X40 Ultra Complete + fixed water connection kit with you for a few days, for which I would need your Dream ID

@Tasshack
Copy link
Owner Author

I would be happy to share my X40 Ultra Complete + fixed water connection kit with you for a few days, for which I would need your Dream ID

My userid is BP428398. Thanks for your help.

@apocaliss92
Copy link

apocaliss92 commented Aug 14, 2024

I have just shared mine with you, let me know if you also need the camera feed shared

@Tasshack
Copy link
Owner Author

Got the access thanks. It's better to access multiple devices to observe effects of differently setup devices.

Apart from the CleanGenius, device settings mostly looks like a X30 but the new things they have added like round carpets and rotatable restictred areas would take more than a month to implement for me.

So, I am going to fix #646 and #633 also add the missing settings like Deep Cleaning on the next release but I will implement the following features on the release after;

  • Rotatable objects (No Go, No Mop) rendering/editing.
  • Virtual Threshold/Ramp rendering/editing.
  • Round carpet rendering.

@Tasshack
Copy link
Owner Author

Tasshack commented Aug 14, 2024

Also I am sure this is not the latest fimware for this device yet because I can see much more settings are available from the app source code but currently disabled. So more features will be added to this device following months to the app when the new firmware is released.

@apocaliss92
Copy link

Thank you very much! Could you also give a check if a polling behavior is required? Looks like when the water tank is empty, the mobile app asks the status to the vacuum to check if it changed, the only workaround on ha is to reload the integration

Thanks again, I can empty the tanks if you need :)

@apocaliss92
Copy link

Also I am sure this is not the latest fimware for this device yet because I can see much more settings are available from the app source code but currently disabled. So more features will be added to this device following months to the app when the new firmware is released.

This looks an awesome news :D

@Tasshack
Copy link
Owner Author

Thank you very much! Could you also give a check if a polling behavior is required? Looks like when the water tank is empty, the mobile app asks the status to the vacuum to check if it changed, the only workaround on ha is to reload the integration

Thanks again, I can empty the tanks if you need :)

I think the issue is, when you dismiss the warning from the app it also clears the warning from the device but the cloud does not notice the integration about the change so it will became permanently stuck on the integration because there is no way to integration to know that is has been cleared otherwise.

I am not sure how to solve this yet because it is tricky without having a device always runs out of water that I can access to.
Can you enable the info logs, create a low water situation, repeat the same steps from the app and send me the log output?

logger:
  default: warn
  logs:
    custom_components.dreame_vacuum: info

@Tasshack
Copy link
Owner Author

Tasshack commented Aug 14, 2024

I am pretty sure cloud has some other mechanism to notify the app about events but that would event take more time to reverse engineer.

@Tasshack
Copy link
Owner Author

Already did the rotation by the way, wasn't too hard.

Capture

@apocaliss92
Copy link

Thank you very much! Could you also give a check if a polling behavior is required? Looks like when the water tank is empty, the mobile app asks the status to the vacuum to check if it changed, the only workaround on ha is to reload the integration
Thanks again, I can empty the tanks if you need :)

I think the issue is, when you dismiss the warning from the app it also clears the warning from the device but the cloud does not notice the integration about the change so it will became permanently stuck on the integration because there is no way to integration to know that is has been cleared otherwise.

I am not sure how to solve this yet because it is tricky without having a device always runs out of water that I can access to. Can you enable the info logs, create a low water situation, repeat the same steps from the app and send me the log output?

logger:
  default: warn
  logs:
    custom_components.dreame_vacuum: info

I will in around 2 hours as soon as I'm back home and post here again

@apocaliss92
Copy link

Hey @Tasshack, I found some time to go through this. This is what I have done

  1. I Clean water tank completely removed (clean-water-tank-not-installed.log](https://github.com/user-attachments/files/16622151/clean-water-tank-not-installed.log)

  2. Clean water tank inserted as empty (clean-water-tank-installed-empty.log

  3. Clean water tank filled with water at maximum

During all these steps, I kept the mobile app open, every single passage was reflecting in the mobile app after 1-2 seconds (polling?). The HA integration did not notice any change during these steps
image

Please let me know if I can help further on this or pick logs in a different order. Just to be sure, I did not touch any notification in the mobile app or on ha, just removed, refilled and so on, no direct interaction with both HA and app

@apocaliss92
Copy link

Later today I will try to do the same with the dirty water tank, I suspect it's exactly the same behavior, the sensors inside the tanks are the same, 1 for the actualy installation and 1 to check the water level

@Kolia56
Copy link

Kolia56 commented Aug 16, 2024

If needed I can share my device too. 4 maps are configured and the auto refilling / drainage kit is installed. BTW is this option currently supported in b16 version?

@JanKraslice
Copy link

Hi v2.0.0b16 contains the additions mentioned in #646 ?
Thank you

@Tasshack
Copy link
Owner Author

Hi v2.0.0b16 contains the additions mentioned in #646 ? Thank you

No

@apocaliss92
Copy link

@Tasshack i just encountered a low detergent case, here is a fresh log while it's shown on the app
Low detergent.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants