Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger channels cant be assigned #2005

Closed
PottiMc opened this issue Aug 2, 2023 · 7 comments
Closed

Trigger channels cant be assigned #2005

PottiMc opened this issue Aug 2, 2023 · 7 comments

Comments

@PottiMc
Copy link

PottiMc commented Aug 2, 2023

When I try to assign trigger channel in rules the channel popup will not open. It is showing the animation but no popup for selction is opening.
Tested on up to date Edge and Firefox.

Existing trigger channels in rules from version 3 are working but if you want to edit the channel its not working too.

grafik

Openhab Version is 4.0.1

@wborn
Copy link
Member

wborn commented Aug 2, 2023

Can you transfer this issue to the webui repo @kaikreuzer ?

@kaikreuzer kaikreuzer transferred this issue from openhab/openhab-distro Aug 4, 2023
@PottiMc
Copy link
Author

PottiMc commented Aug 7, 2023

I guess my issue is related or similar to #1996

Anyway, I found out it is possible to still use triggers when manually writing the code. The rule is working fine then.

Example:
`triggers:

  • id: "1"
    configuration:
    channelUID: homematic:HmIP-FCI1:xxx:1#BUTTON
    type: core.ChannelEventTrigger`

@Linux2fast
Copy link

The issue persists in OH4.0.1 on a Raspberry Pi4 even when the rule is manually written. The trigger is not triggered or found.
On OH 3.4.5 isn't the problem.

@chrisonline
Copy link

The issue persists in OH4.0.1 on a Raspberry Pi4 even when the rule is manually written. The trigger is not triggered or found. On OH 3.4.5 isn't the problem.

The trigger is working for me if I enter the chnannelUID in the "code" section manually.
But the issue to select the channel via the button "Channels" does not work.

Using OH4.0.1 on a Raspberry PI4

@Linux2fast
Copy link

I get the following issue if the trigger ist set manuel in "Code" section.
image
That's the Code
image
Have another User this Problem or a Solution for this Problem?
Thanks

@chrisonline
Copy link

I get the following issue if the trigger ist set manuel in "Code" section. image That's the Code image Have another User this Problem or a Solution for this Problem? Thanks

You need to add the channelUID to the code manually (example of a hue device):

configuration: {}
triggers:
  - id: "1"
    configuration:
      thingUID: hue:device:ecb5fafffe179ad8:05b2b64a-44ee-4bbc-bd07-90130907e920
      channelUID: hue:device:ecb5fafffe179ad8:05b2b64a-44ee-4bbc-bd07-90130907e920:button-last-event
    type: core.ChannelEventTrigger

This line: "channelUID: hue:device:ecb5fafffe179ad8:05b2b64a-44ee-4bbc-bd07-90130907e920:button-last-event", but you need to change it to you your channelUID and event.

@florian-h05
Copy link
Contributor

Duplicate of #1996, which followed the bug report template and provided the requested information.

@florian-h05 florian-h05 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants