qmetrics.net

PyModbus

Python client, server, and simulator for Modbus

PyModbus implements the Modbus protocol with synchronous and asynchronous clients and servers, plus an HTML-based device simulator.

Overview

PyModbus is a Python implementation of the standard Modbus protocol. It bundles a client for talking to field devices, a server for emulating or hosting devices, and a simulator with a web interface for configuring and monitoring virtual equipment.

The stack supports serial RS-485, TCP, TLS, and UDP, along with common frame types including RTU, ASCII, and socket modes. Optional pyserial handles serial links. Clients expose both sync and async APIs with helpers to map Python values to register blocks. Servers offer synchronous wrappers over async internals, configurable datastores, and hooks to observe traffic.

The simulator lets teams model device register layouts, watch live traffic, and rehearse error or fault responses that are hard to trigger on hardware. It can be launched from an installed entry point with JSON-driven device definitions and a configurable HTTP port for the UI.

Typical uses include embedding a client in automation software such as home-assistant, standing up a test server to validate an integration, or stress-testing many simulated devices on small hosts like a Raspberry Pi.

Key features

  • Full standard Modbus protocol coverage
  • Sync and async client APIs
  • High-performance async server
  • HTML Modbus simulator
  • Serial, TCP, TLS, and UDP transport
  • Custom function code support
  • Register conversion utilities
  • Optional pyserial dependency

Use cases

  • Industrial device integration in Python apps
  • home-assistant Modbus connectivity
  • Verifying client logic against a test server
  • Distributed virtual device testing
  • High-volume multi-device simulation

Tags

Similar software

MQTT.js

JavaScript MQTT client for Node.js and browsers

MQTT.js is a client library for the MQTT protocol in JavaScript. It targets Node.js and browser environments and can connect to brokers over TCP, TLS, and WebSockets.

  • MQTT client for Node.js and browsers
  • TCP, TLS, and WebSocket transports
  • Automatic reconnection with tunable options
TypeScriptWeb, CLIDetails →
★ 9.1k⟳ 4 days agoMIT

Hass Xiaomi Miot

Home Assistant integration for Xiaomi MIoT devices

This Home Assistant custom integration connects Xiaomi Wi-Fi, BLE, and Zigbee devices via the MIoT specification, with UI-based setup and optional cloud or local control modes.

  • MIoT-spec protocol integration
  • HACS and manual install paths
  • Mi account or host token pairing
PythonDetails →
★ 6.3k⟳ 15 days agoApache-2.0

Node SerialPort

Serial port access from JavaScript

node-serialport lets JavaScript and TypeScript talk to hardware over serial ports on Linux, macOS, and Windows. It targets robots, IoT gadgets, and desktop tools that need USB serial links.

  • Serial read and write from Node.js
  • Linux, macOS, and Windows support
  • Electron-compatible workflows
TypeScriptLinux, macOS, WindowsDetails →
★ 6k⟳ 11 months agoMIT

FastBle

Android Bluetooth Low Energy development library

FastBle simplifies Android BLE scanning, connection, read, write, notify, RSSI, and MTU handling with filtering, multi-connection support, and modern ScanCallback APIs.

  • Filtered BLE scanning
  • Multi-device connections
  • Read write notify indicate
JavaAndroidDetails →
★ 5.5k⟳ 7 months agoApache-2.0

Lovelace Mushroom

Home Assistant Lovelace dashboard card collection

Mushroom is a set of custom Lovelace cards for Home Assistant dashboards. Each card is configured in the UI editor with icon and color pickers and no extra card dependencies.

  • Custom Lovelace cards for many entity types
  • Full UI editor for every card option
  • Built-in icon and color pickers
TypeScriptWebDetails →
★ 5.3k⟳ 3 days agoApache-2.0

Blinker

Arduino and ESP IoT client library for Blinker cloud

The Blinker library links embedded boards to the Blinker IoT platform over Wi-Fi, BLE, or MQTT from Arduino, ESP8266, and ESP32 firmware.

  • Arduino and ESP board support
  • Wi-Fi, BLE, and MQTT transports
  • Blinker mobile app integration
C++Details →
★ 5.2k⟳ 1 year agoMIT
IoT, Hardware & FirmwareNo commits in 18+ months