I think the easiest would be to just set up a http server on your computer and then use the Internet Request action on the Flic hub. Then your http server can then further make osc requests or whatever when a button event is received.