Create alert manually button click

I would like to put a button on a panel to create an event (=>Kapacitor=>MQTT) when the button is clicked. I know how to trigger an event by data, but how do I trigger manually?

Hi @dmenne, welcome ,
I don’t think that is possible , but maybe you can send data to the Influxdb with values that will trigger an alert ?

Hope this helps

A bit messy for such a simple thing. But what is the easiest way to put a switch/button into the panel? I am not bad at javascript, but I don’t want to put too much work into this.