Comments (17)
Updated to 0.8.0, configuration worked and 1 device successfully recognized, 3 additional entities recognized and working: battery_charging, battery_level and bin_full.
Well done!
from ha-dyson.
Can you try running the get_devices.py
directly from https://github.com/shenxn/libdyson? See if it can successfully get all information needed for your devices.
from ha-dyson.
yes it works, I have executed a bash inside the container and then cloned the project, this is the result:
bash-5.0# python get_devices.py
Please choose your account region
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: IT
Email: *****@gmail.com
Password:
Verification code: 557193
Serial: D8R-EU-****934A
Name: Aspirapolvere
Device Type: 276
Credential: *******==
Serial: PT4-EU-K****A
Name: Studio
Device Type: 455
Credential: *****==
--
Today I will cleanup everything and try again the configuration process from scratch.
Thanks for your help.
from ha-dyson.
I get the same error also after reinstalling everything from scratch, a couple more tests I did that can help your analysis:
I tried adding the device using HA Integration ha-dyson-local and filled all the fields using get_devices.py output, after a while it says "Failed to connect" and nothing in the logs.
Then I tried to connect from HA container to dyson vacuum and it worked, telnet 192.168.0.12 1883 was successful.
Then I have installed mqtt explorer on my machine and successfully connected to 192.168.0.12 port 1883 using serial as username and Credential as password, I can see some topics like N223/initialconnection/status and N223/initialconnection/credentials
from ha-dyson.
I noticed that there is a device of type 276 in your device list. What is the actual model of that device?
from ha-dyson.
It is a Dyson RB02, aka Dyson 360 Eye heurist.
https://www.dyson.it/aspirapolvere/robot/dyson-360-heurist
Increased log to debug ant it says:
2021-03-14 09:31:48 INFO (MainThread) [libdyson.dyson_device] Connected to device D8R-EU-****A
2021-03-14 09:31:58 DEBUG (Thread-108) [libdyson.dyson_device] Disconnected with result code 0
from ha-dyson.
Thanks. That device is actually not supported yet. And I couldn't find much info about the MQTT protocol of that device. This is the cause of the error log you see. It will be very helpful if you can help me figure that out. Can you try to connect to the device with MQTT explorer and send some commands through your Dyson mobile app and see if you can see some data under topics like */*/status
and */*/command
.
from ha-dyson.
Sure will do, will send you an initial trace and then you can ask me more details.
from ha-dyson.
I have sent you the first sample by email. Hope it helps.
from ha-dyson.
@loscalinohacs I've received that. At a first glance, it seems that the protocol is pretty much the same as Dyson 360 Eye (N223). I should be able to add support to this very soon.
from ha-dyson.
Great news! ok, feel free to ask me more details and tests if needed, thanks a lot.
from ha-dyson.
Can you also do some operations like set power mode, run a full clean, stop, resume, back to home. You don't need to finish the clean. You can stop it as long as your robot starts moving. It'll be helpful if you can post some screenshot of the mobile app as well. Thanks a lot.
from ha-dyson.
mqtt trace v2.0 and screenshots sent by mail, the protocol seems simple and I hope it did not change between models.
from ha-dyson.
@loscalinohacs I released version 0.8.0. It now has basic support for 360 Heurist.
from ha-dyson.
That's a good news. I may add zone configured cleaning later through custom services but that is going to be pretty tricky. There is one thing I would like to know though, is your 360 Heurist has the WiFi SSID and password info on a sticker used for setup just like any other Dyson devices? If so, can you send me a photo or just information on it? It is related to #17.
from ha-dyson.
there is a sticker with mac address but no wifi ssid/pass, it seems that this model uses the app to send wifi SSID and pass to the device.
The only interesting thing I have found on the sticker is an 8 digits code "nnnn-nnnn" that could be related with device pairing.
This video shows how robot is paired with local wifi using app:
https://www.youtube.com/watch?v=svDMkf3REss&ab_channel=Dyson
from ha-dyson.
@loscalinohacs Thanks for confirm. Looks like heurist uses Bluetooth instead of the old WiFi AP. Closing this issue. I'll ping you for testing if I figured out how to implement the zone based cleaning.
from ha-dyson.
Related Issues (20)
- HP09 Not connecting HOT 1
- Dyson Purifier Humidify Cool Formaldehyde (358K) not supported HOT 10
- Dyson Cloud never worked, using Dyson Local only now HOT 7
- Type 438K Fails to Connect HOT 3
- Stopped working? HOT 20
- Core 2022.2.0: Sensor has device class temperature, state class measurement and unit °C with non-numeric value: off
- Support Request - Add Device - Dyson HP07 Purifier Hot and Cool - Device Type 527k HOT 12
- No Formaldehyde Value HOT 2
- New device type Dyson purifier cool formaldehyde HOT 4
- New actively maintained integration! Collaborators welcome! Details inside. HOT 8
- Wifi-less "Dyson Pure Humidity+Cool" is not supported
- state class measurement and unit °C thus indicating it has a numeric value; however, it has the non-numeric value: off HOT 4
- Failed to find the device using discovery
- Not working on Home Assistant v2023.6 HOT 1
- ha-dyson failing with "cannot import name 'DysonPurifierHumidifyCoolFormaldehyde' from 'libdyson'" HOT 3
- Oscillation/angle setting
- Deactivate preset mode, or preset mode none
- Planned deprecation of direction, oscillate, preset_mode and set_speed HOT 1
- Local integration stopped working in HA 2024.1 HOT 4
- Depreciation warning in logs HOT 1
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 ha-dyson.