Components

Components are at the very core of MudPi and the main objective is to monitor and manage them. A component is an item that has state, is represented by a key and typically has actions to interact with it. Components are managed by workers which each run on a thread to keep systems responsive. The worker will requests updates from components on a configured interval. A component can be anything from a simple digital timer to a physical device that gathers data from the real world.

While some components can be directly added to the system MudPi also provides some core components for you that support interfaces. Interfaceable components allow uniform functionality while having different behavior behind the scenes. The components supporting interfaces are: sensors, controls, cameras, triggers, character displays and toggles.

If you are interesting in creating new components read the developers docs on adding new components.

To add another core type of component that supports interfaces, contact the developer team.