Yeah, that last error is a correct statement of fact.

The only thing you can do, is change the MH's internal state for the device.  You can do this by calling

$object->set_receive(OFF);  

This will not send any message to the device, but will only change MH's understanding of the device's state.  

This is not technically how MH was designed to operate, so there is nothing in the web interface for calling any of this.

Another suggestion, would be to create a "tracking" object that you can set.  

$tracking = new Generic_Item;
$tracking->states('on', 'off');
$water_sensor->tie_event('$tracking->set($State)');

You can then hide the water sensor. And control the "state" of it using the tracking item.

Hope that makes sense.


On Sun, Jan 26, 2014 at 12:09 PM, H Plato <hplato@gmail.com> wrote:
I’m trying to turn it off via button_action.pl which calls it via

$object->set(“$state”,’web’);

I’m unfamiliar with set_receive

I also made that change to button_action.pl

sleep(2) if $object->isa(‘Insteon::BaseObject’); 

When I try and change the triggerlinc I get this in the logs:

01/25/14 05:12:25 PM [Insteon::BaseObject] failed state validation with state=

and then a few minutes later

01/25/14 05:17:31 PM [Insteon::BaseObject] $sensor_basement_water is not a responder and cannot be set to a state.

On Jan 26, 2014, at 10:30 AM, Kevin Robert Keegan <kevin@krkeegan.com> wrote:


On Jan 25, 2014 4:51 PM, "H Plato" <hplato@gmail.com> wrote:
>  Can you turn off your triggerlinc via the web?
>

Hmm, I have to check.  I don't remember how I coded it, but probably not done that is not really supported by the device.

You should be able to call set_receive on it to change the MH state.