Installing Qbus domotics controller

Hello,
Is someone already succeeded to implement his Qbus home controller into Home Assistant?
Qbus is a Belgium company who devide domotic items and they have an integration ready for openhab, but not sure for HA.
Thanks for any help.

1 Like

Hello Ronan,

QBUS sells the UBIE box, which integrates qbus with a number of internet based applications including Google home.
On the QBUS forum page you can also find instructions (in dutch) how to install your own QBUS- openhab interface (based on Raspberry), its not a plug and play solution, but if you are interested in experimenting its fun…
good luck

Hi,

Sorry for bringing up this old topic, but I just wanted to share that it is now possible to integrate Qbus with HA. Based on a lot of information found on the Qbus forum, I was able to create two addons (or docker images) which enables full interoperability between both systems (at least for the supported entities).

Why two addons? There is one that translates Qbus states and events to MQTT and the other one translates those to HA autodiscovery topics.

You can find all information here:

Hope this helps some of you! All feedback is welcome.

4 Likes

It works very good! It doesn’t seem to start automatically when you reboot, but that is not a big problem. Thanks! Been waiting for this for a while. Now to learn how Home Assistant works

1 Like

Such an awesome integration. I can now control my home with Siri! Thanks so much!
Some feedback… This might be a problem on my end, but I cant use the thermostats. They work in Qbus Control, but not in Home Assistant. Cant change the temp, and its always in heating mode.

Maybe another controller or thermostat can behave differently.

Please be sure the 3 addons are running: MQTT, QbusMQTT and QBHA. Try restarting QBHA and then QbusMQTT (in this order). Wait a few minutes. After that, change the temperature with Qbus and see if the change is reflected in HA.

If it still doesn’t work, set the log level of QBHA to DEBUG, restart it and change the temperature with Qbus. Check the logs for “Requesting state for thermostat ULxx”.

If things are still broken, then I would like to examine all logs. Enable “Qbus Capture” on the QBHA addon and restart. Then send the logs and the generated qbuscapture.log file of QBHA and the logs of QbusMQTT. You may send them privately if you don’t like all your entities being exposed.

Thomas, awesome! works as expected. Thanks for providing this.
Question: I have 2 qbus controllers; after a reboot / power cycle only 1 of the 2 controllers comes online. I have to manually dive into the qbus CLI on the Qbus mqtt gateway container to bring the second one online. Any ideas if you can activate all of them in the container startup?

Cool, someone with multiple controllers!

Which steps exactly (commands) do you take to bring the second controller online?

Hi @thomas_be, Thank you so much for taking the time to create the add ons! I’m just starting out with HA and I am VERY happy to be able to control the Qbus installation in our recently renovated home!

1 Like

I’ve come to the conclusion that Qbus can either talk to Home Assistant OR to my Ubie box. Sending commands work just fine, but it doesn’t get a response from Qbus, so there is no status update. This is too bad, since I mainly wanted to use HA in the background for advanced automatics.

I’m guessing this is more a problem with the Qbus controller, or what do you think?

I guess that is more or less the same behaviour as when you try to use the Qbus cloud website and the SMIII software at the same time. If you do, the Qbus cloud website shows exclamation marks on each output and all is disabled.

So sadly this looks like a limitation of the Qbus software. You might find some clues in the logs of QBUSMQTT, but I’m not sure to be honest. I can try to simulate this to be absolutely sure.

Maybe there is something you can try. Update to the latest version of System Manager and check if your controller has the latest firmware. Mine is on v3.13.

QBHA also updates the ethernet firmware, it should be on v6.1.3.

It seams that is working either with qbus app or home assistant. Thanks Thomas.
One question, I have a switch on my qbus setup that I use to open garage gate where I set up a specific delay on qbus side to avoid that the gate starts to open and stop immediately. I could not solve this in HA. Any idea?
Any idea to change the icons that comes from Qbus? They import with a kind of spark and if I change them doesn’t work like others ( bulbs for example)

For my understanding: in Qbus System Manager you have configured a delay on a switch, and when pressing the physical switch the garage won’t open/close immediately. But when pressing that same button in Home Assistant the garage does open immediately. I think that is the same behaviour as in System Manager, where if you test that switch, the delay isn’t applied.

For the icons, you should be able to configure the icons on the entities in Home Assistant. Navigate to the Settings > Devices & Services > Entities and lookup the Qbus entities. Then configure an icon for each entity.

Hi all, kind of tried installing all this MQTT QBUS2MQTT QBHA…and in a way I think I kind of succeeded. Dont ask me how I did it, but I can see some entities from my Qbus controller in HA.
I got 2 questions:

  1. I didn’t have to enter my username and password in HA, to read my controller
  2. When I make a button to control a light, the light doesnt respond…what am i doing wrong? (read something about the order in which the services need to be started?
    thx a lot

You don’t need to enter any credentials. The addon finds the controller and interacts with it. The only requirement is that it needs to be in the same network.

The QBUSMQTT addon should be (re)started last. Also, make sure you are not connected to your controller with System Manager.

1 Like

doesnt seem to work for me. and I dont get to see all the lights i have in my Qbus system. I can add a button in my dashboard, but when i turn it on, nothing happens

Just some sanity checks:

  • Make sure you don’t have the System Manager running on any computer.
  • Make sure both addons are started and start on boot.
  • Make sure you don’t have the addons installed on a test environment or something. There should only be one QBUSMQTT active.

If all of the above is true and it is still not working, you can send me the logs so I can investigate more thoroughly.

Please follow these steps to send me the logs, assuming you are using HAOS and installed the components as addons.

  1. In Home Assistant, go to Settings > Addons
  2. Click on QBHA addon and go to the Configuration tab.
  3. Set the Log level to DEBUG and click save.
  4. Restart the addon (from the Info tab)
  5. Go to the QBUSMQTT addon.
  6. Restart QBUSMQTT and wait 5 minutes.
  7. Now go to Settings > System > Logs.
  8. In the top right hand corner, select QBHA from the dropdown menu.
  9. Click the download icon and save the log file.
  10. Now select Qbus MQTT and download the log file.

When you have the logs, set the log level back to INFO (step 3).

Send the logs in private message.

Thank you for this nice addon!
One question - any idea how I can force HA to a re-scan the QBUS controller for new entities after modifying I/O in the QBus controller ?

THanks!
[EDIT] - just noticed this is updated automagically after some time - awesome !

1 Like

Hi, just new to HA as well. I have a QBus installation and have downloaded thomas_be’s add-ons but seems I’m stuck.

Main questions:

  • I’m unknown to docker but as far I understand there are 2 ways of doing this integration and docker is not mandatory?
  • I have now 2 addons in my HA: MQTT and QBHA. What’s the next step to see my Qbus outputs in HA?

Thank you!