Skip to main content

Asynchronous Python TCP Client for FlicHub

Project description

Asynchronous Python TCP Client for FlicHub

Get events from the FlicHub when a Flic/Twist Button is clicked and send them to home-assistant-flichub.

To be able to use this client you need to enable the Flic Hub SDK described on this page.

Create a new module and name it pyflichub-tcpclient (or any name) and paste the code found in tcpserver.js in the editor and press play. Check the box "Restart after crash or reboot."

This will open a TCP Server on port 8124 (configurable by changing PORT)

Disclaimer

This python library was not made by Flic. It is not official, not developed, and not supported by Flic.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyflichub_tcpclient-0.1.13.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyflichub_tcpclient-0.1.13-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file pyflichub_tcpclient-0.1.13.tar.gz.

File metadata

  • Download URL: pyflichub_tcpclient-0.1.13.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for pyflichub_tcpclient-0.1.13.tar.gz
Algorithm Hash digest
SHA256 adf61c659b0a70c2003eb1147cce1e22b908c52b1c367b55a391aa339cf1215e
MD5 24f09fddc383f20ef076bf937f1fa0f6
BLAKE2b-256 5b8cf82bf5ab9fbf99ea5a368f885a4ba0d6fd6c7db7d8e89ee56c2487f12aa3

See more details on using hashes here.

File details

Details for the file pyflichub_tcpclient-0.1.13-py3-none-any.whl.

File metadata

File hashes

Hashes for pyflichub_tcpclient-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 34b73a588dc71305a40753ce71dd397e3dbe1d174c847fedb7cc28f4511ba6be
MD5 011f882f0b57d9b5147be5d91c171503
BLAKE2b-256 af4796b681c58a40efa9d7d9894129ccbb089be88e2dcf2736bda02ed6d5d665

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page