Implementing device reset

Posted on
Fri Sep 01, 2017 1:32 pm
berkinet offline
User avatar
Posts: 3290
Joined: Nov 18, 2008
Location: Berkeley, CA, USA & Mougins, France

Implementing device reset

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.

Posted on
Fri Sep 01, 2017 2:41 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Implementing device reset

Check out the Example Device - Energy Meter.indigoPlugin in the SDK for the callbacks.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Sep 01, 2017 2:49 pm
jay (support) offline
Site Admin
User avatar
Posts: 18200
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Implementing device reset

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.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest