Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Python TCP Client

    Flic Hub SDK
    2
    3
    1095
    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.
    • johan.nanzen
      johan.nanzen last edited by

      Hi,

      I have created a TCP Client in Python that responds to button clicks from the Flic Hub. My idea was to create an Integration to HomeAssistant, but I haven't had the time to finish it. So I wanted to share the python tcp client for other people to use and improve.

      Pull requests and feedback is appriciated 🙂

      You can find the repository here
      https://github.com/JohNan/pyflichub-tcpclient

      1 Reply Last reply Reply Quote 1
      • mart
        mart @mart last edited by mart

        This is what I ended up doing: https://community.flic.io/topic/18102/a-flexible-hub-running-on-a-pi-zero

        1 Reply Last reply Reply Quote 0
        • mart
          mart last edited by

          This looks great. My use case is a little different. I want a machine on my network to activate some code when it sees that I am issuing commands to a device via the flic. I have some perl that switches inputs on a device. Ideally the hub would do it, but the this is the quick and dirty way.

          Anyway, thanks for sharing. If I get things working I'll give a better explanation of what I'm doing 🙂

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