Welcome to MisterHouse.

It sounds like you want to be able to run a subroutine from a url.  To do this you would need to do the following:
1. Create a user code file with the subroutine such as:
sub test {
  ::print_log("Hello World");
2. Enable that user code in MH
3. Then to run the subroutine call it from the url as follows:

In this example it would have printed to the log.  You can also pass arguments to the sub through the url as well.

On Wed, May 29, 2013 at 10:23 AM, Brian Chase <chasebri@hotmail.com> wrote:
I have installed MH per the install instructions (Windows machine). I have created a perl script for my pioneer receiver.  This runs properly when I run the .pl script.
The web interface runs and I have modified My MH page (my_web) pages to include a test button to play/pause the a/v receiver.
When I use <a href="/bin/pioneer_play.pl"> it executes the .pl script and my web page goes to a blank page with a "1" on it.
I know the "1" means it was successful. I know I'm not supposed to use <a href= which directs me away from the page, but I did for testing purposes.
Based on the MisterHouse WIKI -> How to -> Web Pages page, the bottom section is about passing RUN and SET through the http://../RUN;web_item commands.  This is where I am getting stuck.
How do I create a web_item that can be run from here?
(I want the web_item to run the pioneer_play.pl script.)

Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365