Lgkahn
(Larry)
March 22, 2016, 7:35pm
10
if you sync smart alarm with shm it will break… shm can change modes randomly which will change the arm status in smart alarm…
that is why I wrote my own pseudo dashboard…
see
That’s good to know, but the API Documentation certainly does not say this in neither the example, nor in the API section of the Documentation. @jim ?
http://docs.smartthings.com/en/latest/ref-docs/device-handler-ref.html
The API for SmartApps does include updated() method.
It may be unusual, but weird is a very good thing … I prefer the words creative or innovative. I think this is a great idea and I’m thinking of other uses.
Meanwhile, if you want to share code within the forum, please surround it with three single-back-quotes, as in:
[image]
Result:
metadata {
definition (name: "Smart Alarm Notification Device", namespace: "lgkapps", author: "Larry Kahn kahn@lgk.com") {
capability "Notification"
}
Or, or course, paste it into GitHub and paste the URL which will automatic…
I also added hue color alert support etc.
1 Like