As we know, Home Assistant has a huge ecosystem of integrations — far more than openHAB currently supports. Many of us quietly run HA alongside openHAB just to fill those gaps.
So I wrote a new binding: Home Assistant Link (HassLink).
I’m looking for people who already use Home Assistant to augment openHAB’s device support and would like to help test this binding, try it with real setups, and report any issues or edge cases.
Plan:
Once this is somewhat stable, I plan to submit it to the openhab project to become an official addon
Status:
Discovery works, updates flow, commands round‑trip, and most entity types are supported.
But I don’t have a lot of devices on my Home Assistant instance, so my testing has been limited. So far I have tested:
Navimow HA integration — the HA integration shows the map image!
Bambulab Integration with P1S — toggle chamber light, see status, see camera
Mammotion Mower integration
I’m specifically looking for people who have more diverse HA setups and can help validate the binding across a wider range of integrations and entity types.
Right now I use the matterbridge HA plug-in and the OH matter binding to link HA entities to OH. A more native and direct approach is exciting. I should have some time to test this in the next week.
I also use Matterbridge, as well as HTTP binding and Webhooks. This binding seems really interesting. HA Integrations tested and working below. Most of these are just reading sensors and status updates, so mostly one way. But tested some switches in Fully Kiosk and they worked fine.
Any questions / suggestions / comments on any aspect
Right now I am contemplating changing the channel name for the sensor attributes. At the moment they are all prefixed with #attr_XXXX - I want to remove the attr_ prefix.
The channel naming change will be a “breaking” change, hopefully not much of an inconvenience.
This is your Inbox entries? Nice! I only have < 20.
Is it discovering anything that shouldn’t be discovered?
on first glance it also brings in all HA automations. I don’t think it should.
It also fills in OH log with the discovered entities on every update, for example, on each weather update in HA. I don’t think its necessary… I did not try to see what if I ignore the weather entities, will it re-discover them…
Better channel label inference. Getting this done right is important in getting the automatic “Add Points” to generate nice item names.
Removed attr_ prefix previously set on sensor attributes. After further consideration, adding the prefix is unnecessary and only serves as added noise.
For the “rediscovered” entities, what kind of log, all entities are being re-discovered and show up in the log again with the same: Discovery Result UID
Thanks! I wasn’t aware of this entity type, so they are currently supported under “GenericType”, I’m curious to see the channels (thing YAML Definition) of this Thing.
I think they should be included and can be quite useful. It would allow openhab to trigger them manually, and also get notifications (channel trigger) in openhab when the HA automations run.
How many of such automation entities / Things are discovered on your system?
I’ve just done some very basic install and config so far, but already this is an excellent binding and I’m going to swap out several of the devices I have connected through matterbridge because it has a significant advantage over the matter connection: it is not limited by matter endpoint types.
Quick thoughts after initial testing:
I’ve got three devices in HA with door sensors. These currently come up as switch channels but would be more accurate as contact channels.
Yes, it’s a pretty simple matter to link a contact to a switch channel (although since 5.0, I think, that has required a transform profile) but it’s not quite as beginner friendly.
One of the features of the matterbridge HA plugin that is most brilliant, as far as I’m concerned, is robust filtering of all the HA bits, especially the ability to set up import whitelists based on HA labels (tags). This works at the device and entity level. For example, I don’t need all 70+ entities from my 3D printer to become channels, so I can just add an OH label to the 6 entities I need and my printer thing only has those 6 channels.
My 3D printer has at least a few channels that do not update properly. I’ve got a print running right now. Trace logs show that OH is properly receiving the updates to various print related channels:
Progress should be a percentage value, and duration a time (s) value. Both those channels came up as string type in the thing, so I OH auto-link string Items to these channels, but the items are not updating with the incoming HA data: