doudz / zigate

python lib for zigate
MIT License
46 stars 22 forks source link

adminpanel doesn't support wifi (host) #156

Closed pawelka closed 4 years ago

pawelka commented 4 years ago

<zigate.core.ZiGateWiFi object at 0x7f6109bde790> Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/bottle.py", line 868, in _handle return route.call(args) File "/usr/local/lib/python3.7/site-packages/bottle.py", line 1748, in wrapper rv = callback(*a, *ka) File "/usr/local/lib/python3.7/site-packages/bottle.py", line 3650, in wrapper result = func(args, kwargs) File "/usr/local/lib/python3.7/site-packages/zigate/adminpanel/init.py", line 55, in index 'model': zigate_instance.model File "/usr/local/lib/python3.7/site-packages/zigate/core.py", line 219, in model if self.connection.vid_pid() == (0x0403, 0x6001): File "/usr/local/lib/python3.7/site-packages/zigate/transport.py", line 210, in vid_pid ports = list(serial.tools.list_ports.grep(self.serial.port)) AttributeError: 'socket' object has no attribute 'port' 2019-12-19 23:43:42 INFO (MainThread) [satel_integra.satel_integra] Ignoring message: 0xee <zigate.core.ZiGateWiFi object at 0x7f6109bde790> Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/bottle.py", line 868, in _handle return route.call(args) File "/usr/local/lib/python3.7/site-packages/bottle.py", line 1748, in wrapper rv = callback(*a, *ka) File "/usr/local/lib/python3.7/site-packages/bottle.py", line 3650, in wrapper result = func(args, kwargs) File "/usr/local/lib/python3.7/site-packages/zigate/adminpanel/init.py", line 55, in index 'model': zigate_instance.model File "/usr/local/lib/python3.7/site-packages/zigate/core.py", line 219, in model if self.connection.vid_pid() == (0x0403, 0x6001): File "/usr/local/lib/python3.7/site-packages/zigate/transport.py", line 210, in vid_pid ports = list(serial.tools.list_ports.grep(self.serial.port)) AttributeError: 'socket' object has no attribute 'port'