joewom
(Joe)
August 15, 2016, 12:09pm
1
Is it possible to change the color of the status. Say when the garage and deadbolts are locked its red? When you have 97 items I look for green for lights left on by kids and that would make it different color then lights on.
You can but would be creating your own custom device handlers. I created a solution for this very situation.
Screenshots:
I share your pain. I finally had the idea of creating a virtual switch that I call 1-house so it appears at the top and then I have a SmartApp that monitors specific devices and updates this virtual switch. Here are a few screen shots. Also search the community for simple device viewer. I use it too to monitor batteries but I find it inconvenient to go to SmartApps to view status versus just going to Things.
[image]
Then if I scroll down, more detail:
[image]
Code:
@jerzydiver
Sorry for the delay, I have uploaded my code to my Git repository:
I attempted to automate the creation of the virtual device required as I have done in other SmartApps, but I keep getting a java.lang.ArrayIndexOutOfBoundsException error every time I attempt to call the addChildDevice API method. So unfortunately this solution will require a few extra steps to implement:
Login to the IDE
Go to My Device Handlers and create a new device handler leveraging the code in Git.
Go to My Devices and Create a new device and set the type to “Location Status”
Go to My SmartApps and create a new SmartApp leveraging the code in Git
Install the Location Status SmartApp via your mobile device and then set the devices you wish to monitor
You system may not have an Alarm so feel free …
Also check out simple device viewer:
I won’t be porting this SmartApp so it will stop working when the Groovy platform is retired.
Allows you to easily see a list of information about your devices like battery percentages, temperatures, how long since last event, switch state, etc.
Receive Push and/or SMS notifications based on temperature, battery level, and/or time since last event.
New Dashboard Feature allows you to view all your device information using any web browser. See the Version 2.0 Release Notes for more information.
It can automatically poll the devices at a specified interval.
Turn Off All Lights and/or Switches with a push of a button.
The first time you open the application, I recommend hitting Done as soon as you see the Setup screen because if you back out of the app instead of hitting Done, the app…
joewom
(Joe)
August 15, 2016, 12:39pm
3
Great. Thank you I will look at this.