Search found 14 matches

by DaanV
Thursday 30 May 2019 18:08
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

It is working now. Thank you so much for getting this to work!
by DaanV
Thursday 30 May 2019 14:19
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

No worries, I could have been more clear about the systeem I'm running Domoticz on. And I'll bear with you for as long as you are still enjoying helping me out. I am grateful there are people like you, helping out people like me. The Python3 script is running smoothly from the command line. The info ...
by DaanV
Thursday 30 May 2019 13:38
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

Hmm. That's weird. I am running Domoticz on an RPi with Raspbian Debian 9 (Stretch) Changing the line into the new code, just gave a new error on the same line. What would be the explanation for the Python2 script running from the command line and even sending the data to the dummy meters I created ...
by DaanV
Thursday 30 May 2019 12:45
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

@ajay100 I have changed that section into the one you suggested. The error now is: Screenshot 2019-05-30 at 12.28.48.png What do you suggest to do now? How do I convert the code into Python 3? I have found a Python 3 code here: https://github.com/ajay10000/TP-Link-HS110 Changed the 'user editable ...
by DaanV
Thursday 30 May 2019 11:26
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

@ajay100 I tried out commenting out pine 227 and 228. Now I get this error: Screenshot 2019-05-30 at 11.19.36.png When I started this whole adventure, I have tried replacing parts of the code with the Python3 code, like you suggested, as I figured there might be a conflict between Python versions. I ...
by DaanV
Thursday 30 May 2019 9:40
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

@ajay100 Thanks for the new idea. I have commented out line 214 and ran the script again from the command line. An interesting thing happens now. In the terminal nothing happens: Screenshot 2019-05-30 at 09.29.12.png I also had my MacOS Finder open and noticed in the Domoticz folder, there suddenly ...
by DaanV
Friday 24 May 2019 10:29
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

Yes, the log file should be created in the same folder, but it is probably not getting that far. Can you try running it from the command line to capture the error/info in the console? python2 tplink_hs110.py -c info Yeah, I figured as much as the script not getting that far. This is the output I am ...
by DaanV
Wednesday 22 May 2019 7:28
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

@DaanV, can you change debug_level="INFO" to debug_level="DEBUG" and show the recent entries for log hs110-1.log from /home/pi/domoticz/scripts/python (or your equivalent folder)? I seem to remember that the Python3 version script was required, as that is what I am using. My Domoticz version is V4 ...
by DaanV
Monday 20 May 2019 21:58
Forum: Others
Topic: TP-Link smart plug HS100/HS110
Replies: 256
Views: 97221

Re: TP-Link smart plug HS100/HS110

Hopefully you all can help me out with this one. After reading all eight pages of this forum post, I have gotten a lot wiser, but have not yet found the solution to my problem with the HS110. This forum has helped me before, so I wish to thank you in advance for all your great work and help. When ...
by DaanV
Thursday 02 May 2019 20:15
Forum: dzVents
Topic: Showing energy costs for double tarrif meter [Solved]
Replies: 11
Views: 3006

Re: Showing energy costs for double tarrif meter [Solved]

I've solved the puzzle. Turns out I was doing a couple of things wrong: Just to be sure and for other people with similar questions, this is the script I used in the end: Your welcome. Please note that the only area you need to modify settings is between the lines ...
by DaanV
Thursday 02 May 2019 19:39
Forum: dzVents
Topic: Showing energy costs for double tarrif meter [Solved]
Replies: 11
Views: 3006

Re: Showing energy costs for double tarrif meter [Solved]

Thanks again. Thanks to your help, I've solved the puzzle. Turns out I was doing a couple of things wrong: 1. There is an option in the script to use the gasFixedDay/elecricityFixedDay command instead of yearly. 2. Apparently the T1 tariff in Domoticz is the nighttime tariff, whereas most energy ...
by DaanV
Thursday 02 May 2019 14:38
Forum: dzVents
Topic: Showing energy costs for double tarrif meter [Solved]
Replies: 11
Views: 3006

Re: Showing energy costs for double tarrif meter [Solved]

the fixed costs per day for electricity are -0,11286
the fixed costs per day for gas are 0,45619

I don't have a smart water meter
by DaanV
Thursday 02 May 2019 13:41
Forum: dzVents
Topic: Showing energy costs for double tarrif meter [Solved]
Replies: 11
Views: 3006

Re: Showing energy costs for double tarrif meter [Solved]

Thanks for your swift reply! This is a familiar script. I have come across it and tested it before. The script seems to be working without errors. There is just one problem: my fixed costs are calculated per day instead of on a monthly base. I tried to change that in the script, but it turns out my ...
by DaanV
Thursday 02 May 2019 11:45
Forum: dzVents
Topic: Showing energy costs for double tarrif meter [Solved]
Replies: 11
Views: 3006

Showing energy costs for double tarrif meter [Solved]

First of all, thank you for this great piece of software. I have been enjoying it a lot already. At the moment I am trying to get a custom sensor to show my daily gas and energy costs. the complicating factor is that I have a double tariff meter and fixed daily costs. I have used a script which I ...