Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT discovery of motion-ai #6

Open
dcmartin opened this issue Nov 11, 2020 · 0 comments
Open

MQTT discovery of motion-ai #6

dcmartin opened this issue Nov 11, 2020 · 0 comments

Comments

@dcmartin
Copy link
Owner

dcmartin commented Nov 11, 2020

Add MQTT discovery capabilities for the topics generated by motion-ai.

AI service events

The AI services announce their service when launched as a retained message; service may be yolo4motion, alpr4motion, et. al. The id component is the machine identifier; will become the accessible address.

  • service/<service>/<id>

Add-on events

The Motion Classic add-on produces a retained message on launch of the following form:

  • <group>/<device>/start

Camera events

Events are produced by motion-ai based on output from the various AI's, for example yolo4motion annotations are processed and messages are produced on the following base topic:

  • <group>/<device>/<camera>/<event>

Where event may be one of:

  • annotated
  • detected
  • detected_entity
  • detected_person - unimplemented
  • detected_vehicle - unimplemented
  • detected_animal - unimplemented

Component types supported by MQTT discovery in HA include the following:

Other components in HA may be applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant