{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"Provides a base class and framework for building async daemon processes that integrate with Jeedom home automation plugins, handling socket communication, message routing, and lifecycle callbacks with minimal boilerplate.","skillfed_tags":["jeedom-plugin","daemon-framework","home-automation"],"use_cases":["Build a Jeedom plugin daemon that polls a remote API and sends status updates back to Jeedom on a configurable cycle.","Create a daemon that listens for commands from Jeedom and controls smart home devices via a third-party protocol or SDK.","Implement a daemon that manages long-lived connections (e.g., WebSocket, MQTT) and bridges them to Jeedom's message interface.","Develop a plugin daemon with custom startup logic (authentication, resource initialization) and graceful shutdown (cleanup, connection closure)."],"what_it_does":"jeedomdaemon is a Python framework for building daemon processes that run as part of Jeedom home automation plugins. It abstracts away the boilerplate of socket setup, message parsing, API key validation, and lifecycle management, letting you focus on your plugin's business logic. The library provides a BaseDaemon class that you subclass and override with async callbacks for startup, message handling, and shutdown.\n\nThe framework handles TCP socket communication with the Jeedom PHP core, accepts standard command-line arguments for configuration (port, API key, log level, callback URL), and manages the event loop. It depends on aiohttp for async HTTP operations and is designed for Python 3.9+. The minimal entry point is four lines of code; more complex daemons add custom configuration classes and async handler methods.","worth_installing":"Yes. If you are building a Jeedom plugin in Python, this framework eliminates significant boilerplate and is actively maintained with no known vulnerabilities. The single dependency (aiohttp) is well-established. Install it if you need to write a daemon; skip it if you are not targeting Jeedom."},"id":"jeedomdaemon","links":{"html":"https://skillfed.io/packages/jeedomdaemon","md":"https://skillfed.io/packages/jeedomdaemon.md","pypi":"https://pypi.org/project/jeedomdaemon/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-03-14","license_spdx":null,"license_treatment":"permissive","name":"jeedomdaemon","python_support":"supports_current","summary":"A base to implement Jeedom daemon in python"},"popularity":{"monthly_downloads":108490,"position":12556,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.9"}
