[OBSOLETE] Simple Device Viewer

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.

2 Likes

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

I’d wait until “Health Check” is officially rolled out and the API given to Devs.

1 Like

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…

2 Likes

I think it’s down to the sensors reporting a change in temperature ?

SmartThings has also added it to DTHs for other devices like the generic Z-Wave Switch which doesn’t report temperature.

1 Like

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.

thanks - i’ve removed the smart app and switched to the ‘device monitor’ app to see if that resolves the issue.

I only have 25 sensors so it should be an issue, and i didn’t have polling enabled.

Smart things did roll out an update recently too didn’t they wish might be the source of the issue

I’ll see how the next few days going.

After being burgled a few weeks ago - i was shocked to check and find we were out and the alarm hadn’t set :frowning:

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.

2 Likes

[quote=“krlaframboise, post:396, topic:42481”]
Deleted because I can’t read two thing at once.

Same issue again this morning so not your smart app …

1 Like

Hi Kevin. I have just installed this app, but find when trying to enable dashboard, an ‘Unexpected error’ occurs (red banner message). Logs are -

0ee662f5-4f50-474c-95f2-6a2402618db7 12:17:05: trace getPhrases(), state.welcomeIssue = null
3bfcd215-2daf-42ee-8c6d-348e7cbaae94 12:16:54: debug Dashboard Url: nulldashboard/events
2bf221e7-d55c-4cde-bb45-36a3a0ab9df9 12:16:28: trace modeOk = false
2bf221e7-d55c-4cde-bb45-36a3a0ab9df9 12:16:28: trace triggerHandler(motion: active)
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:28: debug Parse returned [name:motion, value:active, descriptionText:{{ device.displayName }} detected motion, translatable:true]
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:28: debug motion
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:28: debug description: zone status 0x0022 – extended status 0x00
3bfcd215-2daf-42ee-8c6d-348e7cbaae94 12:16:27: debug Dashboard Url: nulldashboard/events
2bf221e7-d55c-4cde-bb45-36a3a0ab9df9 12:16:27: trace modeOk = false
2bf221e7-d55c-4cde-bb45-36a3a0ab9df9 12:16:27: trace motionStopHandler(motion: inactive)
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:27: debug Parse returned [name:motion, value:inactive, descriptionText:{{ device.displayName }} motion has stopped, translatable:true]
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:27: debug motion
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:27: debug description: zone status 0x0020 – extended status 0x00
0ee662f5-4f50-474c-95f2-6a2402618db7 12:16:21: trace getPhrases(), state.welcomeIssue = null
2bf221e7-d55c-4cde-bb45-36a3a0ab9df9 12:16:02: trace modeOk = false
2bf221e7-d55c-4cde-bb45-36a3a0ab9df9 12:16:02: trace triggerHandler(motion: active)
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:02: debug Parse returned [name:motion, value:active, descriptionText:{{ device.displayName }} detected motion, translatable:true]
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:02: debug motion
278c34ef-0f43-47d5-a30a-f14b6d6f3df7 12:16:02: debug description: zone status 0x0022 – extended status 0x00
12:15:54: info Waiting on events…
12:15:54: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.
12:15:54: info This console provides live logging of your SmartThings.

Your comments would be valued :slight_smile: James (jamesencliffe)

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

1 Like

My issue went away after recent smart things update …

1 Like

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.