That screen has always been really slow, but I thought it was only timing out for users with 100+ devices. On the choose devices screen, if you’ve selected a lot of devices more than once, that will make the problem worse.
I’ll take a look at it tonight to see if I can improve the performance.
I just released a new version that should fix that problem. Any exclusions you previously setup will continue to work, but they won’t show on the Display Settings screen unless you select those capabilities from the new “Enable Device Exclusions for Which Capabilities?” field.
If the device status in the IDE is Active or Inactive, then the device handler doesn’t support the Online/Offline functionality.
I don’t believe there’s an easy way for CoRE to detect if the device is online or offline because SmartThings doesn’t appear to create a location or device event when it changes the device’s status.
I’m sure @ady624 could figure out a way to do it, but this is an undocumented capability which could change at any time and isn’t supported by many device handlers so it’s probably too soon to consider building it into a SmartApp like CoRE.
1 Like
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
403
I’d wait until “Health Check” is officially rolled out and the API given to Devs.
I could implement a fake attribute, say healthStatus that reads device.getStatus() in turn, but there would be no subscribing to that. I therefore decided to wait until Health Check gets better integrated…
Since I setup the simple device viewer I’m having issues with alarm setting and disarming used location of phones… I.e we leave home and alarm doesn’t set and arrive home and it doesn’t disarm … seems inconsistent … anyone else found this?
As long as you haven’t enabled polling and don’t have 200+ devices, this SmartApp can’t be causing your problems.
If the problems just started, it could possibly be a temporary platform issue that will resolve itself. If you’ve been experiencing problems for a while, uninstall the SmartApp and see if they go away.
There are hundreds of people using this SmartApp and no one has reported this problem so if the problems you were seeing stopped, it’s most likely just a coincidence.
If you go a week without any problems and then switch back to this SmartApp and start having problems again, that’s the only way you’ll be able to determine if this SmartApp had anything to do with those problems.
Ahhh fixed. oauth needed to be enabled for the smartapp. Trying on another mobile device, the app said so and worked. On the phone it didn’t, but crashed out with the error. . Now phone works fine. Thanks Kevin. James
Hi @krlaframboise, looks like “LAST ACTIVITY” time stamp is often really unreliable if the state of the device is flagged as INACTIVE. Not sure if this has always been the case or a recent platform change, but I’ve notice a few devices showing last activity being very recent even though I removed the battery a day ago! I looked at the events log and see nothing in there.
Possible solution I think is maybe have an option to revert to the old way of checking last activity when the device flags as “INACTIVE”?
Are you seeing a recent Last Activity in the IDE or just in the SmartApp?
I just looked through my devices and all of the ones that are Inactive don’t show a Last Activity time in the IDE.
The device handler can create hidden events that are treated as activity even if the device is offline.
You can check to see if that’s happening by opening the device in the IDE and clicking each link in the “Current States” section.
If any of the Current States have recent activity then my old method of checking will still think it’s active so modifying the application won’t solve your problem.
I’m referring everything to the IDE.
I had a couple of devices which I removed the batteries from and there’s zero activity in the IDE events.
The IDE shows INACTIVE yet showed “LAST ACTIVITY” at 20 mins ago which did not correspond to anything I can find especially as the device was dead.
There was nothing in the current states, clearly the LAST ACTIVITY time stamp was capturing something unrelated to the device in these two instances.
Awesome app! I just have 1 question. When I view the dashboard from a computer, none of the icons appear. They work fine on the phone, but for some reason do not appear when using a computer. Am I missing something? Thanks.