Search found 72 matches

by ajay100
Thursday 17 November 2022 3:37
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

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
by ajay100
Sunday 09 January 2022 1:07
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

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 In this case I'm using the plugin. I have it on long term test measuring my fridge power usage. KP115 ...
by ajay100
Thursday 04 March 2021 8:42
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

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
by ajay100
Thursday 14 May 2020 3:02
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

Thanks @nosehook, that is really good to know!

Cheers - Andrew
by ajay100
Monday 11 May 2020 14:19
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@nosehook, thanks, good patient troubleshooting is the best! If you start getting crashes with the next added device, try increasing the interval from 1 to 2: interval = 2 # heartbeat in 10 second multiples The domoticz_crash.log is above my understanding, but if you post it in the General forum ...
by ajay100
Monday 11 May 2020 12:25
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@Alain, we are happy to help if you can provide more information, such as logs. If you are persisting with the Python Plugin Manager when it is unsupported in Windows, then I'm not sure if anyone can help. However if you are running other Python Plugin Manager plugins successfully in Windows, please ...
by ajay100
Saturday 09 May 2020 2:52
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@nosehook, yes the crash log would be handy. Also, try starting with one enabled only and build up from there. If the system crashes with only one enabled then it may help to focus the trouble-shooting.
by ajay100
Friday 08 May 2020 3:06
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

by nosehook » Thursday 07 May 2020 22:28 Ok, it is working again. Strangely, in the old version of the script I had selected HS110V2 (both HS110's are) and then I got data. As a last resort, I changed the hardware version under the new script to HS110 and I suddenly got all the data again. Hi ...
by ajay100
Thursday 07 May 2020 11:43
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@nosehook, you have debugging turned on, which is great. In your Domoticz log you should be seeing an emeter result as well as the get_sysinfo result. It will look similar to this: 2020-05-07 19:21:03.266 (HS110 Plugin) got response: {'emeter': {'get_realtime': {'voltage_mv': 242130, 'current_ma ...
by ajay100
Thursday 07 May 2020 9:33
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

Hi @nosehook, to give you any feedback we would need to know where you got the HS110 plugin from, as there are several different versions. You can also copy and post the Domoticz log related to the HS110 plugin. Also check and post your settings from the top of the plugin script if possible. Cheers ...
by ajay100
Friday 01 May 2020 13:09
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@Alain, my recent suggestion is not a plugin. It is a standalone Python script that can log HS110 information without using Domoticz. It has the advantage that it can send information to Domoticz as well. However, you need to add the hardware yourself in Domoticz: * Use the 'Dummy - Does nothing ...
by ajay100
Sunday 26 April 2020 6:33
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

Hi @Alain, Python Plugin Manager is not supported in Windows and the HS100/110 Domoticz plugin was designed to be used with that. I suggested to another member that they try the standalone version https://github.com/ajay10000/TP-Link-HS110 in Windows.
by ajay100
Friday 24 April 2020 3:52
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

I have installed the script in systemctl and it is working (every 15 sec) In lua (within domoticz) i read the otherdevices_lastupdate to see when my hs110 went on. If it is on for 5 minutes and doesnt provide any power i want to turn it off to forecome overload of my battery charger connected to it ...
by ajay100
Friday 24 April 2020 3:14
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@Helly, try changing the HS110_divider variable to 1. The value of this variable tells the script, around line 220, to manage for the two different versions of HS110 commands (as discussed elsewhere in this thread). i.e. current_ma, voltage_mv, power_mw OR current, voltage, power.
by ajay100
Sunday 02 February 2020 13:35
Forum: LUA
Topic: Lua Parsers Script - global tables
Replies: 2
Views: 926

Re: Lua Parsers Script - global tables

This is an old thread, but for those searching for the answer, it appears from what I have found that global tables (i.e. uservariables, etc.) are not available to LUA Parser scripts. I am experimenting with/learning about dzVents now to see if this will help. Corrections welcome.
by ajay100
Saturday 01 February 2020 8:22
Forum: Utility
Topic: Victron BMV-70x battery monitor update
Replies: 2
Views: 1895

Re: Victron BMV-70x battery monitor update

Hi @jortg, sorry I missed your question as I was not subscribed to the topic. I hope you have resolved it by now. I've updated the README on GitHub to provide some more information.
by ajay100
Thursday 23 January 2020 11:59
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

To clarify, the python standalone script is saved somewhere convenient to run from the python shell. Set up the parameters in the 'User Editable Variables' section, CD to the folder, then run for example:

Code: Select all

python3 tplink_hs110.py -c energy
This script is not installed in the Domoticz plugin folder.
by ajay100
Thursday 23 January 2020 11:48
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

Hi @Notna, I am using a Raspberry Pi platform for Domoticz, so I haven't tested this on Windows. However I believe the HS110 python script should work for you, from any of the previously mentioned sources, or mine at https://github.com/ajay10000/TP-Link-HS110 . This is run from the python shell ...
by ajay100
Saturday 11 January 2020 4:10
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@Kubinks, thanks for your feedback. I had deleted that bit of code because it didn't seem to be doing anything. Your post encouraged me to find out what was going on. Devices[4].Update(nValue=0, sValue=str(round(realtime_result['power_mw']/1000,2)) + ";" + str(realtime_result['total_wh'])) This code ...
by ajay100
Saturday 28 December 2019 1:09
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 92448

Re: TP-Link smart plug HS100/HS110

@Darkneo, sending the switch command directly from the shell as you have done is a good way to troubleshoot. Example - turn the relay off:

Code: Select all

python tplink_hs110.py -c off
Have you tried setting debugging on to see if that provides any clues?

Code: Select all

debug_level="DEBUG"