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:
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 beyolo4motion
,alpr4motion
, et. al. Theid
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 exampleyolo4motion
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
- unimplementeddetected_vehicle
- unimplementeddetected_animal
- unimplementedComponent types supported by MQTT discovery in HA include the following:
binary_sensor
camera
sensor
Other components in HA may be applicable.