Is there a way to make the port static also? It is changing incrementally once it restarted from the QNAP-Container.
I’m not sure if you gave up on this but I saw this error while setting mine up.
My issue was that my HS100 was on a guest wifi network and did not have access to my lan ports where my raspberry pi was running the code.
I changed the wifi network to a non-guest network and everything worked.
I suggest you try pinging 192.168.200.28 from your machine with the nodejs code
HS110 energy monitoring support is added in the apps in the thread “TP-Link Bulbs and Plug Control”. I am the author. Feel free to use this as a guide.
Note that my approach is different from the basic HS100 app. I do most processing in SmartThings and have a minimal footprint on the server/bridge. I do not use the HS100 API in this approach.
Hey Dave G. I don’t mean to hijack this thread but I’m having trouble with 1 step from your instructions @ GitHub.
Try to get HS-200 working with Smartthings hub v2
Step I’m having trouble with:
Running the “TP-LinkServer_v3.js”
I’m using Windows as my Server PC
From the Node.js command prompt version is v8.1.2 (I downloaded the MSI as per your instructions)
I was hoping to get the results in your instructions when I ran the test but instead I get "SyntaxError: Unexpected token <"
I was able to run another test with a “Hello World” js and it worked
I also tried your “GetdeviceIPs.js” and same error
I might be totally doing this wrong but please point me to the right path. Let me know if you need to full Syntaxerror msg and any other info.
Thanks in advance for your time.
hello im just starter in smartthings. I need know or you crate Cloud-Based_TP-Link-to-SmartThings-Integration. because I do your metod but nothing happens. if is you crate this metod I need ask mi and I haw several questions .
Yes. Go to the below link and I will help.
In the meantime, assure that you have followed the published instructions explicitly. These are at the getHub site in a document “Cloud TP-Link to SmartThing Installation.pdf”. You might want to print these and mark the steps so you can be explicit on when / where the installation fails.
I don’t find haw to write to you in email. becuose write here. what mi
what this red meens?
There is no error at the called line. However, there is something spurious on line 32 (indicated by the space between the two lines.
Usually done by not copying/pasting as text. I tested the app exactly as copied from GitHub this AM and it worked fine. Again, a copy / paste problem.
i just used the cloud version of this and worked great.
to my now to works great. problem was a numbers by the code lines. everything delet and works program.
I’m not into coding and I’m new to HA and I’m just trying to figure out if you can integrate these with the smartthings hub (no coding involved) Thanks
You don’t have to code anything, but you have to install custom code that’s already been developed. It’s not too difficult to do. (First time is the hardest.)
Here is a link to a thread that discusses the custom code that will integrate TPLink devices to SmartThings via the cloud.
This is a link that explains how to install custom code in general.
not sure if it has been already mentioned earlier but integrating them via IFTTT is quick, simple and requires no code at all. in ST just create a simulated switch, authorize that in IFTTT, authorize kasa to IFTTT and then create recipes to turn on and off.
i can look up for instructions and paste here if anyone is interested.
Do you have a guide for this?
Sure mate. Gimme time till this weekend, will send with some screenshots.
ok, here is my take at a guide. [this is my first attempt so please bear with me]
pre-requisites: accounts and access to IDE, Kasa and IFTTT
Step 1: create a simulated switch in IDE. log in to graph.api.smartthings.com > go to ‘my devices’ > new device > give it a name, network ID (it can be anything you like) > select ‘simulated switch’ under Type > select your location and other fields > click create
Step 2: give access to your smartthings and kasa in IFTTT quite straight forward. login to IFTTT and search for smartthings, and Kasa under services. both will require you to login to respective accounts and provide access to your devices.
Step 3: create applets in IFTTT go to my applets > new applet > If simulated switch turned on, then turn on your kasa plug.
Similarly create another applet with the rule that if simulated switch turned off then turn off your kasa plug.
That’s it! hope it helps.
regrettably, i couldn’t get down to doing it with screenshots.
Has anyone tried the TP-Link HS107 or HS300 power strip with Smartthings?
Would integration be a similar process?
There is a better ‘cloud based’ integration that works almost like a native integration… Try that… A simple search on forums should take you there
HS107 and HS300 do not currently work with the TP-Link/Kasa SmartThings integration. I am currently working on it and hope to have something soon. (It is currently working in my Hubitat environment except for capturing the device label, I have to use temporary and update the label.)
Testing is on the HS107 (I have one). I believe the HS300 is the same on/off command structure. For HS300, there will initially not be an Energy Monitor function.
Watch the link: