Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

Marc MERLIN-7
Administrator
On Fri, Jun 7, 2013 at 9:50 PM, Kevin Robert Keegan
<[hidden email]> wrote:
> IOLincs are weird devices, command messages originating from the device
> represent the state of the sensor, while commands sent to the device affect
> the relay.

So, yeah, I'm a bit slow, but I just got a new IOlinc today that I
actually needed to configure in interesting ways.
One thing I need to do is unbind the relay from the input and rebind
it once a day (door sensor actuates light at night, misterhouse after
$Dark is reached, sends command to iolinc to bind relay to sensor
input) and in the morning as the sun rises, the opposite is done.

Sadly while I can control the relay from mh:
23/11/2016 00:28:14  Running: iolinc mailbox on
23/11/2016 00:28:15  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=on; extra=FF incurred delay of 0.00
seconds; starting hop-count: 2
23/11/2016 00:28:15  [Insteon::BaseObject] $iolinc_mailbox::set(on, )
23/11/2016 00:28:15  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=on; extra=FF
23/11/2016 00:28:16  [Insteon::BaseObject] DEBUG3: Adding hop count of
3 to hop_array of $iolinc_mailbox
23/11/2016 00:28:16  [Insteon::BaseObject] received command/state
acknowledge from $iolinc_mailbox: on and data: ff
23/11/2016 00:28:16  MYLOGS: iolinc_mailbox newly set to on

And I can read the sensor input:
23/11/2016 00:28:46  Running: iolinc mailbox status - sensor
23/11/2016 00:28:46  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=status_request; extra=01 incurred delay
of 0.00 seconds; starting hop-count: 2
23/11/2016 00:28:46  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=status_request; extra=01
23/11/2016 00:28:47  [Insteon::IOLinc] received status for
$iolinc_mailboxsensor of: on hops left: 0

none of the configuration commands work, not a single one.
I can't switch from momentary A to latching, or any other thing, and
more importantly, this:
23/11/2016 00:29:58  Running: iolinc mailbox link relay to sensor
23/11/2016 00:29:58  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=set_operating_flags; extra=04 incurred
delay of 0.00 seconds; starting hop-count: 2
23/11/2016 00:29:58  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=set_operating_flags; extra=04
23/11/2016 00:29:59  [Insteon::BaseObject] DEBUG3: Adding hop count of
1 to hop_array of $iolinc_mailbox
23/11/2016 00:29:59  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox


23/11/2016 00:30:42  Running: iolinc mailbox unlink relay from sensor
23/11/2016 00:30:42  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=set_operating_flags; extra=05 incurred
delay of 0.00 seconds; starting hop-count: 2
23/11/2016 00:30:42  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=set_operating_flags; extra=05
23/11/2016 00:30:42  [Insteon::BaseObject] DEBUG3: Adding hop count of
1 to hop_array of $iolinc_mailbox
23/11/2016 00:30:42  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox

The commands go through, but they don't change the configuration of the iolinc.

Is this working or anyone?

Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/


------------------------------------------------------------------------------
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

Marc MERLIN-7
Administrator
So does anyone have an iolinc and are you able to use the insteon menu to
reconfigure said iolinc without having to use the set switch?

Does any of it work on any version of iolinc?
If not, then it's possible that the current code was written from specs and
not tested to work.
If it does work for someone, that will help me debug

Thanks,
Marc

On Wed, Nov 23, 2016 at 12:32:23AM -0800, Marc MERLIN wrote:

> On Fri, Jun 7, 2013 at 9:50 PM, Kevin Robert Keegan
> <[hidden email]> wrote:
> > IOLincs are weird devices, command messages originating from the device
> > represent the state of the sensor, while commands sent to the device affect
> > the relay.
>
> So, yeah, I'm a bit slow, but I just got a new IOlinc today that I
> actually needed to configure in interesting ways.
> One thing I need to do is unbind the relay from the input and rebind
> it once a day (door sensor actuates light at night, misterhouse after
> $Dark is reached, sends command to iolinc to bind relay to sensor
> input) and in the morning as the sun rises, the opposite is done.
>
> Sadly while I can control the relay from mh:
> 23/11/2016 00:28:14  Running: iolinc mailbox on
> 23/11/2016 00:28:15  [Insteon_PLM] DEBUG2: Sending
> obj=$iolinc_mailbox; command=on; extra=FF incurred delay of 0.00
> seconds; starting hop-count: 2
> 23/11/2016 00:28:15  [Insteon::BaseObject] $iolinc_mailbox::set(on, )
> 23/11/2016 00:28:15  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> obj=$iolinc_mailbox; command=on; extra=FF
> 23/11/2016 00:28:16  [Insteon::BaseObject] DEBUG3: Adding hop count of
> 3 to hop_array of $iolinc_mailbox
> 23/11/2016 00:28:16  [Insteon::BaseObject] received command/state
> acknowledge from $iolinc_mailbox: on and data: ff
> 23/11/2016 00:28:16  MYLOGS: iolinc_mailbox newly set to on
>
> And I can read the sensor input:
> 23/11/2016 00:28:46  Running: iolinc mailbox status - sensor
> 23/11/2016 00:28:46  [Insteon_PLM] DEBUG2: Sending
> obj=$iolinc_mailbox; command=status_request; extra=01 incurred delay
> of 0.00 seconds; starting hop-count: 2
> 23/11/2016 00:28:46  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> obj=$iolinc_mailbox; command=status_request; extra=01
> 23/11/2016 00:28:47  [Insteon::IOLinc] received status for
> $iolinc_mailboxsensor of: on hops left: 0
>
> none of the configuration commands work, not a single one.
> I can't switch from momentary A to latching, or any other thing, and
> more importantly, this:
> 23/11/2016 00:29:58  Running: iolinc mailbox link relay to sensor
> 23/11/2016 00:29:58  [Insteon_PLM] DEBUG2: Sending
> obj=$iolinc_mailbox; command=set_operating_flags; extra=04 incurred
> delay of 0.00 seconds; starting hop-count: 2
> 23/11/2016 00:29:58  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> obj=$iolinc_mailbox; command=set_operating_flags; extra=04
> 23/11/2016 00:29:59  [Insteon::BaseObject] DEBUG3: Adding hop count of
> 1 to hop_array of $iolinc_mailbox
> 23/11/2016 00:29:59  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox
>
>
> 23/11/2016 00:30:42  Running: iolinc mailbox unlink relay from sensor
> 23/11/2016 00:30:42  [Insteon_PLM] DEBUG2: Sending
> obj=$iolinc_mailbox; command=set_operating_flags; extra=05 incurred
> delay of 0.00 seconds; starting hop-count: 2
> 23/11/2016 00:30:42  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> obj=$iolinc_mailbox; command=set_operating_flags; extra=05
> 23/11/2016 00:30:42  [Insteon::BaseObject] DEBUG3: Adding hop count of
> 1 to hop_array of $iolinc_mailbox
> 23/11/2016 00:30:42  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox
>
> The commands go through, but they don't change the configuration of the iolinc.
>
> Is this working or anyone?
>
> Thanks,
> Marc
> --
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems & security ....
>                                       .... what McDonalds is to gourmet cooking
> Home page: http://marc.merlins.org/
>

--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ 

------------------------------------------------------------------------------
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

Marc MERLIN-7
Administrator
Ok, last call before I ditch the IOlinc and misterhouse solution for my
problem, and go some other way.
If I can't reprogram the relay synced to the sensing input, remotely, I
can't use that iolinc :(

On Fri, Nov 25, 2016 at 11:02:31AM -0800, Marc MERLIN wrote:

