Plugin Developer Documenter Plugin

Plugins to extend Indigo integration to additional hardware and apps to extend Indigo onto other platforms.
User avatar
RogueProeliator
Posts: 2538
Joined: Tue Nov 13, 2012 3:54 pm
Location: Baton Rouge, LA

Re: Plugin Developer Documenter Plugin

Post by RogueProeliator »

how do I set the plugin menu item default VALUES? i.e. the equivalent to e.g. "def getDeviceConfigUiValues(self, pluginProps, typeId, devId):"
for more complex menus with configUi
I believe you are looking for getMenuActionConfigUiValues...

Code: Select all

def getMenuActionConfigUiValues(self, menuId):
		self.debugLogWithLineNum(u'Called getMenuActionConfigUiValues(self, menuId):')
		if self.logMethodParams == True:
			self.debugLogWithLineNum(u'     (' + unicode(menuId) + u')')
		valuesDict = indigo.Dict()
		errorMsgDict = indigo.Dict()
		return (valuesDict, errorMsgDict)
Adam
User avatar
kw123
Posts: 8705
Joined: Sun May 12, 2013 4:44 pm
Location: Dallas, TX
Contact:

Re: Plugin Developer Documenter Plugin

Post by kw123 »

yes thanks,
was confused about the "Action" in getMenuActionConfigUiValues thought it should be called "getMenuConfigUiValues"


Karl
User avatar
DaveL17
Posts: 7323
Joined: Tue Aug 20, 2013 11:02 am
Location: Chicago, IL, USA
Contact:

Re: Plugin Developer Documenter Plugin

Post by DaveL17 »

Hey - Just a quick shout out to say that the Plugin Developer Documenter continues to be a big help. Working on some validation for a custom menu item with a config UI. Head to Plugin Developer Documenter -- wham. In business.

Thanks brother.
Dave
I came here to drink milk and kick ass....and I've just finished my milk.

My Plugins and Scripts
Post Reply

Return to “RogueProeliator's Plugins and Apps”