Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Use flic button to send command to openhab

    General Discussion
    1
    1
    235
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • patricks
      patricks last edited by

      Hi,

      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?

      P.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post