Skip to content

MQTT Improvements

Pre-release
Pre-release
Compare
Choose a tag to compare
@ccutrer ccutrer released this 19 Jan 21:12
· 1037 commits to mqtt-integration since this release

This includes the following MQTT improvements beyond current openHAB main:

  • Use a per-thing thing type for Homie things (drastically increases performance of MainUI when you have a lot of Homie channels)
  • Treat incoming empty string as UNDEF for most types
  • Update Home Assistant config abbreviations
  • Trigger Home Assistant devices to update their discovery information
  • Use a per-thing thing type for Home Assistant things (drastically increases performance of MainUI when you have a lot of Home Assistant channels)
  • Simplify Home Assistant channel IDs (only for newly discovered things)
  • Use AbstractStorageBasedTypeProvider for both Homie and Home Assistant (removes 2 minute delay before starting things after openHAB restarts, as well as eliminating warnings in the logs about missing types or invalid configurations).

To install, you must use Karaf console, since the MQTT binding is made up of multiple bundles:

update org.openhab.binding.mqtt.generic https://github.com/ccutrer/openhab-addons/releases/download/mqtt-homeassistant-20240119-1/org.openhab.binding.mqtt.generic-4.1.0-SNAPSHOT.jar
update org.openhab.binding.mqtt.homie https://github.com/ccutrer/openhab-addons/releases/download/mqtt-homie-20240119-1/org.openhab.binding.mqtt.generic-4.1.0-SNAPSHOT.jar
update org.openhab.binding.mqtt.homeassistant https://github.com/ccutrer/openhab-addons/releases/download/mqtt-homeassistant-20240119-1/org.openhab.binding.mqtt.homeassistant-4.1.0-SNAPSHOT.jar

Then restart openHAB.