Closed sunnyghai closed 5 years ago
Dave, I updated the new DH and App, but my old devices do not work. Just the two new ones. Will I need to reinstall those?
Sunny,
Did you follow the update instructions? You will need to select and save preferences on the devices as you upgrade to the new system.
Dave
Hi Dave,
I ended up deleting and reinstalling all the devices using the latest handler and apps. I am noticing a couple of problems:
1) In the Smart App, when I go to the Device Preferences Page, select a device, press done, and press save, I get "an unexpected error occured." It doesn't matter if I just update one device at a time, or do all 36 devices at a time. My devices consist of HS220, HS 100, HS105 & HS200. 2) Physical state changes (pressing my devices on/off) do not get updated on the SmartThings App.
Any help would be appreciated.
Sunny
Make sure you have both device handles installed. Turn on logging and get logs.
You are probably missing the switch h dh.
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message -------- From: sunnyghai notifications@github.com Date: 2/17/19 16:51 (GMT-06:00) To: DaveGut/TP-Link-SmartThings TP-Link-SmartThings@noreply.github.com Cc: David Gutheinz djgutheinz@outlook.com, Comment comment@noreply.github.com Subject: Re: [DaveGut/TP-Link-SmartThings] Trouble Installing New Dimmers (#13)
Hi Dave,
I ended up deleting and reinstalling all the devices using the latest handler and apps. I am noticing a couple of problems:
Any help would be appreciated.
Sunny
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDaveGut%2FTP-Link-SmartThings%2Fissues%2F13%23issuecomment-464521545&data=02%7C01%7C%7C3a2383abeba24c46a4f608d6952a67eb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636860406692153414&sdata=z2CXnHdbB6Zlt8CnoV7CUeRIl%2BAaatzW9fLu4JMn5g8%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYCOM8cyPf50ZdYc4Lvf3SXmMFJ9ob0Sks5vOdzbgaJpZM4azbMp&data=02%7C01%7C%7C3a2383abeba24c46a4f608d6952a67eb%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636860406692153414&sdata=4mcfme9hxvkZkv4STDqCnPuf7GR87hJ14f4XL4V9ZZQ%3D&reserved=0.
I have these four DH installed. Am I missing anything?
I need the logs.
Sent via the Samsung Galaxy S7, an AT&T 4G LTE smartphone
-------- Original message -------- From: sunnyghai notifications@github.com Date: 2/17/19 16:57 (GMT-06:00) To: DaveGut/TP-Link-SmartThings TP-Link-SmartThings@noreply.github.com Cc: David Gutheinz djgutheinz@outlook.com, Comment comment@noreply.github.com Subject: Re: [DaveGut/TP-Link-SmartThings] Trouble Installing New Dimmers (#13)
[screen shot 2019-02-17 at 5 56 33 pm]https://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F31091096%2F52920690-7c889d80-32dd-11e9-9575-729d6fbf51d9.png&data=02%7C01%7C%7C789b0e285f924bc409df08d6952b5b0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636860410767647911&sdata=TinbK5z1dZ5WQF3wcBXMJ%2BhHju58ceTpWdfF29AmwPw%3D&reserved=0 I have these four DH installed.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FDaveGut%2FTP-Link-SmartThings%2Fissues%2F13%23issuecomment-464522356&data=02%7C01%7C%7C789b0e285f924bc409df08d6952b5b0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636860410767657910&sdata=4m14mAEABERntqguXsHVVm5vlVTo1xIds1hClmrMY04%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAYCOM8FBzIRQIMTXzDYqOEjs6XhTH5qGks5vOd5zgaJpZM4azbMp&data=02%7C01%7C%7C789b0e285f924bc409df08d6952b5b0b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636860410767667927&sdata=DHFyEou764%2FuQMMKAZH8NejjbaiVSLBkbB1S08DLyRI%3D&reserved=0.
Dave,
I am still a bit new to this. What do you want the logs of? I am testing a HS105 (only because I move it to computer for testing). In live logging, I can see it turn on/off when I turn on/off in the ST app. However, it does nothing if I physically turn it on/off or make the changes in the Kasa App.
Sunny
Since it is failing on install, run the log during the installation process to record the failure details. I may have to create an error ignore function in the Smart Ap.
I got the devices to install, but did get an error on the preferences page: "6:25:51 PM: error java.lang.NullPointerException: Cannot get property 'value' on null object @line 898 (doCall)"
For now, do not use the Preferences in the Smart App. Set preferences using the device setting page in the classic phone app. There is a problem in the Smart App in the preferences section. I will update the smart app to fix this code.
Understood. I still have a problem with the device states not being updated if I turn the device on/off in the Kasa app or make a physical change. Not sure how to get the logs to you as there are no errors in the logs. The changes in states don't show up in live logs.
Sunny,
There is a persistent problem in the phone app of the state not being updated. You can verify the state has changed by going to the details page (with all of the tiles) and then back to the device list. If the new state is correct, it is working as expected. THERE IS NOTHING I CAN DO ABOUT THIS.
The device handler is designed to automatically update the state after the command is sent to the device. It typically works great; however, again, if the server is busy the state updates to the phone app take a low priority. One of the reasons I am abandoning Smart Things.
Regards,
Dave
Dave,
I hope you don’t abandon SmartThings for some selfish reasons: I have a lot of TP-Link devices invested in my home and everything seemed to be working well before the last update.
I tried removing two devices (an HS100 aka Coffee Maker and an HS105 aka Roomba). They were installed on 7:19:31 and 7:19:32. This was just before the trace info. I don't know if this will help.
BTW, I am using the classic app, I don’t see any detail page with tiles.
Thanks, Sunny
The detail page I am discussing is on the My Home tab, Things. I that tab, there is a line for each device. Select the device, you will get to a device detail page. In the upper right corner, the gear icon will take you to the preferences page. There you can update preferences or delete the device.
Dave,
Got it. I use this page to remove devices. I noticed that there is no information for Device Refresh Rate, Device IP (Hub Only…) or Device Gateway. Do I need to update this information to have the app work properly? I never saw this required information in your older apps.
Thanks, Sunny
No. Preference selection is purely optional and for only some parameters. Again, do not use that page in the app right now. I am updating and will fix several issues and concerns. I should have it out in several days and it will NOT require other updates.
OK, I'll wait for the new update. Thanks again for all your help!
Dave, after doing some testing, it looks like that some changes outside of the ST App (Kasa or physically) do update eventually. However, it can take anywhere from 20 seconds to several minutes or more.
See the new code and instructions. I can not improve the performance of the refresh from an external source. The only control there is Refresh Rate. There is still an element of SmartThings problems in some of the phone app updates.
Closing due to lack of return comments. Previous post provided an updated driver/app set and the documentation has been updated to explicitly cover updates.
Dave, I tried to add new HS220 dimmers today and the old smart app is not working. I updated to the new smart app but am not getting any love.
I have 34 existing devices. Do I need to delete and reinstall them all? If so, do I need a new DH for them? If so, where are they? I only see a new service manager that was updated 8 days ago as of today. Thanks in advance.