-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Support for TP07? #57
Comments
Can you provide the device WIFI SSID? You can hide the serial part. |
I can’t actually find that on the device itself. That is how I knew it wouldn’t work!
|
How do you set up this device in the official mobile app? Using device SSID or bluetooth? Can you provide the error log when you see "Failed to connect"? |
I have looked in the log but nothing is being reported. Is there some additional logging i need to turn on? |
Any help on this issue? Would really like to get my fan working with HA |
Can you try run the script mentioned here https://github.com/shenxn/ha-dyson#setup-manually and check the model of your device? Thanks. |
When using that script mentioned, i get an error after typing in my email. Im in the UK so i am putting gb as my region and when i then type in my email i get this error |
There seems to be some problem with cloud login now since Dyson changes its log API again. Can you try enable debug log (https://github.com/shenxn/ha-dyson#debug-log) and setup again in HA to see if you can get some useful log? |
Will do that now! |
Okay, Removed the Dyson cloud restarted and then tried to recreate the cloud component and got the below
|
Sorry I was not clear. You should only setup dyson local. If you remove your dyson cloud entry, currently it is impossible to add it back because of the API change. Do you have any backup or so that can go back? Otherwise you need to waif for the login procedure to be fixed. |
Ah! damn, no I dont. Is this something that you are working on? is is this something on dysons end? |
Dyson changes it's login API so I need to figure out the new APIs and change the login procedure. It will not take a long time. |
okay, let me know when you want me to try again. |
Hello, I got a TP07 and managed to add it, just by signing in into the dyson cloud with the 'cloud code'; then it discovered the Dyson locally, hit configure; typed a name for the fan. It threw an error; hit configure again; took the default name and it was successful. screenshot edit; nevermind, the oscillating, speeds etc all seems to be part of the 'fan' entity; very nice! |
@Echotrouble - Im going to give it ago again. What is the "Cloud Code"? and where did you find it? And what region are you in? |
I added both repositories through HACS: Installed them both. Configured the ha-dyson-cloud, after that the dyson was discovered locally, I added the local dyson and configured it. Removed the cloud integration again. |
What region are you in? I cant log in from the UK. |
Any progress on this one @shenxn? |
@wranglatang Try #59 as a workaround. |
I have managed to add in the cloud integration. But cant connect to my TP07 when try to add the local integration. I also tried running getdevices.py but i still get an SSL error returned. I also turned on debugging in HA and i see this in the log: |
That means TP07 integration is still not working. Can you try install MQTT Explorer and connect to your device? The username is the serial and password is the credential. You can get them use the method mentioned here. Then open your Dyson mobile app, send some commands to your device, and see what you can get from the MQTT explorer. |
Are you referring to the Setup Manually section? I get an error when trying to run getdevices.py. |
|
Let me check. |
@wranglatang Can you try dev branch? https://github.com/shenxn/libdyson/tree/dev |
That worked! I have my credentials I have connected via MQTT explorer and im sending it commands from my phone however i dont see anything in MQTT Explorer... |
Make sure your phone and your device are under the same WiFi network. If still not working, try kill your app and start it again. |
Yep, Both are on the same network. I have closed and opened the app again but still nothing showing up. Im also looking at wireshark and i dont see any packets going too or from the fan!!? But i have seen packets before, very odd. |
Okay, i can see packets in wireshark looks like the MQTT Broker on the fan is accepting the connection. however even when i send commands from the app, i dont see any packets to or from the fan in wireshark or any messages in MQTT Explorer |
That means your mobile app does not use MQTT to communicate with your device. There are several possibilities:
|
I have rebooted my device a few time but still the same result. Have you got an example MQTT Topic and payload that i could send via MQTT Explorer to see if it actually responds to it? May just a turn on message for the fan? |
What is the device type you get from
|
The type is 438E. I sent that message, but i didnt get anything back in MQTT. But i do see two messages in Wireshark. One is the publish message going TO the fan, and the other is an Acknowledgement message coming back. |
Btw I've had it working with my TP07 for quite a while. I'm using the local integration, not cloud. It does drop sometimes and then I have to reboot the dyson. |
So did your TP07 come with a WiFi username and password sticker that you then used with the local integration? mine doesn’t have that. |
I've just merged a PR related to 438E device (shenxn/libdyson#12). Which means this should work for at least some of the 438E devices. @wranglatang You are receiving ACK message from your device means the MQTT broker on your device is working, but your device seems not responding to it. There might be some problem with your device. Try upgrade firmware or do a factory reset to see if it works. |
Thanks @shenxn, I’ll give it a go later when I get to my computer. |
Will this update appear in HACS? |
That PR adds a new sensor data to libdyson, but the current very should already support the model. Only the sensor is missing. |
Okay, I have been doing some testing. It doesn't look like it is possible to do anything locally to my TP07 device, i have tried blocking all outgoing traffic from the fan to the cloud to force my phone to try and connect locally but that dosnt seem to work at all. |
No, theres no local wifi info. |
@AJolly did you manage to get your TP07 connected? |
@AJolly - sorry to bug, how did you manage to connect up your TP07? Did you just use the local component and manual connection? |
This has been closed by the TP07 still does not integrate. |
I don't own a TP07 so unless someone is willing to make a pull request, it won't be fixed :S |
@shenxn @Kakise I'm willing to help out on this. I just received a TP07 and am eager to get it connected to HomeAssistant. I've started poking around with the device and found something peculiar; Dyson uses the same product type ( In any case, I was able to query the TP07 via the If you all need any more info regarding the TP07 feel free to ping me. In the meantime, I'll continue to tinker on this in my spare time. |
I have recently just brought the TP07 (Dyson Purifier Cool Tower).
Any possibility of supporting this model?
Id be happy to test any test releases etc :)
The text was updated successfully, but these errors were encountered: