I think I am missing something. Adding to outlets and followed creating the DH and SmartApp, but am not seeing how the auth to Kasa is setup or the connection to the physical devices. Tried using the network ip for the outlets, but that did not work. Am sure it is something I am doing wrong. Can anyone assist?
- Install the devices via the Kasa App, creating the account and login.
- Install the Device Handlers and Smart App on the IDE AFTER selection your hub on âMy Locationsâ.
- On the Classic Application (not the new), go the Smart Apps and add a new app. A selection âMy appsâ appears at the bottom. Select that then the app you installed earlier.
- The first page, select installation type of âKasa Accountâ.
- You will be prompted for a login in (same as for your Kasa Account). Enter this and follow the remaining prompts to install your devices.
Dave
AwesomeâŠknew it was something simple I missed. great app!
Hi,
I just followed your instructions and copy/pasted the code for my TP-Link Plug, but when I click on Create, I get the following error message:
No signature of method: script_app_metadata_a446887c_1302_484d_a656_7e91b5b1bf3a.metadata() is applicable for argument types: (script_app_metadata_a446887c_1302_484d_a656_7e91b5b1bf3a$_run_closure1) values: [script_app_metadata_a446887c_1302_484d_a656_7e91b5b1bf3a$_run_closure1@18c6f9e8] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)
Please advise, thank you!
I just tested and it worked OK. Only two guesses:
a. You did not copy full file or tried a âselect allâ in the GitHub window.
Fist line should be: /* last line should be: //end-of-file
b. Sometimes (for reasons I do not know) the text does not copy as ascii code and mixes in non-ascii. Usually corrected by trying again.
Dave
Dave, I can not log-in to the smart App with my KASA credentials. I get this error message. Can it be, that your app canât handle special symbols in passwords, like question-marks and hashes?
I am absolutely certain I am entering a correct password.
Make sure you have blanked out the entire password field before entering the new password. There is a problem with some phones where they have memorized a password and overwrite the password you are entering.
I did that as well. I found the issue by replacing my default android keyboard from Google to Samsung. The issue is not the keyboard actually. The issue is that the password needs to be sent when the cursor is in the USER EMAIL field and not through the keyboard but through the appâs NEXT button (TOP RIGHT corner).
Gosh, crazy, right?
@Gutheinz First, thanks for this! I have the cloud version installed with one HS200 switch. It works ⊠but thereâs one annoyance that Iâm sure is due to how Iâm using it. Iâm hoping if I describe my scenario you can recommend a workaround.
In my kitchen I had a dimmer and a switch on a three-way circuit. I replaced the dimmer with a Wemo dimmer, which does not support 3-way operation. So I put a HS200 switch in place of the old three-way switch and power it but removed it from the circuit. The dimmer now controls the circuit, but Iâd like the switch to still turn the circuit on and off.
I have set up a routine to trigger âwhen something turns on or offâ so that when either the dimmer or the switch turns off it sets them both to off. And the same for on. This works exactly how I want it to ⊠except that if I turn off or on the HS200 it takes the ârefresh timeâ amount of time before SmartThings knows that the switch has been triggered and mirrors the state onto the dimmer.
All that to lead up to this ⊠is there any way to get SmartThings to know immediately when the switch has been pressed?
No, there is no practical way. The best you can do is every minute by setting refresh interval in the preferences.
(Note that there are ways to do more, but it using it would consume excessive resources on the SmartThings cloud server. Not something I can support in my devices.)
Would using the node version instead of the cloud version help? It wasnât clear to me from your posts what benefit using the local node environment would give me.
Support for RE270 and RE370 Range Extenders with smart plug. I have added support for this device. Due to an inability to find the on/off command sequence, I am using IFTTT for the on/off then refreshing the status using the normal interface.
Full instructions and the driver are at âDH Range Extenderâ folder on GitHub.
No. The node version does not help on resource utilization. It is still dependent on processing from the SmartThings cloud.
@Gutheinz, what DH do you have that works with the HS200? I canât find anything that works. I have an HS220 that works with one of your DHs but it doesnât work with the HS200. When I try to add it in ST classic app, it shows as available to add but when I try to save it then I always end up with an error saying it canât save. Iâm at a loss as to what to do.
I ended up writing a node script myself that polls the switch every second and triggers a webhook on IFTTT which switches my other switch off through SmartThings. Seems to work well and is pretty quick.
Below is a list of devices and supporting device handler.
tpLinkModel << ["HS100" : "TP-Link Smart Plug"] tpLinkModel << ["HS103" : "TP-Link Smart Plug"] tpLinkModel << ["HS105" : "TP-Link Smart Plug"] tpLinkModel << ["HS200" : "TP-Link Smart Switch"] tpLinkModel << ["HS210" : "TP-Link Smart Switch"] tpLinkModel << ["KP100" : "TP-Link Smart Plug"] // WiFi Range Extender with smart plug. tpLinkModel << ["RE270" : "TP-Link Smart Plug"] tpLinkModel << ["RE370" : "TP-Link Smart Plug"] // Miltiple Outlet Plug tpLinkModel << ["HS107" : "TP-Link Smart Multi-Plug"] tpLinkModel << ["HS300" : "TP-Link Smart Multi-Plug"] tpLinkModel << ["KP200" : "TP-Link Smart Multi-Plug"] tpLinkModel << ["KP400" : "TP-Link Smart Multi-Plug"] // Dimming Switch Devices tpLinkModel << ["HS220" : "TP-Link Smart Dimming Switch"] // Energy Monitor Plugs tpLinkModel << ["HS110" : "TP-Link Smart Energy Monitor Plug"] tpLinkModel << ["HS115" : "TP-Link Smart Energy Monitor Plug"] // Soft White Bulbs tpLinkModel << ["KB100" : "TP-Link Smart Soft White Bulb"] tpLinkModel << ["LB100" : "TP-Link Smart Soft White Bulb"] tpLinkModel << ["LB110" : "TP-Link Smart Soft White Bulb"] tpLinkModel << ["KL110" : "TP-Link Smart Soft White Bulb"] tpLinkModel << ["LB200" : "TP-Link Smart Soft White Bulb"] // Tunable White Bulbs tpLinkModel << ["LB120" : "TP-Link Smart Tunable White Bulb"] tpLinkModel << ["KL120" : "TP-Link Smart Tunable White Bulb"] // Color Bulbs tpLinkModel << ["KB130" : "TP-Link Smart Color Bulb"] tpLinkModel << ["LB130" : "TP-Link Smart Color Bulb"] tpLinkModel << ["KL130" : "TP-Link Smart Color Bulb"] tpLinkModel << ["LB230" : "TP-Link Smart Color Bulb"]
thanks Dave, but how do I find the link to the device handler you listed?
This thread is depreciated. Please do not post here as I may miss your query.
See the new thread: