IP Discovery is not working on MacOs
See original GitHub issueI ran the following command (latest stable of everything)
python3 -m homekit.discover --log DEBUG
....
2019-08-18 09:48:58,415 __init__.py:0099 DEBUG candidate data {b'c#': b'1', b'ff': b'8', b'id': b'XX:XX:XX:XX:XX:XX', b'md': b'WEBOS', b'pv': b'1.1', b's#': b'1', b'sf': b'1', b'ci': b'31', b'sh': b'3mxJYw=='}
Traceback (most recent call last):
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/blake/Library/Python/3.7/lib/python/site-packages/homekit/discover.py", line 51, in <module>
results = Controller.discover(args.timeout)
File "/Users/blake/Library/Python/3.7/lib/python/site-packages/homekit/controller/controller.py", line 90, in discover
return discover_homekit_devices(max_seconds)
File "/Users/blake/Library/Python/3.7/lib/python/site-packages/homekit/zeroconf_impl/__init__.py", line 102, in discover_homekit_devices
info.properties
File "/Users/blake/Library/Python/3.7/lib/python/site-packages/homekit/zeroconf_impl/__init__.py", line 180, in parse_discovery_properties
d['category'] = Categories[int(category)]
File "/Users/blake/Library/Python/3.7/lib/python/site-packages/homekit/model/categories.py", line 94, in __getitem__
raise KeyError('Item {item} not found'.format(item=item))
KeyError: 'Item 31 not found'
I’m guessing it has to do with not supporting my LG c9 tv (wonder what it will do when I get the homekit component for my shower 😄). https://www.theverge.com/2019/7/24/20708380/lg-apple-airplay-2-homekit-2019-oled-microcell-uhd-tv
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Workaround for Local Network Discovery Failures & Problems ...
A fairly easy workaround, but you'll find that once the connection has timed out you'll need to start over again, toggle the Macs...
Read more >Network Discovery - Apple Support Communities
There is a problem with the mac not being able to discover and show shared resources in the finder or I should say...
Read more >DHCP Discovery not working on macOS - SoftPerfect
I've tried DHCP Discovery function in NetScan v8.1.1 on two different macOS machines: Mac mini 2018 with Big Sur 11.5.2 and Mac Book...
Read more >macos - Network discovery on a Mac - Stack Overflow
Many network discovery/scanning tools can check for more than just ping, looking for listening ports, SNMP, etc. as well.
Read more >Workaround for Local Network Discovery Failures & Problems ...
The server may not exist or is not currently available. Check the server name or IP address, check your network connection and try...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@niemyjski and @jc2k: i would like to close this and move the issue to #170, since this is not discovery related anymore and we seem to have the same issue with at least the Eve Energy 1EC0 plug as well.
Continued in #170!