Hi Team,
great work on the OpenHab 3. Discovered small issue with the fact that when I define manually the channel in the mqtt generic binding as a triggered I can’t then use it in the rules UI - it is just not visible on the list of available trigger channels. However I can, without any issues, use it in rules defined directly in .rules files.
I have the following Thing defined:
UID: mqtt:topic:autoPogoNAS:9F306C
label: tasmotaSonoffDualV2_02 manual
thingTypeUID: mqtt:topic
configuration:
payloadNotAvailable: Offline
availabilityTopic: tele/tasmota/SW/9F306C/LWT
payloadAvailable: Online
bridgeUID: mqtt:broker:autoPogoNAS
channels:
- id: Button1
channelTypeUID: mqtt:trigger
label: Buttons trigger
description: ""
configuration:
stateTopic: stat/tasmota/SW/9F306C/BUTTON1T
transformationPattern: JSONPATH:$.TRIG
So when I try to choose a Channel for “a trigger channel fires” Add Trigger dialog:
This empty list appears:
As mentioned in the same time manual rule works perfectly fine:
rule "React on single button trigger from mqtt tasmota 9F306C device"
when
Channel "mqtt:topic:autoPogoNAS:9F306C:Button1" triggered SINGLE
then
logWarn("ButtonLog: ", "SINGLE")
end
Not only it works but also appears fine in rules UI (just cannot be edited):
- Platform information:
- Hardware: RaspberryPi 3b
- OS: openHABian 5.4.83-v7+ #1379
- Java Runtime Environment: openjdk 11.0.9 2020-10-20 LTS
- openHAB version: 3.0.0