This Home Assistant add-on is for use with
the Open Horizon pattern-service: yolo2msghub
This addon is designed to consume Kafka messages on the topic yolo2msghub
and produce MQTT messages for consumption by the MQTT broker
addon using the specified topic (see Options below).
Detailed documentation for the IBM Edge Fabric is available on-line. A Slack channel is also available.
- Add this repository to your Hass.io addon store.
- Install the "yolo2msghub" add-on
- Setup the "yolo2msghub" add-on
- Configure
kafka
with your Kafka API key - Optionally change
mqtt
forhost
,port
,topic
,username
, andpassword
- Start the "yolo2msghub" add-on
- Check the logs of the add-on for failures :-(
Credentials required for sending and receiving messages using the IBM Cloud MessageHub.
"kafka": {
"api_key": "<Your IBM Edge Fabric MessageHub API key>",
"brokers": "kafka03-prod02.messagehub.services.us-south.bluemix.net:9093,kafka04-prod02.messagehub.services.us-south.bluemix.net:9093,kafka01-prod02.messagehub.services.us-south.bluemix.net:9093,kafka02-prod02.messagehub.services.us-south.bluemix.net:9093,kafka05-prod02.messagehub.services.us-south.bluemix.net:9093"
}
This option provides the information required for MQTT service; defaults are as specified below.
"mqtt": {
"host": "core-mosquitto",
"port": 1883,
"topic": "kafka/cpu-load"
"username": "",
"password": ""
}
Listen to the MQTT host and port to receive JSON payload of the processed YOLO image.
kafka/yolo-image
Configuration examples are provided for processing the JSON:
- Edit your HomeAssistant configuration YAML to include yolo2msghub
- Edit your
ui-lovelace.yaml
configuration for display
Releases are based on Semantic Versioning, and use the format
of MAJOR.MINOR.PATCH
. In a nutshell, the version will be incremented
based on the following:
MAJOR
: Incompatible or major changes.MINOR
: Backwards-compatible new features and enhancements.PATCH
: Backwards-compatible bugfixes and package updates.
David C Martin ([email protected])