J0hnMatrix / domoticz-tplink-hs100-hs110-v1

This repo is for the TP-Link HS100/HS110 plugin v1 for Domoticz
0 stars 1 forks source link

Error with HS110 #1

Closed almostlunatic closed 2 years ago

almostlunatic commented 2 years ago

I have a TP-Link HS110, bought in 2019, HW ver. 2.0, FW ver 1.5.5 and I cannot connect it to Domoticz. It gives me the next errors:

2022-01-18 01:12:09.831 Error: HS110: 'onStart' failed 'timeout':'timed out'. 2022-01-18 01:12:09.831 Error: HS110: Exception traceback: 2022-01-18 01:12:09.831 Error: HS110: ----> Line 227 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function onStart 2022-01-18 01:12:09.831 Error: HS110: ----> Line 75 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function onStart 2022-01-18 01:12:09.831 Error: HS110: ----> Line 208 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function get_switch_state 2022-01-18 01:12:09.831 Error: HS110: ----> Line 171 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function _send_json_cmd

2022-01-18 01:12:19.556 Error: HS110: 'onHeartbeat' failed 'timeout':'timed out'. 2022-01-18 01:12:19.556 Error: HS110: Exception traceback: 2022-01-18 01:12:19.556 Error: HS110: ----> Line 262 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function onHeartbeat 2022-01-18 01:12:19.556 Error: HS110: ----> Line 136 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function onHeartbeat 2022-01-18 01:12:19.556 Error: HS110: ----> Line 191 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function update_emeter_values 2022-01-18 01:12:19.556 Error: HS110: ----> Line 171 in '/home/riho/domoticz/plugins/domoticz-tplink-hs100-hs110-v1/plugin.py', function _send_json_cmd 2022-01-18 01:12:29.116 Error: HS110: 'onHeartbeat' failed 'KeyError':'('current',)'.

The last block is repeted continously.

Can you help me a little to solve the issue, please?

J0hnMatrix commented 2 years ago

You should stop using this plugin and take a look on the official one: https://www.domoticz.com/wiki/Plugins https://github.com/lordzurp/domoticz-tplink-smartplug

almostlunatic commented 2 years ago

Thank you very much!