QuailAutomation / openhab2-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 2.0
8 stars 7 forks source link

Omni All On/Off (Button 4 1 /4 0 needs a channel) #134

Closed mjcumming closed 5 years ago

mjcumming commented 5 years ago

Currently the all on/off commands from a Omni console generate this event

2018-11-01 08:33:38.408 [vent.ChannelTriggeredEvent] - omnilink:area:9ffcfafd:1:all_on_off_Event triggered OFF

which is not mappable to an item using a channel.

boc-tothefuture commented 5 years ago

I will try and take a look at this over the holiday break.

boc-tothefuture commented 5 years ago

@mjcumming - are you saying you want to detect when an all on/off event happens? Or you want to trigger the all on/off event on the omni?

mjcumming commented 5 years ago

The Omni 4-0 and 4-1 All On/Off button presses from the console. Its the system event ALL ON/OFF 0000 0011 111s aaaa s = state

boc-tothefuture commented 5 years ago

@mjcumming - I started looking at this. It is a channel trigger (there is no state) so it should not be mapped to an item. It should be processed in your rules as other channel triggers would.

mjcumming commented 5 years ago

I do see the channel event, didn't realize you can't map that to an item and that you must create a rule to get the channel event - thank you.

2018-11-01 08:33:38.408 [vent.ChannelTriggeredEvent] - omnilink:area:9ffcfafd:1:all_on_off_Event triggered OFF