TP-Link smart plug HS100/HS110

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

nosehook
Posts: 49
Joined: Thursday 31 March 2016 20:49
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post by nosehook »

Hi Richard,

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

This should do the trick.

Regards,

Freek
Pi3 Domoticz | RFXcom 433E | KAKU/COCO |Harmony Hub | Samsung TV | HS100 | HS110| HUE | Tradfri | Tado| Xiaomi |sensors | scripts| Pi3 Node Red | Pi2 SDS_011 + MH-Z19B | PiAware (zero) | Pi2 breadboard with Node red and Domoticz
ricvee
Posts: 32
Joined: Wednesday 13 May 2015 9:05
Target OS: Linux
Domoticz version: Stable
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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
joew
Posts: 4
Joined: Tuesday 10 February 2015 17:44
Target OS: Linux
Domoticz version:
Contact:

Report button for energy cost etc?

Post 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?
ajay100
Posts: 72
Joined: Monday 07 August 2017 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Victoria, Australia
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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
User avatar
waltervl
Posts: 5727
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
woempiej
Posts: 9
Joined: Saturday 19 October 2019 18:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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
woempiej
Posts: 9
Joined: Saturday 19 October 2019 18:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post by woempiej »

HS110 isn't connecting anymore because TP-Link closed port 9999 in the new firmware.
ccounotte
Posts: 9
Joined: Friday 15 December 2017 21:16
Target OS: Windows
Domoticz version:
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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.
Alain
Posts: 166
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
ccounotte
Posts: 9
Joined: Friday 15 December 2017 21:16
Target OS: Windows
Domoticz version:
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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.
Alain
Posts: 166
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
ccounotte
Posts: 9
Joined: Friday 15 December 2017 21:16
Target OS: Windows
Domoticz version:
Contact:

Re: TP-Link smart plug HS100/HS110

Post by ccounotte »

Alain wrote: Wednesday 01 December 2021 0:31 Please do.
https://www.amazon.fr/dp/B09JKHZS2F/ref ... 8BN2ZTGZE1
Alain
Posts: 166
Joined: Sunday 26 April 2020 5:27
Target OS: Linux
Domoticz version: 2022.1
Location: Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post by Alain »

Thanks.
Hue | Zigbee2Mqtt | MQTT | P1 | Xiaomi | RFXCom | Modbus | Qlima | Solaredge
TP-Link | Plugwise | Thermosmart | Node-Red | Grafana | Master and 5 remote servers
ajay100
Posts: 72
Joined: Monday 07 August 2017 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Victoria, Australia
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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 2590 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 2590 times
reddo
Posts: 30
Joined: Thursday 01 September 2016 12:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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
-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
ajay100
Posts: 72
Joined: Monday 07 August 2017 15:01
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Victoria, Australia
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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
reddo
Posts: 30
Joined: Thursday 01 September 2016 12:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: The Netherlands
Contact:

Re: TP-Link smart plug HS100/HS110

Post 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
-Domoticz-RFLink-PVoutput-Solarmeter-SBFSpot-ESPEasy-Volumio with spotify connect-
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest