2020-02-17 17:35:48,403 [Controller] [ERROR] _parseInput: failed 68ff7b0554c0.runCmd(SET_CTBR) 'SmartBulb' object has no attribute 'set_state'
Traceback (most recent call last):
File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 846, in _parseInput
self.nodes[input[key]['address']].runCmd(input[key])
File "/var/polyglot/.local/lib/python3.7/site-packages/polyinterface/polyinterface.py", line 749, in runCmd
fun(self, command)
File "/var/polyglot/nodeservers/Kasa/nodes/SmartBulbNode.py", line 175, in cmd_set_color_temp_brightness
self.dev.set_state()
AttributeError: 'SmartBulb' object has no attribute 'set_state'
2020-02-17 19:43:00,812 [shortPoll ] [ERROR] SmartBulb_DTNE:Test KL120:set_state: set_all_drivers failed: Communication error
Traceback (most recent call last):
File "pyHS100/pyHS100/smartdevice.py", line 117, in _query_helper
request=request,
File "pyHS100/pyHS100/protocol.py", line 47, in query
sock = socket.create_connection((host, port), timeout)
File "/usr/local/lib/python3.7/socket.py", line 728, in create_connection
raise err
File "/usr/local/lib/python3.7/socket.py", line 716, in create_connection
sock.connect(sa)
socket.timeout: timed out
Traceback (most recent call last):
File "/var/polyglot/nodeservers/Kasa/nodes/SmartDeviceNode.py", line 135, in set_state
self.set_all_drivers()
File "/var/polyglot/nodeservers/Kasa/nodes/SmartBulbNode.py", line 63, in set_all_drivers
self.setDriver('CLITEMP',self.dev.color_temp)
File "pyHS100/pyHS100/smartbulb.py", line 182, in color_temp
if not self.is_on:
File "pyHS100/pyHS100/smartbulb.py", line 296, in is_on
return bool(self.state == self.BULB_STATE_ON)
File "pyHS100/pyHS100/smartbulb.py", line 249, in state
light_state = self.get_light_state()
File "pyHS100/pyHS100/smartbulb.py", line 107, in get_light_state
"get_light_state")
File "pyHS100/pyHS100/smartdevice.py", line 120, in _query_helper
raise SmartDeviceException('Communication error') from ex
pyHS100.smartdevice.SmartDeviceException: Communication error