View unanswered posts | View active topics It is currently Wed Jun 19, 2013 1:42 am



Reply to topic  [ 19 posts ]  Go to page: Previous  1, 2
 Basic Questions about Python and Mac environment... 
Author Message

Joined: Nov 20, 2009
Posts: 182
Location: Houston
Post Re: Basic Questions about Python and Mac environment...
...so do I have to DEFINE the actions for each device? (I had up to this point not paid much attention to actions, as I thought they were mainly just for things not normally included in a device, and the basic stuff was 'included' in the device definitions. i.e. I thought if I define a device as a 'relay' it would include a way to click 'on' and 'off' in Indigo and I would just define some pre-named method that takes that click and tells the plugin what to do with it).

I'll check out the actions side of things tonight. That's probably my missing piece. (Yes, I will ready python and xml stuff on my Friday nights).

_________________
http://nerdhome.jimdo.com


Fri Aug 05, 2011 9:58 am
Profile WWW
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6848
Location: Austin, Texas
Post Re: Basic Questions about Python and Mac environment...
Relay and Dimmer, as subclass definitions, aren't yet implemented but they will be before we ship 5.0 GM. So you may want to wait for that - you are correct that you won't need to define states, trigger definition UI, or action configuration UI for those devices - they'll inherit what they get from the standard definition of those devices in Indigo (include ad-hoc control UIs). For all intents and purposes they'll behave in the UI just like any other lamp or relay (appliance) device.

At least that's the current plan... ;)

_________________
Jay (Indigo Support)
Image


Fri Aug 05, 2011 10:23 am
Profile WWW

Joined: Nov 20, 2009
Posts: 182
Location: Houston
Post Re: Basic Questions about Python and Mac environment...
Ahhhh, awesome. I had loaded up my plugin (with no real functioning code yet), added a fake device, and was wondering why there was no way to turn it on or off. I figured I just didn't know what I was doing yet.

So... as is tradition on this site, I will ask, "How long to GM?" :D

_________________
http://nerdhome.jimdo.com


Fri Aug 05, 2011 11:02 am
Profile WWW
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6848
Location: Austin, Texas
Post Re: Basic Questions about Python and Mac environment...
And, as is tradition, "When it's ready"... 8)

_________________
Jay (Indigo Support)
Image


Fri Aug 05, 2011 11:27 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 19 posts ]  Go to page: Previous  1, 2

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.