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.12.tar.gz (13.7 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.12-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyflichub_tcpclient-0.1.12.tar.gz
  • Upload date:
  • Size: 13.7 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.12.tar.gz
Algorithm Hash digest
SHA256 fc00df0e2c0becd4770d43d17bc70edb92f135f2b6ecaf9829827a99f4c780b6
MD5 578d844e0a84a2e6f05bd40e80e5aba7
BLAKE2b-256 2c428f02c8accc252d1dbb7cf3259fa76bc6f1a8e3669ae3440b0c88faeb75de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyflichub_tcpclient-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 38d03f7ec8f8c4063a33fe3ea1b0bc088f447058b0e603599edadb527ea60c47
MD5 269c32bd95aafa34da2cf5fb2b9f8599
BLAKE2b-256 2e64be517373bea5a7fea10054b19a4bfb6410d05a7bfe568b26ff58091530e4

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