> So does anyone have an iolinc and are you able to use the insteon menu to
> reconfigure said iolinc without having to use the set switch?
>
> Does any of it work on any version of iolinc?
> If not, then it's possible that the current code was written from specs and
> not tested to work.
> If it does work for someone, that will help me debug
>
> Thanks,
> Marc
>
> On Wed, Nov 23, 2016 at 12:32:23AM -0800, Marc MERLIN wrote:
> > On Fri, Jun 7, 2013 at 9:50 PM, Kevin Robert Keegan
> > <[hidden email]> wrote:
> > > IOLincs are weird devices, command messages originating from the device
> > > represent the state of the sensor, while commands sent to the device affect
> > > the relay.
> >
> > So, yeah, I'm a bit slow, but I just got a new IOlinc today that I
> > actually needed to configure in interesting ways.
> > One thing I need to do is unbind the relay from the input and rebind
> > it once a day (door sensor actuates light at night, misterhouse after
> > $Dark is reached, sends command to iolinc to bind relay to sensor
> > input) and in the morning as the sun rises, the opposite is done.
> >
> > Sadly while I can control the relay from mh:
> > 23/11/2016 00:28:14  Running: iolinc mailbox on
> > 23/11/2016 00:28:15  [Insteon_PLM] DEBUG2: Sending
> > obj=$iolinc_mailbox; command=on; extra=FF incurred delay of 0.00
> > seconds; starting hop-count: 2
> > 23/11/2016 00:28:15  [Insteon::BaseObject] $iolinc_mailbox::set(on, )
> > 23/11/2016 00:28:15  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> > obj=$iolinc_mailbox; command=on; extra=FF
> > 23/11/2016 00:28:16  [Insteon::BaseObject] DEBUG3: Adding hop count of
> > 3 to hop_array of $iolinc_mailbox
> > 23/11/2016 00:28:16  [Insteon::BaseObject] received command/state
> > acknowledge from $iolinc_mailbox: on and data: ff
> > 23/11/2016 00:28:16  MYLOGS: iolinc_mailbox newly set to on
> >
> > And I can read the sensor input:
> > 23/11/2016 00:28:46  Running: iolinc mailbox status - sensor
> > 23/11/2016 00:28:46  [Insteon_PLM] DEBUG2: Sending
> > obj=$iolinc_mailbox; command=status_request; extra=01 incurred delay
> > of 0.00 seconds; starting hop-count: 2
> > 23/11/2016 00:28:46  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> > obj=$iolinc_mailbox; command=status_request; extra=01
> > 23/11/2016 00:28:47  [Insteon::IOLinc] received status for
> > $iolinc_mailboxsensor of: on hops left: 0
> >
> > none of the configuration commands work, not a single one.
> > I can't switch from momentary A to latching, or any other thing, and
> > more importantly, this:
> > 23/11/2016 00:29:58  Running: iolinc mailbox link relay to sensor
> > 23/11/2016 00:29:58  [Insteon_PLM] DEBUG2: Sending
> > obj=$iolinc_mailbox; command=set_operating_flags; extra=04 incurred
> > delay of 0.00 seconds; starting hop-count: 2
> > 23/11/2016 00:29:58  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> > obj=$iolinc_mailbox; command=set_operating_flags; extra=04
> > 23/11/2016 00:29:59  [Insteon::BaseObject] DEBUG3: Adding hop count of
> > 1 to hop_array of $iolinc_mailbox
> > 23/11/2016 00:29:59  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox
> >
> >
> > 23/11/2016 00:30:42  Running: iolinc mailbox unlink relay from sensor
> > 23/11/2016 00:30:42  [Insteon_PLM] DEBUG2: Sending
> > obj=$iolinc_mailbox; command=set_operating_flags; extra=05 incurred
> > delay of 0.00 seconds; starting hop-count: 2
> > 23/11/2016 00:30:42  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
> > obj=$iolinc_mailbox; command=set_operating_flags; extra=05
> > 23/11/2016 00:30:42  [Insteon::BaseObject] DEBUG3: Adding hop count of
> > 1 to hop_array of $iolinc_mailbox
> > 23/11/2016 00:30:42  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox
> >
> > The commands go through, but they don't change the configuration of the iolinc.
> >
> > Is this working or anyone?
> >
> > Thanks,
> > Marc
> > --
> > "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> > Microsoft is to operating systems & security ....
> >                                       .... what McDonalds is to gourmet cooking
> > Home page: http://marc.merlins.org/
> >
>
> --
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems ....
>                                       .... what McDonalds is to gourmet cooking
> Home page: http://marc.merlins.org/ 

--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ 

------------------------------------------------------------------------------
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

H Plato
I don’t have a definitive answer, however in the IOLInc_door object I added, I put in a 

    $parent->set_relay_mode("Momentary_B”);

In the literature, Garage Door setups needed to be momentary_B, so I set that and things seem to work as expected.  I don’t dynamically change modes, so I can’t comment on that.

On Dec 1, 2016, at 1:55 PM, Marc MERLIN <[hidden email]> wrote:

Ok, last call before I ditch the IOlinc and misterhouse solution for my
problem, and go some other way.
If I can't reprogram the relay synced to the sensing input, remotely, I
can't use that iolinc :(

On Fri, Nov 25, 2016 at 11:02:31AM -0800, Marc MERLIN wrote:
So does anyone have an iolinc and are you able to use the insteon menu to
reconfigure said iolinc without having to use the set switch?

Does any of it work on any version of iolinc?
If not, then it's possible that the current code was written from specs and
not tested to work.
If it does work for someone, that will help me debug 

Thanks,
Marc

On Wed, Nov 23, 2016 at 12:32:23AM -0800, Marc MERLIN wrote:
On Fri, Jun 7, 2013 at 9:50 PM, Kevin Robert Keegan
<[hidden email]> wrote:
IOLincs are weird devices, command messages originating from the device
represent the state of the sensor, while commands sent to the device affect
the relay.

So, yeah, I'm a bit slow, but I just got a new IOlinc today that I
actually needed to configure in interesting ways.
One thing I need to do is unbind the relay from the input and rebind
it once a day (door sensor actuates light at night, misterhouse after
$Dark is reached, sends command to iolinc to bind relay to sensor
input) and in the morning as the sun rises, the opposite is done.

Sadly while I can control the relay from mh:
23/11/2016 00:28:14  Running: iolinc mailbox on
23/11/2016 00:28:15  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=on; extra=FF incurred delay of 0.00
seconds; starting hop-count: 2
23/11/2016 00:28:15  [Insteon::BaseObject] $iolinc_mailbox::set(on, )
23/11/2016 00:28:15  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=on; extra=FF
23/11/2016 00:28:16  [Insteon::BaseObject] DEBUG3: Adding hop count of
3 to hop_array of $iolinc_mailbox
23/11/2016 00:28:16  [Insteon::BaseObject] received command/state
acknowledge from $iolinc_mailbox: on and data: ff
23/11/2016 00:28:16  MYLOGS: iolinc_mailbox newly set to on

And I can read the sensor input:
23/11/2016 00:28:46  Running: iolinc mailbox status - sensor
23/11/2016 00:28:46  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=status_request; extra=01 incurred delay
of 0.00 seconds; starting hop-count: 2
23/11/2016 00:28:46  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=status_request; extra=01
23/11/2016 00:28:47  [Insteon::IOLinc] received status for
$iolinc_mailboxsensor of: on hops left: 0

none of the configuration commands work, not a single one.
I can't switch from momentary A to latching, or any other thing, and
more importantly, this:
23/11/2016 00:29:58  Running: iolinc mailbox link relay to sensor
23/11/2016 00:29:58  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=set_operating_flags; extra=04 incurred
delay of 0.00 seconds; starting hop-count: 2
23/11/2016 00:29:58  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=set_operating_flags; extra=04
23/11/2016 00:29:59  [Insteon::BaseObject] DEBUG3: Adding hop count of
1 to hop_array of $iolinc_mailbox
23/11/2016 00:29:59  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox


23/11/2016 00:30:42  Running: iolinc mailbox unlink relay from sensor
23/11/2016 00:30:42  [Insteon_PLM] DEBUG2: Sending
obj=$iolinc_mailbox; command=set_operating_flags; extra=05 incurred
delay of 0.00 seconds; starting hop-count: 2
23/11/2016 00:30:42  [Insteon_PLM] DEBUG3: Received PLM acknowledge:
obj=$iolinc_mailbox; command=set_operating_flags; extra=05
23/11/2016 00:30:42  [Insteon::BaseObject] DEBUG3: Adding hop count of
1 to hop_array of $iolinc_mailbox
23/11/2016 00:30:42  [Insteon::IOLinc] Acknowledged flag set for $iolinc_mailbox

The commands go through, but they don't change the configuration of the iolinc.

Is this working or anyone?

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                     .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/


-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                     .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                     .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

------------------------------------------------------------------------------
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users


------------------------------------------------------------------------------

________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

Marc MERLIN-7
Administrator
On Thu, Dec 01, 2016 at 02:02:42PM -0700, H Plato wrote:
> I don’t have a definitive answer, however in the IOLInc_door object I added, I put in a
>
>     $parent->set_relay_mode("Momentary_B”);
>
> In the literature, Garage Door setups needed to be momentary_B, so I set that and things seem to work as expected.  I don’t dynamically change modes, so I can’t comment on that.

Thanks. I tried to change this with the drop down in the insteon config web
page. All the commands go through and return no error, but also do nothing.

Were you able to change from momentary_A to momentary_B with the command you
sent, or you don't actually know that the command ever changed the momentary
mode and you may just have reset it to the default it already was on?

If you ever managed to change the mode, that's good news, I can look into
whether I can successfully do it from code and maybe it's the insteon drop
down menu that is broken.

Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ 

------------------------------------------------------------------------------
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

H Plato
Well, that’s interesting. I just went to the insteon page, and selected ‘print settings to log’, and I get this:

12/01/16 02:09:37 PM [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: On; Momentary_C: On.

Momentary_C.  Looking at the Insteon manual, it actually should be Momentary_C, as it will only trigger the relay based on sensor input.

However, it looks like this is worked around in the set code:

    $$self{parent}->set("on") if ( $p_state ne $self->state );

So only fire off the relay if the desired state is different from the current state.

I’ll attempt to set the mode to Momentary_B when I get home and see if it sticks.


> On Dec 1, 2016, at 2:07 PM, Marc MERLIN <[hidden email]> wrote:
>
> On Thu, Dec 01, 2016 at 02:02:42PM -0700, H Plato wrote:
>> I don’t have a definitive answer, however in the IOLInc_door object I added, I put in a
>>
>>    $parent->set_relay_mode("Momentary_B”);
>>
>> In the literature, Garage Door setups needed to be momentary_B, so I set that and things seem to work as expected.  I don’t dynamically change modes, so I can’t comment on that.
>
> Thanks. I tried to change this with the drop down in the insteon config web
> page. All the commands go through and return no error, but also do nothing.
>
> Were you able to change from momentary_A to momentary_B with the command you
> sent, or you don't actually know that the command ever changed the momentary
> mode and you may just have reset it to the default it already was on?
>
> If you ever managed to change the mode, that's good news, I can look into
> whether I can successfully do it from code and maybe it's the insteon drop
> down menu that is broken.
>
> Thanks,
> Marc
> --
> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
> Microsoft is to operating systems ....
>                                      .... what McDonalds is to gourmet cooking
> Home page: http://marc.merlins.org/ 


------------------------------------------------------------------------------
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

H Plato
I don’t know if this is helpful, but MH does report back in the print log that the relay mode has changed. However I can’t actually test the output.

12/01/16 05:21:40 PM Running: garage iolinc print settings to log
12/01/16 05:21:44 PM [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: On; Momentary_C: On.

12/01/16 05:21:56 PM Running: garage iolinc set relay to momentary b
12/01/16 05:22:14 PM Running: garage iolinc print settings to log
12/01/16 05:22:14 PM [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: On; Momentary_B: On.

12/01/16 05:23:25 PM Running: garage iolinc set relay to momentary c
12/01/16 05:23:44 PM Running: garage iolinc print settings to log
12/01/16 05:23:45 PM [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: On; Momentary_C: On.


> On Dec 1, 2016, at 2:20 PM, H Plato <[hidden email]> wrote:
>
> Well, that’s interesting. I just went to the insteon page, and selected ‘print settings to log’, and I get this:
>
> 12/01/16 02:09:37 PM [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: On; Momentary_C: On.
>
> Momentary_C.  Looking at the Insteon manual, it actually should be Momentary_C, as it will only trigger the relay based on sensor input.
>
> However, it looks like this is worked around in the set code:
>
>    $$self{parent}->set("on") if ( $p_state ne $self->state );
>
> So only fire off the relay if the desired state is different from the current state.
>
> I’ll attempt to set the mode to Momentary_B when I get home and see if it sticks.
>
>
>> On Dec 1, 2016, at 2:07 PM, Marc MERLIN <[hidden email]> wrote:
>>
>> On Thu, Dec 01, 2016 at 02:02:42PM -0700, H Plato wrote:
>>> I don’t have a definitive answer, however in the IOLInc_door object I added, I put in a
>>>
>>>   $parent->set_relay_mode("Momentary_B”);
>>>
>>> In the literature, Garage Door setups needed to be momentary_B, so I set that and things seem to work as expected.  I don’t dynamically change modes, so I can’t comment on that.
>>
>> Thanks. I tried to change this with the drop down in the insteon config web
>> page. All the commands go through and return no error, but also do nothing.
>>
>> Were you able to change from momentary_A to momentary_B with the command you
>> sent, or you don't actually know that the command ever changed the momentary
>> mode and you may just have reset it to the default it already was on?
>>
>> If you ever managed to change the mode, that's good news, I can look into
>> whether I can successfully do it from code and maybe it's the insteon drop
>> down menu that is broken.
>>
>> Thanks,
>> Marc
>> --
>> "A mouse is a device used to point at the xterm you want to type in" - A.S.R.
>> Microsoft is to operating systems ....
>>                                     .... what McDonalds is to gourmet cooking
>> Home page: http://marc.merlins.org/ 
>


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

Marc MERLIN-7
Administrator
On Thu, Dec 01, 2016 at 06:04:58PM -0700, H Plato wrote:
> I don’t know if this is helpful, but MH does report back in the print log that the relay mode has changed. However I can’t actually test the output.

First, thanks a lot of trying out and your answer.

I cannot understand what's going on, now I'm also seeing this working,
lke you:
 
01/12/2016 17:15:06  [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: On; X10 Reverse: Off; Trigger Reverse: On; Momentary_C: On.
I changed settings, they show up in the log:
01/12/2016 17:16:55  [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: Off; Momentary_A: On.
then I restarted mh and the settings stuck
01/12/2016 17:19:16  [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: Off; Momentary_A: On.

Again, I'm not sure why it was repeatedly not working for me, but it is
now.

Thanks for your answer
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot change IOlinc configuration from mh (was Updates to IOLinc Module, Significant Changes in Configuration (#219)

Marc MERLIN-7
Administrator
On Thu, Dec 01, 2016 at 09:00:25PM -0800, Marc MERLIN wrote:
> 01/12/2016 17:15:06  [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: On; X10 Reverse: Off; Trigger Reverse: On; Momentary_C: On.
> I changed settings, they show up in the log:
> 01/12/2016 17:16:55  [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: Off; Momentary_A: On.
> then I restarted mh and the settings stuck
> 01/12/2016 17:19:16  [Insteon::IOLinc] Device Settings are: Program Lock: Off; Transmit Led: On; Relay Linked: Off; X10 Reverse: Off; Trigger Reverse: Off; Momentary_A: On.
>
> Again, I'm not sure why it was repeatedly not working for me, but it is
> now.

And now that I'm able to bench test it, turns out what I was hoping to
do, won't work.

I wanted the sensor input (mailbox open)  to immediately activate the
relay, but let the relay run through it timeout and not shut off the
relay immediately as soon as the sensor input is reversed.
Sadly if you link them, they're linked for on and off.

Obviously, I can read the sensor flip from mh, and send the relay
command from mh, but that introduces a multi second delay in worst case
scenario, which is not desirable in the application I had in mind.

Mmmh, maybe I can hack something where the output being triggered
prevents the sensor input from changing, using a 2nd external relay.
That's worth trying :)

Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/                         | PGP 1024R/763BE901

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
________________________________________________________
To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users

Loading...