Page 13 of 13

Re: TP-Link smart plug HS100/HS110

Posted: Tuesday 01 December 2020 12:10
by nosehook
Hi Richard,

Please have a look here:
https://github.com/J0hnMatrix/domoticz- ... 0-hs110-v2

This should do the trick.

Regards,

Freek

Re: TP-Link smart plug HS100/HS110

Posted: Tuesday 01 December 2020 20:12
by ricvee
Hi Freek,

Unfortunately the same result.
So right after I installed the HS110 in setup-hardware, domoticz crashes, and I can only bring it back to life when I delete the plugins,
and delete the database restart and restore the database.

Thanks for the effort,

Richard

Report button for energy cost etc?

Posted: Tuesday 26 January 2021 11:38
by joew
First post on this thread.

I'm using the plugin on domoticz on pi.

Is ther any way to add the Report button to get energy cost as with other power devices?

Re: TP-Link smart plug HS100/HS110

Posted: Thursday 04 March 2021 8:42
by ajay100
Hi @joew, sorry I haven't seen the Report button functionality and so I don't know the answer to your question, hopefully someone else will chime in.

Cheers - Andrew

Re: TP-Link smart plug HS100/HS110

Posted: Thursday 04 March 2021 9:41
by waltervl
The report function is only available for some device types.
For electricity it is for example available on the General (243), Subtype Kwh (29) device.
https://www.domoticz.com/wiki/Developin ... vice_Types

I did not read through all this topic but the plugin https://github.com/J0hnMatrix/domoticz- ... 0-hs110-v2 does not make use of this device subtype.

Re: TP-Link smart plug HS100/HS110

Posted: Saturday 27 March 2021 13:38
by woempiej
Hi,

I'm using the same steps as ricvee do and having the same problems.
- No plugin showed up in pp-manager list
- If a copy the plugin in the /home/pi/domoticz/plugin folder and install it from the hardware list, domoticz crashes until I'll remove the plugin

Re: TP-Link smart plug HS100/HS110

Posted: Thursday 19 August 2021 19:03
by woempiej
HS110 isn't connecting anymore because TP-Link closed port 9999 in the new firmware.

Re: TP-Link smart plug HS100/HS110

Posted: Sunday 28 November 2021 21:48
by ccounotte
Hello everyone.

I'm trying to get new HS110 plugs but can't find any. Instead I found a new TP-Link KP115 which are actually a lot cheaper.

Wondering if the plugin will also work with those?

Thanks.

Re: TP-Link smart plug HS100/HS110

Posted: Tuesday 30 November 2021 6:04
by Alain
ccounotte wrote: Sunday 28 November 2021 21:48 Hello everyone.

I'm trying to get new HS110 plugs but can't find any. Instead I found a new TP-Link KP115 which are actually a lot cheaper.

Wondering if the plugin will also work with those?

Thanks.
I don't think they are available with an EU plug right now.

Re: TP-Link smart plug HS100/HS110

Posted: Tuesday 30 November 2021 14:13
by ccounotte
Alain wrote: Tuesday 30 November 2021 6:04 I don't think they are available with an EU plug right now.
Purchased 2 from Amazon yesterday, should get them in 1 to 3 months as per delivery information lol. I can post a link if it's allowed? Plug is for France by the way.

Re: TP-Link smart plug HS100/HS110

Posted: Wednesday 01 December 2021 0:31
by Alain
ccounotte wrote: Tuesday 30 November 2021 14:13
Alain wrote: Tuesday 30 November 2021 6:04 I don't think they are available with an EU plug right now.
I can post a link if it's allowed?
Please do.

Re: TP-Link smart plug HS100/HS110

Posted: Friday 03 December 2021 14:20
by ccounotte
Alain wrote: Wednesday 01 December 2021 0:31 Please do.
https://www.amazon.fr/dp/B09JKHZS2F/ref ... 8BN2ZTGZE1

Re: TP-Link smart plug HS100/HS110

Posted: Friday 03 December 2021 14:27
by Alain
Thanks.

Re: TP-Link smart plug HS100/HS110

Posted: Sunday 09 January 2022 1:07
by ajay100
I purchased a KP115 in Australia (AU$29) and can confirm it is operating perfectly and exactly as per the HS110. It's quite a bit smaller, about the size of a typical USB charger.
KP115 image.jpg
KP115 image.jpg (4.6 KiB) Viewed 2648 times
In this case I'm using the plugin. I have it on long term test measuring my fridge power usage.
KP115 fridge power.jpg
KP115 fridge power.jpg (30.57 KiB) Viewed 2648 times

Re: TP-Link smart plug HS100/HS110

Posted: Monday 14 November 2022 22:05
by reddo
Anyone who can give me a step by step install ? I did this years ago for the HS100 and 110 the simple way (sending commands to the switches), updated over a year ago to the plugin so I could ready the power etc from the 110 but ... now did a fresh install and cannot get it to work :(

Running a RPI3 with Raspberry OS with the latest Domoticz.

Thanks !!
Reddo

Re: TP-Link smart plug HS100/HS110

Posted: Thursday 17 November 2022 3:37
by ajay100
Hi @reddo, I see you were part of this thread early on. I have information about getting the plugin working on page 7 of this thread and ongoing. The stand-alone script is described on page 5. Logs are helpful for trouble-shooting, as we don't know which part you can't get to work.
Cheers - Andrew

Re: TP-Link smart plug HS100/HS110

Posted: Friday 02 December 2022 22:54
by reddo
ajay100 wrote: Thursday 17 November 2022 3:37 Hi @reddo, I see you were part of this thread early on. I have information about getting the plugin working on page 7 of this thread and ongoing. The stand-alone script is described on page 5. Logs are helpful for trouble-shooting, as we don't know which part you can't get to work.
Cheers - Andrew
Thanks ! After grinding through all the stuff I did use this one which works well !! Thanks for the reply Ajay100 !

viewtopic.php?p=219864#p219864

I do however still get these errors while all seems to be working well...

2022-12-03 00:19:19.281 Error: tplink: Traceback (most recent call last):
2022-12-03 00:19:19.281 Error: tplink: File "/home/pi/domoticz/plugins/domoticz-tplink-smartplug/plugin.py", line 290, in onHeartbeat
2022-12-03 00:19:19.281 Error: tplink: _plugin.onHeartbeat()
2022-12-03 00:19:19.281 Error: tplink: File "/home/pi/domoticz/plugins/domoticz-tplink-smartplug/plugin.py", line 137, in onHeartbeat
2022-12-03 00:19:19.281 Error: tplink: self.update_emeter_values()
2022-12-03 00:19:19.282 Error: tplink: File "/home/pi/domoticz/plugins/domoticz-tplink-smartplug/plugin.py", line 205, in update_emeter_values
2022-12-03 00:19:19.282 Error: tplink: Devices[2].Update(nValue=0, sValue=str(round(realtime_result['current'],2)))
2022-12-03 00:19:19.282 Error: tplink: KeyError: 2