/addon-mqtt-io

[Deprecated] A Home Assistant add-on for the popular mqtt-io service

Primary LanguageShellApache License 2.0Apache-2.0

DEPRECATED - No longer maintained

Not Maintained

Please note - that there was an official plug-in written to wrap the mqtt-io daemon, and I am using that instead of writing and maintaining my own code: https://github.com/hassio-addons/repository/tree/master/mqtt-io. I've left the repo, in case I need to pick my project up again in the future

Home Assistant Plugin - MQTT

This is a Home Assistant Plugin for the excellent flyte/mqtt-io service.

Open your Home Assistant instance and show the add add-on repository dialog with a specific repository URL pre-filled.

Warnings

I only have a Raspberry PI 4. I have not tested this on any of the other platforms that the core flyte/mqtt-io service supports.

Comments

  • Requires the Mosquitto Add-on for pushing messages

MQTT

I'll need to get the mqtt-io service to talk to the mosquitto engine... this is some sample code for extracting the host, username and password:

MQTT_HOST=$(bashio::services mqtt "host")
MQTT_USER=$(bashio::services mqtt "username")
MQTT_PASSWORD=$(bashio::services mqtt "password")

Rough Notes

  • Do I need a repository.yaml file?
  • Need a LICENSE file
  • Need a .github/workflows/builder.yaml
  • Need a .github/workflows/lint.yaml ?
  • Need a .github/dependabot.yaml ?
  • Convert this list to formal Issues once code mature