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

Dyson Heurist - No Camera Entities #2

Open
iMiMx opened this issue Apr 8, 2021 · 12 comments
Open

Dyson Heurist - No Camera Entities #2

iMiMx opened this issue Apr 8, 2021 · 12 comments
Labels
help wanted Extra attention is needed

Comments

@iMiMx
Copy link

iMiMx commented Apr 8, 2021

Core Version
core-2021.4.0

Supervisor Version
supervisor-2021.03.9

ha-dyson-cloud v 0.10.0

When using a Dyson Heurist, no camera entities are created - which I believe should show a map?

In the code, I note only a reference to DysonCloud360Eye - is the Heurist currently unsupported for this?

@shenxn
Copy link
Owner

shenxn commented Apr 9, 2021

I added 360 Heurist support in version 0.10.1. Can you test if it works? Thanks.

@iMiMx
Copy link
Author

iMiMx commented Apr 9, 2021

Many thanks - I now have a camera entity, but the image/picture is broken (does not display).

Should it fetch the last? Or will it pull next time the robot pushes an update, perhaps? It's currently charging, waiting to resume shortly.

@shenxn
Copy link
Owner

shenxn commented Apr 9, 2021

It should be able to fetch the last image. Maybe its API is different from that of 360 Eye. Then it's going to be very tricky to find out.

@iMiMx
Copy link
Author

iMiMx commented Apr 9, 2021

Not a problem - thanks for taking a look anyway.

@shenxn shenxn added the help wanted Extra attention is needed label Apr 17, 2021
@iMiMx
Copy link
Author

iMiMx commented Mar 10, 2022

I have no idea how I brought it up - I've tried a few things to do it again, I was carrying my phone unlocked so perhaps some kind of long-press, and it popped up - but it seems the iOS Dyson App has a (hidden?) 'Requests' section - showing all API calls.

Have you seen this before? Example attached.

IMG_2903

One them seems to show the map URLs, I didn't want to post potential serial numbers and maybe the long session ID (big black box) but can send you the screenshots I took directly if you wish.

IMG_2904

@iMiMx
Copy link
Author

iMiMx commented Mar 11, 2022

It happened again. Appears it is 'Wormholy' - perhaps this is something they meant to remove before pushing an app update?

https://github.com/pmusolino/Wormholy

"Add it to your project, and that's all! Shake your device or your simulator and Wormholy will appear! You don't need to import the library into your code, it works magically!"

So, to get it to appear:

  • Start the Dyson iOS App
  • Shake the device
  • Requests the appears, you can view the full request, body, etc.

@iMiMx
Copy link
Author

iMiMx commented Mar 14, 2022

... looks like they 'fixed' it in the latest release, I did however get a text dump of the various calls, URLs.

@condor872
Copy link

condor872 commented Feb 24, 2023

I figured out how implement camera with cleaned maps. Here a screenshot what you can get from Dyson Servers.
It is not very simple, since you should use also pillow for edit images you can get from endpoint in BASE64 encoded format

If you want i can share my code
29000000-4438-5245-554e-474130353033_completed

@iMiMx
Copy link
Author

iMiMx commented Nov 28, 2023

@condor872 Maybe you could? ;)

Perhaps to ha-dyson that is actively worked on?

libdyson-wg/ha-dyson#92

@shavermcspud
Copy link

I figured out how implement camera with cleaned maps. Here a screenshot what you can get from Dyson Servers. It is not very simple, since you should use also pillow for edit images you can get from endpoint in BASE64 encoded format

If you want i can share my code 29000000-4438-5245-554e-474130353033_completed

What was your fix?

@dotvezz
Copy link

dotvezz commented Nov 30, 2023

Hi @condor872, I'm the maintainer over at https://github.com/dyson-wg/ha-dyson and I'm really curious what your solution was. If you'd like to help contributing to the project, it would be awesome.

@condor872
Copy link

condor872 commented Nov 30, 2023

Hi all, i'm very busy in these days, i'll share the code ASAP. I implemented about 1 year ago, i remember that there is an endpoint where you can get map in base64 encoded format, and for each clean there is another image, that you should overlap on the map image, so you can obtain the cleaned zones.

I'll review the code ASAP, and i'll share with you.
Thanks, bye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants