Jump to content

REQUEST: Dynamic scripting capabilities


jdm5

Recommended Posts

Posted

Another suggestion would be to have dynamic scripting capabilities (ala object oriented programming). In other words, treat all ISY recognized devices as objects and enable us to access their attributes and methods - switch.status (on, off, etc) or switch.on() (turn it on). Something like that.

 

I'd also like to be able to loop through all devices - either by type, or status, or whatever (tied in to above, being able to dynamically filter based on an object's type). Something like:

 

foreach $2477S_Switch in $all_2477S_Switches do
   If $2477S_Switch is on then do something
   else do something else

 

This would enable me to easily determine what's on, off, leaking, whatever and send a notification in a single program - vs. having to have a single program per device.

  • 1 month later...
Posted

I like the idea, I think being able to choose a scene or folder would be enough for this to be useful. For example, would allow one to easily alter the power on level for all dimmers in a scene with one simple command :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...