# blinker-iot/blinker-py

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/blinker-iot-blinker-py).**

4,396 stars · 30 forks · Python · MIT

## Links

- GitHub: https://github.com/blinker-iot/blinker-py
- awesome-repositories: https://awesome-repositories.com/repository/blinker-iot-blinker-py.md

## Topics

`ble` `blinker` `embedded` `hardware` `linux` `mqtt` `respberry-pi` `websocket` `wifi` `windows`

## Description

Blinker-py is a Python library and asynchronous hardware interface designed to connect Linux-based single board computers, such as the Raspberry Pi, to a remote IoT cloud platform. It functions as a communication bridge and hardware abstraction layer that enables the remote monitoring and control of physical components.

The project provides a TCP socket communication client for bidirectional, real-time data exchange. It maps cloud-side virtual controls to physical GPIO pins, allowing remote interfaces to trigger physical actions on connected hardware through a cloud bridge.

The library incorporates asynchronous message dispatching and event-driven control loops to process cloud commands and sensor telemetry without blocking local execution. It further supports connection stability through heartbeat-driven monitoring and utilizes JSON-encoded payload serialization for data exchange.

## Tags

### Hardware & IoT

- [Hardware & IoT](https://awesome-repositories.com/f/hardware-iot.md) — Provides a library to connect local hardware to a cloud platform for remote monitoring and control of physical components.
- [Asynchronous Hardware Interfaces](https://awesome-repositories.com/f/hardware-iot/asynchronous-hardware-interfaces.md) — Functions as an event-driven asynchronous interface for handling cloud commands and sensor telemetry without blocking hardware loops.
- [Cloud IoT Connectivity](https://awesome-repositories.com/f/hardware-iot/connectivity-iot/cloud-iot-connectivity.md) — Establishes secure communication links between local hardware and remote cloud infrastructure for management and control. ([source](https://github.com/blinker-iot/blinker-py/blob/dev_3.0/MANIFEST.in))
- [Hardware Abstraction Layers](https://awesome-repositories.com/f/hardware-iot/hardware-abstraction-layers.md) — Maps cloud-side virtual controls to physical GPIO pins through a hardware abstraction layer.
- [Hardware Management](https://awesome-repositories.com/f/hardware-iot/design-lifecycle-management/hardware-engineering-management/hardware-management.md) — Establishes secure communication links to monitor and manage the state of physical hardware from a distance.
- [Python IoT Frameworks](https://awesome-repositories.com/f/hardware-iot/iot-controller-application-development/python-iot-frameworks.md) — Provides a Python library for writing scripts on single-board computers to exchange data with IoT management services.
- [Cloud-to-Hardware Controllers](https://awesome-repositories.com/f/hardware-iot/physical-hardware-control/cloud-to-hardware-controllers.md) — Enables remote triggering of physical hardware actions via a cloud-to-device communication bridge.

### Networking & Communication

- [Bidirectional Socket Communication](https://awesome-repositories.com/f/networking-communication/bidirectional-socket-communication.md) — Maintains a persistent TCP socket connection for bidirectional, real-time data exchange between hardware and the cloud.
- [Cloud-Edge Communication Bridges](https://awesome-repositories.com/f/networking-communication/cloud-edge-communication-bridges.md) — Acts as a bidirectional communication bridge linking Linux single-board computers to remote servers.

### Operating Systems & Systems Programming

- [Hardware Interfaces](https://awesome-repositories.com/f/operating-systems-systems-programming/raspberry-pi-systems-programming/hardware-interfaces.md) — Implements a software interface for controlling GPIO and peripherals on Raspberry Pi and other Linux devices via the cloud.
- [Raspberry Pi Systems Programming](https://awesome-repositories.com/f/operating-systems-systems-programming/raspberry-pi-systems-programming.md) — Provides a software interface for managing GPIO pins and peripherals on Raspberry Pi via network connections.

### Software Engineering & Architecture

- [Hardware Message Dispatchers](https://awesome-repositories.com/f/software-engineering-architecture/behavioral-design-patterns/mediator-patterns/asynchronous-dispatchers/hardware-message-dispatchers.md) — Implements an asynchronous dispatching system to process cloud commands and sensor data without blocking hardware execution.
- [Hardware Control Loops](https://awesome-repositories.com/f/software-engineering-architecture/event-driven-agent-loops/hardware-control-loops.md) — Provides an event-driven control loop to trigger physical hardware actions immediately upon receiving cloud commands.

### System Administration & Monitoring

- [Connection Heartbeats](https://awesome-repositories.com/f/system-administration-monitoring/connection-heartbeats.md) — Employs periodic heartbeat signals to verify server responsiveness and automatically trigger reconnection for stability.
