i can confirm that. i use the webhook binding only very short so i cannot report from the passt. but i updated some days ago my openhabian from oh 4.3.2 to 4.3.3 and realized the binding was gone. the thing was still present and i only had to install the binding again to make everything work again.
After each update openhab performs a clean cache. The clean cache by intention uninstalls all marketplace bindings.
see here:
Understood, thanks! Would be nice if OH would do itself what that script does. ![]()
An easier approach is to change the openhab-cli script and comment that line which deletes the marketplace folder.
So, is this deleting an unintended consequence of the cache clearing, or is there a reason why reinstalling marketplace add-ons after an update makes sense?
It is there by intention. I think the reason is that there have been problems where was not coming up after an update due to a marketplace binding becoming incompatile with the new openhab version.
Hi,
I’m using the webhook binding to detect if one of several buttons are pressed. I have set up one webhook thing “doorbells” with multiple trigger channels like “bell_frontdoor” as below:
UID: webhook:Webhook:doorbells
label: Doorbells Webhook
thingTypeUID: webhook:Webhook
configuration:
expression: resp.status=200
channels:
- id: lastCall
channelTypeUID: webhook:lastCall-channel
label: Last request
description: Timestamp of the last request to the webhook.
configuration: {}
- id: bell_frontdoor
channelTypeUID: webhook:trigger-channel
label: Doorbell Frontdoor Webhook
description: ""
configuration:
expression: resp.status=200
- id: bell_gate
channelTypeUID: webhook:trigger-channel
label: Doorbell Gate Webhook
description: ""
configuration:
expression: resp.status=200
- id: bell_backdoor
channelTypeUID: webhook:trigger-channel
label: Doorbell Backdoor Webhook
description: ""
configuration:
expression: resp.status=200
Now the problem is, if I call a webhook via the URL: http://[IP]:[Port]/webhook/doorbells/bell_frontdoor I would expect only the bell_frontdoor- channel to be triggered. But for some reason all 3 channels of the webhook:Webhook:doorbells thing are triggered at the same time…:
2025-06-18 22:48:32.383 [INFO ] [openhab.event.ChannelTriggeredEvent ] - webhook:Webhook:doorbells:bell_backdoor triggered 200
2025-06-18 22:48:32.383 [INFO ] [openhab.event.ChannelTriggeredEvent ] - webhook:Webhook:doorbells:bell_gate triggered 200
2025-06-18 22:48:32.383 [INFO ] [openhab.event.ChannelTriggeredEvent ] - webhook:Webhook:doorbells:bell_frontdoor triggered 200
I’m sure I’m missing something here, or is this behaviour intended? Thank you for your help!
Be declaring one thing within the binding you declare how will one http request to particular http address (http://openhab/thing[..whatever followed]) translate to every channel the thing has.
In your example - just declare multiple things. One thing for each button.
Yeah, I already tried and that works of course. Thought I can handle all in the same thing. I will keep it in multiple things then.
Thanks for your help!
I have an appliances that can send HTTP Post commands. Unfortunatly i can’t declare what needs to be send in the body.
Following can you see what it send. “Camera_name” and the “title” are the things that i want to use to trigger an item.
{
"id": 52253,
"event": 31222,
"notice_type": "OBJECT_DETECTED",
"title": "Object detected",
"importance_level": 5,
"datetime": "2025-08-06T18:53:42Z",
"data": {
"camera_id": 5,
"rule_id": 6,
"camera_name": "Tuin",
"message": "<strong>Tuin</strong><br>Person(1) detected at 06.08.2025 20:53:42",
"object": "person",
"object_class_id": 1,
"object_count": 1,
"image_path": "/app/media/report/camera_5/1754506422.98_bb.jpeg",
"image":
Hello all,
I’m new in this kind of stuff for webhook.
But I have a challance and perhaps webhook could solve this.
I have a WLAN button from mystrom, which could send three different http requests (single, douple, long press) to different devices like shelly.
Is there a way, that my OH installation (5.0.1) can also listen to the button, and can start e.g. a rule?
Could some please provide me a step by step guide, what I need to do on OH side, and how the http line for the button will look like?
PS: At the moment the http line for the button looks like that:
http://192.168.xxx.xxx/relay/0?turn=toggle
I can switch on and off a shelly relais.
Is your button able to send post commands?
Can you send for each type of activation an command?
Hello, yes I can program the button with three different commands. One for each,
short, douple and long.
Here is an example how to program the button.
curl --location --request POST “http://192.168.xxx.xxx/api/v1/action/single”
–data “get://username:password@192.168.xxx.xxx/relay/0?turn=toggle”
So what must I do, that this request goes to my oh installation and is recordnized from OH and from that I can start a rule.
You don’t even need this webhook binding. You can use openhab’s REST API
Ok togehter.
Today I have now play a little bit with the WebHook binding.
With the friendly help from ChatGPT I was able to configue a thing and created a new channel.
Addtional, the string was given out to program the mybutton with a http string, to do something.
This trigger is now listed in the OH installation, and out of this, I can start now a rule.
So this mean, that in princible to mystrom button is a 100% exchange stuff to the not more sold
Shelly button1. I can adress here directly shellies, e.g. to toggle, or to do what every I want, triggerend by by a OH rule.
This was was the target, and it seems to work now ![]()