How to intercept Insteon Switch Events

I’m trying to intercept all switch activities so I can run some custom LUUP code. I tried using scenes, but it looks like only CHANGE in state could be triggered; I’m looking to intercept ALL activity. All my switches are Insteon based using Altsteon.

Any suggestion or point in the right direction would be greatly appreciated.

Thanks!

Currently Vera doesn’t distinguish between:

  • light being turned on manually (at the switch)
  • light being turned on via a scene or direct command

Insteon does, but I am not sure how this is implemented in Altsteon or how it would be communicated to Vera and the plugins. I will look into it. fba would know more.

This is another advantage I have found in Insteon vs Z-Wave.

Was any progress every made on this?

If you augment the code in I_InsteonPlm.xml, I believe all events go through the function “parse_string”
From there, you could catch anything.

If you only want to catch specific actions from certain devices, you could modify the individual calls, such as:

[ul][li]insteonProcessRemotelinc[/li]
[li]insteonDimmerKplProcess[/li]
[li]insteonFanlincProcess[/li]
[li]insteonDimmerProcess[/li]
[li]insteonRelayKplProcess[/li]
[li]insteonRelayProcess[/li]
[li]insteonProcessIRlinc[/li]
[li]insteonEzFloraProcess[/li]
[li]insteonThermostatProcess[/li]
[li]insteonSynchrolincProcess[/li]
[li]insteonIoLincProcess[/li]
[li]insteonIMeterProcess[/li]
[li]insteonLockProcess[/li]
[li]insteonProcessGarageHawkGarage[/li]
[li]insteonProcessGarageHawkRemote[/li]
[li]insteonLeakProcess[/li]
[li]insteonTriggerProcess[/li][/ul]

I really appreciate the details… but I think I found a much simpler answer :slight_smile: Insteon groups. I grouped the lamplinc and the switchlinc together and now, changes to one get reflected on both - including any actions taken from the Vera :slight_smile:

Ooops. posted in the wrong thread.