Open Hatom1K opened 6 years ago
use python3
Ok done, it's okay. But now i find nothing on my dyson account::
root@jeedomVM:/var/www/html/plugins/dyson# python3 script.py
/usr/lib/python3/dist-packages/urllib3/connectionpool.py:845: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
InsecureRequestWarning)
Traceback (most recent call last):
File "script.py", line 21, in <module>
connected = devices[0].connect("192.168.1.14")
IndexError: list index out of range
i can intereact with my fan by the android app .. :/
I have the same "list index out of range" error with my DP04 and using Python3.
New TP04 and DP04 machines are only supported with PR#15 which @CharlesBlonde is yet to merge...
OK, thanks. Will keep an eye out for that.
I have an issue when i try this API.
When i launch my .py file, i have this error:
Thanks