Does this code still work for Version one? When I try to add the code as a SmartApp “From Code” I get the following errors when hitting save:
“No signature of method: script14294058998262129033250.metadata() is applicable for argument types: (script14294058998262129033250$_run_closure1) values: [script14294058998262129033250$_run_closure1@48d29040] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)”
I actually ended up using a better logging solution Grovestream, Much nicer interface and more options to process the data, Although due to more options it is more complicated.
@Slowfoxtrot thanks for the v1 code! its all working great except the “since date time” in the top left is updating the first two digits of the date to match the minute of reset. for example today 02/02/16 @ 7:54pm if I reset it shows “Since 54/2/16 7:54PM” I just cant seem to find the problem…