Use flic button to send command to openhab
patricks last edited by
I want to use my flic buttons to send http commands to openhab.
Found the curl command:
curl -X POST --header "Content-Type: text/plain" --header "Accept: application/json" -d "ON" "http://192.168.0.40:8080/rest/items/Flic5_Hold"
now I am trying to send a command from a button but cannot find how to do it. Anyone did something like this? how?