Page 1 of 1

Implementing device reset

PostPosted: Fri Sep 01, 2017 1:32 pm
by berkinet
Now that the energy devices are working, I have noticed that the Indigo UI Reset button seems too be a no-op. The Update button doesn't seems to work either. Though it is hard to tell since updates seem to be called based on a timer anyway. My question, I am assuming the plugin needs to provide a callback for those functions, and that those callbacks have reserved names Is that the case? If so, what is the callback name for the energy data Reset and Update functions? If not, then any pointers would be most appreciated.

Re: Implementing device reset

PostPosted: Fri Sep 01, 2017 2:41 pm
by jay (support)
Check out the Example Device - Energy Meter.indigoPlugin in the SDK for the callbacks.

Re: Implementing device reset

PostPosted: Fri Sep 01, 2017 2:49 pm
by jay (support)
BTW, I sent you an invitation from our IndigoDomo repo. Once you accept, I'll give you permissions on the vera bridge repo to do direct commits (no pull requests). You can also then make new releases, etc.