You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed kasa 3 times, (pip install python-kasa). Reply: Requirement already satisfied: python-kasa in /home/epm/.local/lib/python3.8/site-packages (0.5.0). So I guess it's installed.
I pluged in device EP10, then tried:
$ kasa discover
Discovering devices on 255.255.255.255 for 3 seconds
(No response, returned to command prompt)
$ kasa
No host name given, trying discovery..
Discovering devices on 255.255.255.255 for 3 seconds
No response, returned to command prompt)
From the python3 shell
$ python3
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import asyncio
found_devices = asyncio.run(Discover.discover())
Traceback (most recent call last):
File "", line 1, in
NameError: name 'Discover' is not defined
exit
Use exit() or Ctrl-D (i.e. EOF) to exit
epm.77:~/devl/kasa
I am sure your code is correct, So I must have missed a step. Where is "Discover", how do I install it?
I know nothing about python.
Thank you.
The text was updated successfully, but these errors were encountered:
I installed kasa 3 times, (pip install python-kasa). Reply: Requirement already satisfied: python-kasa in /home/epm/.local/lib/python3.8/site-packages (0.5.0). So I guess it's installed.
I pluged in device EP10, then tried:
$ kasa discover
Discovering devices on 255.255.255.255 for 3 seconds
(No response, returned to command prompt)
$ kasa
No host name given, trying discovery..
Discovering devices on 255.255.255.255 for 3 seconds
No response, returned to command prompt)
From the python3 shell
$ python3
Python 3.8.10 (default, Jun 22 2022, 20:18:18)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
epm.77:~/devl/kasa
I am sure your code is correct, So I must have missed a step. Where is "Discover", how do I install it?
I know nothing about python.
Thank you.
The text was updated successfully, but these errors were encountered: