[Alpha] MQTT application


#1

An application that provides linking of Hubitat devices directly with an MQTT broker i.e. without need for the 'middleman' bridge.

This is currently in alpha testing (as is the Hubitat MQTT client driver),

Key Features - implemented in alpha2

a) Enabling inbuilt HE devices to publish and be controllable through MQTT either using a basic topic structure or a limited homie3 structure (or both)

b) Enable existing MQTT devices to be 'mirrored' as virtual devices and controlled within HE. All the topics are configurable as are the state values..

c) Enable automatic discovery and selected inclusion of devices using the homie3 protocol (promoted by openHAB)

d) Enable automatic discovery and selected inclusion of devices using the Home Assistant statestream protocol (offered by HA) - a small automation script is provided for HA that enables the statestream protocol for control of HA too.

Limitations: alpha2 supports 'switch' (onoff) and 'switchLevel' (dim) capabilities only - but will be expanded to include others

Intended Future Features:

  1. Support of many more device capabilities beyond 'onoff' and 'dim'
  2. Add sensor support for reporting of sensor values
  3. Support Home Assistant MQTT discovery protocol bidirectionally - HE devices auto discovered by HA and devices advertising using this protocol discoverable by HE
  4. Better support for decimal maxBrightness values
  5. Support for multiple homie discovered devices.
  6. Support for JSON payloads
  7. More complete support for homie3 specification from Hubitat - enough so openHAB# discovery is happy.

MQTT Client - Beta
Need help with MQTT bridge with Home Assistant
MQTT Client - Beta
#2

If the above feature set is useful to you and you are comfortable with, and already using MQTT then you can PM me to get access to alpha 2.

If you are using openHAB then I do intend for homie3 discovery to work for automatically importing Hubitat devices into OH or indeed any other homie3 compliant device like Homey. However homie3 is broken in the current release 2.4 version of openHAB.


#3

This really is the best app for seeing what’s happening on your MQTT breaker


#4

Definitely be interested in trying it out. Running both systems with my Texecom alarm feeding into HA via MQTT, but it'd be handy if I could get this over to HE too


#5

Hi,

I was about to setup:

But while doing a search to see what issues people are having I found this thread.

I'm definitely interested! I currently have a setup like:
ST <-> ST Bridge App <-> Nodejs Bridge App <-> MQTT Broker <-> Home Assistant

I planned on moving to:
HE <-> HE Bridge App <-> Nodejs Bridge App <-> MQTT Broker <-> HA

However, what it sounds like you are doing here is a complete new app that 'combines' the 2 intermediate apps into a single HE app?
HE <-> [Alpha] MQTT application <-> MQTT Broker <-> Home Assistant

If that's correct, that sounds excellent, and I'm definitely interested!

Thank you,
-Chad


#6

Chad, yes that's correct, no bridge required (and hence no raspberry PI). I've sent you an invite . Give it a good testing and let me know how it goes in the alpha test thread , and any other features you think are needed.

K


#7

How are things going? I have been using Wink for my Zigbee devices and my search to replace Wink with Hubitat led me here. Could I try this out?


#8

I’m interested in helping test/dev. Looking to have better sonoff control.

Thanks!


#10

Hi Kevin, can I please be included in in the alpha?