--- id: hatasmota version: "0.10.1" license: MIT license_treatment: permissive maintenance: active --- # HATasmota — Python module to help parse and construct Tasmota MQTT messages. License: permissive · Maintenance: active · Downloads: 77.3K/mo ## What it is and what it does HATasmota is a Python library for parsing and constructing MQTT messages compatible with Tasmota, the open-source firmware for smart home devices. It sits between your Python application and Tasmota devices communicating over MQTT, handling message serialization and deserialization so you don't have to manually construct protocol-compliant payloads. The package depends on voluptuous for schema validation and aiohttp for async HTTP operations, making it suitable for integration into async Python applications. It targets Python 3.13 and later, reflecting a modern Python stance. With low install friction and active maintenance, it's designed as a lightweight bridge for home automation and IoT projects that need to speak Tasmota's MQTT dialect. Use it for: - Build a home automation controller that sends commands to Tasmota devices and parses their status updates over MQTT. - Integrate Tasmota smart home devices into a larger Python-based home assistant or orchestration system. - Parse incoming Tasmota MQTT telemetry and state messages for logging, analytics, or conditional automation. - Construct properly formatted MQTT payloads to control Tasmota relays, sensors, and other peripherals without manual protocol work. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses and constructs Tasmota MQTT messages, enabling Python applications to communicate with Tasmota smart home devices over MQTT. Yes, if you are building a Python application that needs to communicate with Tasmota devices over MQTT. The package has low install friction, permissive licensing, active maintenance, no known vulnerabilities, and solves a specific integration problem. The Python 3.13 requirement is a hard constraint—verify your environment supports it before installing. ## Install pip install hatasmota uv add hatasmota poetry add hatasmota ## Installing HATasmota Before you install: Low friction: pure-Python wheel with only two runtime dependencies (voluptuous and aiohttp). Repository is active with recent commits and no archived status, though the package has modest visibility at 26 stars. License in practice: MIT license is permissive—you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions. Quickstart: pip install hatasmota import hatasmota # Use voluptuous and aiohttp to validate and send Tasmota MQTT messages Requires Python 3.13 or later. Verify before relying: - Whether the package handles all Tasmota MQTT message types and edge cases in practice - Performance characteristics with high-volume MQTT message streams - Compatibility with specific Tasmota firmware versions ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 77.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags tasmota mqtt parser, smart home mqtt messages, tasmota device communication, mqtt message construction, home automation mqtt library, tasmota protocol handler, mqtt, smart-home, iot [View on SkillFed](https://skillfed.io/packages/hatasmota) · [View on PyPI](https://pypi.org/project/hatasmota/)