- Platform information:
- Hardware: PI 4
- OS: PI OS
- Java Runtime Environment: 11
- openHAB version: 3.1.0.M3
Hi,
If have the Harmony Hub Binding (3.1.0.M3) running on openHAB 3.1.0.M3
I’m trying to make a rule (via GUI) to switch on a switch item and shutdown my roller shutter when a activity is starting
In the event log I see:
2021-04-24 16:16:26.777 [INFO ] [openhab.event.ChannelTriggeredEvent ] - harmonyhub:hub:Achterkamer:activityStarting triggered SHIELD_TV
2021-04-24 16:17:05.870 [INFO ] [openhab.event.ChannelTriggeredEvent ] - harmonyhub:hub:Achterkamer:activityStarted triggered SHIELD_TV
2021-04-24 16:17:05.916 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'HarmonyHubAchterkamer_CurrentActivity' changed from PowerOff to SHIELD TV
my rules
triggers:
- id: "1"
configuration:
thingUID: harmonyhub:hub:Achterkamer
event: SHIELD TV
channelUID: harmonyhub:hub:Achterkamer:activityStarting
type: core.ChannelEventTrigger
conditions: []
actions:
- inputs: {}
id: "2"
configuration:
itemName: RFXCOMRfyRolluik_Shutter
command: DOWN
type: core.ItemCommandAction
triggers:
- id: "1"
configuration:
event: SHIELD TV
channelUID: harmonyhub:hub:Achterkamer:activityStarting
type: core.ChannelEventTrigger
conditions: []
actions:
- inputs: {}
id: "2"
configuration:
itemName: achterkamermediaplayer
command: ON
type: core.ItemCommandAction
The Items i use in the rules are selected from the GUI, therefore little chance of a typo
The commands used in the rules are ON and DOWN
I can’t find any Errors or Warnings regarding these rules in openhab.log file
Is there any way to check if these rules are triggered?
Can I, for example, save a log entry in the events.log?
Or do I need to make a seperate DSL script for it en use the rule only for triggering.
thanks for any info.