Skip to content

Dynamic Entity #21

Description

@kevinschweikert

An advanced usage of Homex having support for defining a type of device and associated entities and then name and provide identifiers for multiple of those. Start Homex with custom config and derive device and entity definitions at runtime

Something like Homex.MultiManager.add_entity({MyApp.Camera, device: "camera-1", video_device: "/dev/video0"})

Homex.add_device("camera-1"
  [
    {MyApp.CameraThumbnails,
      opt_1: "foo"
    },
    {MyApp.CameraIntruderDetection,
      model: "bla.onnx"
    }
  ]
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions