csteenwyk Posted December 2, 2021 Share Posted December 2, 2021 Hi, When I run the nodeserver in polyglot discover doesn't find any devices: 2021-12-01 21:59:16,637 Controller polyinterface INFO Controller:discover_new: start 2021-12-01 21:59:16,639 Controller asyncio DEBUG selector_events:__init__: Using selector: EpollSelector 2021-12-01 21:59:16,644 Controller kasa.discover DEBUG discover:do_discover: [DISCOVERY] ('192.168.200.2', 9999) >> {'system': {'get_sysinfo': None}} 2021-12-01 21:59:16,646 Controller kasa.discover DEBUG discover:discover: Waiting 5 seconds for responses... 2021-12-01 21:59:21,653 Controller kasa.discover DEBUG discover:discover: Discovered 0 devices 2021-12-01 21:59:21,656 Controller polyinterface INFO Controller:discover_new: done However, if I run pyHS100 on the server it finds them: python3 -m pip install --user pyHS100 ~/.local/bin/pyhs100 discover Discovering devices for 3 seconds == A - HS103(US) == Device state: ON Host/IP: XXXXXXX LED state: True On since: 2021-12-01 21:37:47.920372 == Generic information == Time: 2021-12-01 21:57:24 Hardware: 5.0 Software: 1.0.3 Build 201015 Rel.142523 MAC (rssi): XX:XX:XX:XX:XX:XX (-41) Location: {'latitude': XXXXXX, 'longitude': XXXXXX} == Emeter == Device has no emeter Also: ~/.local/bin/kasa discover Discovering devices on 255.255.255.255 for 3 seconds == A - HS103(US) == Host: XXX.XXX.XXX.XXX Device state: ON == Generic information == Time: 2021-12-01 22:08:42 Hardware: 5.0 Software: 1.0.3 Build 201015 Rel.142523 MAC (rssi): XX:XX:XX:XX:XX:XX (-41) Location: {'latitude': XXXXXX, 'longitude': XXXXXX} == Device specific information == LED state: True On since: 2021-12-01 22:03:24.354788 Ideas? Link to comment Share on other sites More sharing options...
Jimbo.Automates Posted December 2, 2021 Share Posted December 2, 2021 That's odd that kasa discover is finding it but not discover in the nodeserver which does basically the same thing. Can you do a download log package from the nodeserver log page and PM that to me? I'll try to look tomorrow.Sent from my Pixel 6 Pro using Tapatalk Link to comment Share on other sites More sharing options...
csteenwyk Posted December 2, 2021 Author Share Posted December 2, 2021 I sent you the log files. interestingly if I modify Kasa/Controller.py to just call discover.Discover using the default parameters, it works Link to comment Share on other sites More sharing options...
Jimbo.Automates Posted December 2, 2021 Share Posted December 2, 2021 Well, that's annoying What did you change it to exactly? Maybe there is something weird about the HS103's, I don't have one of those... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.