Jump to content

Program Info


swnewman

Recommended Posts

Posted

Would it be possible to add a REST command that would return a textual representation of the code that makes up a program?  I often find myself wondering simply what I set up a certain program to do.  Or trying to remember the difference between 2 or 3 programs.  So before I run one, it would be helpful to get a reminder of what exactly it does.  And of course it's much more convenient to pull up the WebUI than go to a desktop machine and launch the admin GUI.  I'm sure this wouldn't be a high priority item, but I think it would definitely be useful.

Posted

No, the actual code.  Unless I'm missing something, I can't bring that up in the web interface.  I'm not looking to be able to alter any code, just see what it is.

 

In other words when I click on a program in the web interface to get more info on run times, true/false, etc. I can also scroll down and get something that looks like this:

If 
   Status 'thermostats / MAIN - tstat -' is Calling for Cool 
Then 
   Send Notification to 'swnewman - GMail' 
   Repeat Every 1 minute 
      $Main_cool += 1 
Else 
   - No Actions -
Posted

Also, variables, devices, scenes, and programs listed in the code section could all be hyperlinks to those particular pages in the web interface.  Just a thought.  Maybe that would be something for an HAD developer to add once it was enabled for the code to be fetched from the ISY.

Posted

swnewman,

 

Aha ... thanks so very much for the clarification. I incorrectly assumed that you were talking about the Admin Console. Do you want to see the whole program or just comments for the program?

 

With kind regards,

Michel

Posted

The whole program if that's possible.  Comments would be helpful too, but then that assumes I write useful comments for all my code (I don't!).

Archived

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

×
×
  • Create New...