Open amirook opened 2 years ago
Not a direct answer, but I ran it on my Mac by cloning https://github.com/shenxn/libdyson/tree/main/libdyson running pip3 install -r requirements.txt
then ran get_devices and it output the required info.
python3 get_devices.py
Please choose your account region
1: Mainland China
2: Rest of the World
Region [1/2]: 2
Region code: GB
Email: xxx@gmail.com
Password:
Verification code: xxx
Serial: VS7-UK-xxxx
Name: Bedroom
Device Type: 438
Credential: qxxx==
HA runs on my RPi.
Not a direct answer, but I ran it on my Mac by cloning https://github.com/shenxn/libdyson/tree/main/libdyson running
pip3 install -r requirements.txt
then ran get_devices and it output the required info.python3 get_devices.py Please choose your account region 1: Mainland China 2: Rest of the World Region [1/2]: 2 Region code: GB Email: xxx@gmail.com Password: Verification code: xxx Serial: VS7-UK-xxxx Name: Bedroom Device Type: 438 Credential: qxxx==
HA runs on my RPi.
A huge THANK YOU very much for your "not a direct answer" ! I just solved the troubles I had since a few months to finally get those credentials. To avoid a "X509_V_FLAG_CB_ISSUER_CHECK" error of crypto.py I had to uninstall pyopenssl and install the 22.0.0 version. Then to do the same with cryptography and install the 37.0.0 version and it worked like a charm.
Unfortunately there seems to be an issue with dysson-cloud. I don't see any WiFi information on my device (pure cool formaldehyde) so I have to go the manual way.
I read the README multiple times. It said I have to use the script get_devices.py to get the credentials. Where does it store the credentials, that I need? I run the script successfully on my Mac. I entered Region, Region Code, Email, Password and the Verification Code. But then nothing happens.
Do I have to run this on the machine, that runs homeassistant? In my case this would be a RasPi.