Search found 6 matches

by Flo00719
Wed Apr 11, 2018 8:24 pm
Forum: Computer Talk
Topic: Controlling the TP-Link HS110 smart plug with Domoticz
Replies: 15
Views: 137517

Re: Controlling the TP-Link HS110 smart plug with Domoticz

Hello, thank you for continuing to help me :) actually I had the:

Code: Select all

{
   "status" : "OK",
   "title" : "Update Device"
}
And domoticz it is well updated
I do not see where the error is in the script
by Flo00719
Mon Apr 09, 2018 3:17 pm
Forum: Computer Talk
Topic: Controlling the TP-Link HS110 smart plug with Domoticz
Replies: 15
Views: 137517

Re: Controlling the TP-Link HS110 smart plug with Domoticz

I tried to leave that code and at the execution of

Code: Select all

python /home/pi/domoticz/scripts/python/test.py
I have an error 401. I am short of idea but thanks for the help
by Flo00719
Fri Apr 06, 2018 5:08 pm
Forum: Computer Talk
Topic: Controlling the TP-Link HS110 smart plug with Domoticz
Replies: 15
Views: 137517

Re: Controlling the TP-Link HS110 smart plug with Domoticz

I get:

Code: Select all

(error(110, 'connection timed out') ,)

I am nevertheless some of my addresses because the switch via domoticz works.
by Flo00719
Fri Apr 06, 2018 2:13 pm
Forum: Computer Talk
Topic: Controlling the TP-Link HS110 smart plug with Domoticz
Replies: 15
Views: 137517

Re: Controlling the TP-Link HS110 smart plug with Domoticz

Thank you for watching. I had already done this command because I searched a lot before asking for help and I get this error: Traceback (most recent call last): File "/home/pi/domoticz/scripts/python/test.py", line 74, in <module> print e.code AttributeError: 'URLError' object has no attri...
by Flo00719
Thu Apr 05, 2018 3:59 pm
Forum: Computer Talk
Topic: Controlling the TP-Link HS110 smart plug with Domoticz
Replies: 15
Views: 137517

Re: Controlling the TP-Link HS110 smart plug with Domoticz

Thank you for answering me so quickly. So I'll explain everything I did and you can tell me if I made a mistake but I followed this tutorial. I created the virtual button as below: [img] https://www.dropbox.com/s/m2sdtfmtj2i0rnz/Capture.PNG?dl=0 [/img] I created a file called "test.py" and...
by Flo00719
Wed Apr 04, 2018 8:44 pm
Forum: Computer Talk
Topic: Controlling the TP-Link HS110 smart plug with Domoticz
Replies: 15
Views: 137517

Re: Controlling the TP-Link HS110 smart plug with Domoticz

Hello,
how to get info on consumption in domoticz? because I've been on it for 3 days and no tutorial works correctly even by hacking the code while I get the consumer information when I type "{"emeter":{"get_realtime":{}}}"
thanks