No problem.

On Wed, May 29, 2013 at 11:21 AM, Brian Chase <> wrote:
That was it. Thank you Kevin!  I wrote my scripts w/ the action that only needed to be performed when clicked from the web interface.  I'll move these to subs, move it to the custom code section and link the audio navigation buttons to the subs. (Wow...I coulda' had a V8!)
Thanks again.

Date: Wed, 29 May 2013 10:39:14 -0700
Subject: Re: [mh] MisterHouse web setup question

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 <> 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/"> 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 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: