support for Dyson 360 Vis Nav #142
Replies: 28 comments 76 replies
-
also, just curious, having a camera, is this local polling or cloud for the images? |
Beta Was this translation helpful? Give feedback.
-
For images, almost definitely cloud. The camera feed reaches the mobile app via the cloud, and that's what we'd be using (Unless I can find a way to pull directly off the device somehow). For support, I really need to follow up with a couple of people who mentioned this over in the issues. I don't have a 360 Vis Nav to test with myself, so I'll need a volunteer to help. @Anto79-ops do you happen to have one? |
Beta Was this translation helpful? Give feedback.
-
Hey, By the way, adding the 360 bis nav fails. So we definetily would need an update to bring it to work. |
Beta Was this translation helpful? Give feedback.
-
oh thats awesome. I have not received mine yet, hopefully tomorrow but what I was going to connect to it via the mqtt listen tool here: https://github.com/dotvezz/dyson-mqtt-listen Maybe you can get a data dump and post here what the machine is broadcasting? Or perhaps this tool won't even work if you cannot add it to the integration but @dotvezz can confirm that, he made the tool! |
Beta Was this translation helpful? Give feedback.
-
@doncuco nice! Are you able to run a python script? In our libdyson-neon repository, there's a script called If you have python installed, you can...
The script will ask you some questions and get you logged in using the Dyson API. Then it'll spit out information about the devices attached to your account. A quick note: When it asks for Region Code, that's a two-digit representation for your country, like "US" or "UK" etc. @Anto79-ops I love the attitude, unfortunately my mqtt-listen tool is limited to just fans for now. I'm working on a full port of libdyson to Go, along with a big CLI that uses updated APIs to get a lot more information from the cloud side of things, including info about the vacuums and their video streams. It'll be a big improvement over what we currently have for testing new devices. But for now, mqtt-listen and get-devices.py are the best we have. |
Beta Was this translation helpful? Give feedback.
-
@dotvezz so here is the output: |
Beta Was this translation helpful? Give feedback.
-
@doncuco thanks, this'll be a big help! |
Beta Was this translation helpful? Give feedback.
-
@doncuco you may wish to remove your serial number and credential now. |
Beta Was this translation helpful? Give feedback.
-
@Anto79-ops and @doncuco sorry for the wait with this one! 1.4.0-rc1 is set as a pre-release for you to test as you like. Let me know if anything is weird, I'd really appreciate your help! One thing I know is that the camera maps don't work. There's another thread with someone who said they've got it working for the 360 Heurist, I'll follow up with them to see if they can open a PR. |
Beta Was this translation helpful? Give feedback.
-
awesome! Ok I added it sucessfully. Here's what I see: you have to wake it up first. So all I had to do was just open the app and let the app connect to the vac (i.e when it says ready to clean), and it then I press submit on the config page and it set it up sucessfuly (it didn't work if I didn't wake it up from the app). just curious about the language, the app uses auto, quick, quiet, boost for vac modes(?), is thag available, too? |
Beta Was this translation helpful? Give feedback.
-
also, did a couple of test with voice commands (via google assistant/Nabu Casa): to start: "Hey Google, Start the Dyson Vacuum robot" both commands worked as expected! |
Beta Was this translation helpful? Give feedback.
-
saw another log error here:
for this error above, the vacuum became unaviable in HA. and there is another log error (I reported above already)
|
Beta Was this translation helpful? Give feedback.
-
@Anto79-ops thanks, all that info is really helpful. Turns out there's a few new twists to the Vis Nav, cool! Here's a new RC I've updated the Vacuum State sensor to handle the For the vacuum mode, I've made some assumptions about the mapping for the 4 modes. Could you test and let me know if they work correctly? |
Beta Was this translation helpful? Give feedback.
-
@dotvezz thanks so much for trying to figure this out! Installed rc3 and I see this in the logs:
and
unfortunately, I cannot test it out because its unavailable |
Beta Was this translation helpful? Give feedback.
-
Another log for you.
|
Beta Was this translation helpful? Give feedback.
-
So I removed rc3 and tried rc2 again but I wasn't able to add the vis nav again. Same error as with rc3. Any idea how to fix this? |
Beta Was this translation helpful? Give feedback.
-
@doncuco can you share some logs? especially if they are different than the ones I posted, as it could give more information. Thanks for the warning. I have not deleted the vac. Maybe if you try Rc1 and then add the vac, then upgrade to rc3 but rc2 had it semi-working without the modes. |
Beta Was this translation helpful? Give feedback.
-
for the logs, just check out the core logs (settings, system, logs >) and look for those mentioning the Dyson Integration. |
Beta Was this translation helpful? Give feedback.
-
ok, on HA restart and with the vacuum awake, I get this error
|
Beta Was this translation helpful? Give feedback.
-
@doncuco @Anto79-ops Sorry for the long delay! It's not much of an excuse, but I got overwhelmed with my day job for the past several weeks. Things are a bit more stable now thankfully. @Anto79-ops I've got 1.4.0-RC4 that addresses part of the stuff you posted from your logs. Let me know if it helps at all when you have a chance. I'm looking at the rest of the posts/logs here as well to see what else needs to be done. |
Beta Was this translation helpful? Give feedback.
-
ok, something strange is happening. I downgraded back to RC2 (not RC1 because that does not have config option for 360 Vis Nav), and unfortantly, I cannot add the robot back to the integration. I thought perhaps the credentials on the machine changed (is that even possible?), so I used my packet capture app on Android, and get this, the moment the app is running to listen to MyDyson app, the app cannot connect to the robot either. The moment I turn off the packet app, I can connect. So I cannot get the credentials anymore (but I have them from before, so unless they changed, they should still be valid). Same issue with Dyson Cloud. The devices show up as discovered, but when I press submit, it cannot add the robot back. Here's my concern, theree have a been at least a few FW updates on the robot vac, is it possible that Dyson just locked all 3rd parties out? |
Beta Was this translation helpful? Give feedback.
-
There was an update for the 360Vis nav yesterday, so I thought perhaps I could try again adding it to the integration. Unfortunately, it's still not adding. However, I do have a new error message for you.
Please tell me this is the cause of the connection issues :) |
Beta Was this translation helpful? Give feedback.
-
So I wonder whether is possible to turn back on the MQTT functionality using a prefs.txt file on a USB stick? Seems there are options you can configure like disable wifi \ enable wifi \ factory reset and set up offline just by having a file on a usb stick with a line of text example ENABLE_WIFI Maybe some guessing what it might be would work, i.e ENABLE_MQTT, ENABLE_LOCAL, ENABLE_DEV, ENABLE_DEVELOPER I haven't tried this bit of a long shot? anyone think it could work? |
Beta Was this translation helpful? Give feedback.
-
@dotvezz I’ve made several attempts to resolve this issue using the available commands, following the Dyson site instructions closely. However, I keep encountering an "update failed" message. I also tried reverting the firmware to an older version (the old versions are accessible but not hyperlinked). By modifying the download link with the older version numbers, I gave it a shot, but every attempt via USB failed. I tried different pen drives, capacities, and strictly followed Dyson’s instructions. It’s possible the text files may have changed at the same time as MQTT, or maybe there’s a specific requirement for a Dyson pen drive? You might need to use one formatted to FAT32 or MS-DOS (FAT). You can contact Dyson to request a genuine USB stick, which will be formatted correctly and is the right size. I’m speaking with a contact at Dyson UK next week and hope they can provide more insight. I’ve also posted in the Dyson community, though I understand there’s just one person responding selectively. I’ve explored tools and code on several GitHub sites for connecting to Dyson, and so far, the only one that’s worked for me is the OpenDyson tool. I know you're focused on local Dyson support, but you’ve also done great work with OpenDyson. I think if the output from OpenDyson (IoT) could be rebroadcast as local MQTT, it could be a great solution, even if I need to log in occasionally. I’d be more than happy to run this on a Windows VM and connect it to Home Assistant via MQTT. I wonder whether the new firmware has something coded which recognises the client on MQTT? I tried MQTT explorer with every conceivable combination of the password, serial number, credentials, token signature, etc I’m confident that with everyones expertise, a solution is within reach and I would have taken a shot at coding something to pull the data from the Dyson IOT myself if I had the experience. |
Beta Was this translation helpful? Give feedback.
-
@dotvezz have you any objections to me reusing your code from opendyson I am considering how the data could be sent straight to home assistant, I have a lot of testing to do, just a few simple mods gave me a cloud to MQTT although I don't get the topic formats and its very basic. Actually uses less data than having the app open (which constantly queries status) I think dyson might introduce subscription model for cloud features in the future as I read their user agreement and it mentions a 3rd party server company |
Beta Was this translation helpful? Give feedback.
-
@dotvezz Hi there, so I'm stuck with trying to get the vis nav to work, dyson have chosen to ignore my email into them regarding the MQTT connection so I don't think its going to be possible to do local control. I rewrote part of the opendyson code, specifically the module \cmd\funcs.go so its got my details built into it and its quite happy (on a PC) to sit there polling the dyson server and feeding back the result to MQTT. I would like to develop this into a seperate home assistant integration but I'm really stuck on where to start having not done this type of development before. How do you take the .go code and make it into a HA integration? is it an easy process. Any guidance, videos etc would be appreciated as I intend to host the finished integration on my github. Thanks in advance David P.S regarding the app notifications into HA which was a nice find, I added a value template into my configuation.yaml as the app notifications aren't that frequent so after an hour the message now changes to "No recent updates from the Dyson Robot"
|
Beta Was this translation helpful? Give feedback.
-
Any luck with the Vis Nav integration? I'm stuck in the same state. Tried removing the integration and even resetting the device, but it consistently fails to connect |
Beta Was this translation helpful? Give feedback.
-
hey,
wondering how well support for the 360 Vis Nav is, currently?
thanks
Beta Was this translation helpful? Give feedback.
All reactions