De huidige generatie Qbus controllers kunnen niet rechtreeks communiceren via het MQTT protocol. Om toch een oplossing te bieden voor het grote aanbod aan IoT toepassingen hebben wij een gateway ontwikkeld.
Deze Gateway is een software laag die enerzijds communiceert met de controller en anderzijds berichten uitwisselt met een MQTT Broker.
Momenteel is deze software enkel beschikbaar voor Linux machines. Er zijn 2 manieren om de QbusMqttGw te installeren:
Dankzij @thomadddn kan de QbusMqttGW draaien onder docker. Zie https://github.com/thomasddn/qbusmqtt
We stellen een installatiescript ter beschikking die voor u alle nodige applicaties kan installeren.
De Gateway kan je terugvinden op github:
https://github.com/QbusKoen/qbusMqtt (Hier worden alle benodigde bestanden beschikbaar gemaakt)
https://github.com/QbusKoen/QbusMqtt-installer (Hier kan je een installatie script terugvinden)
De laatste link verwijst naar een install script, wat alles automatisch zal installeren.
Om het installerscript op uw toestel te kunnen downloaden heeft u git nodig:
sudo apt-get install git
Installatiescript downloaden:
git clone https://github.com/QbusKoen/QbusMqtt-installer
Geef executable rechten aan het installatiescript:
chmod +x QbusMqtt-installer/install.sh
En voer het script uit:
QbusMqtt-installer/./install.sh
' ____ _ ___ __ __ ____ _______ _______
/ __ \| | |__ \| \/ |/ __ \__ __|__ __|
| | | | |__ _ _ ___ ) | \ / | | | | | | | |
| | | | '_ \| | | / __| / /| |\/| | | | | | | | |
| |__| | |_) | |_| \__ \/ /_| | | | |__| | | | | |
\___\_\_.__/ \__,_|___/____|_| |_|\___\_\ |_| |_|
Release date 09/11/2022 by ks@qbus.be
Welcome to the Qbus2MQTT installer.
-- Checking Mosquitto...
- We didn't found an installation of Mosquitto. We reccomend using Mosquitto as MQTT server. Do you want us to install Mosquitto (1), use your own MQTT server (2) or continue without a MQTT server (3)? 1
-- Checking openHAB...
-We did not detected openHAB running on your system. Do you want to install openHAB? ' (y/n)? y
-- Checking node-RED...
-We did not found an installation of node-red. Do you want to install node-red? (y/n)y
-- Checking SMB...
-We did not detect Samba Share on your system. You don not really need SMB, but it makes it easier to configure openHAB things. Do you agree to install Samba share (y/n)? y
-Enter the username you want to use for the Qbus Client to connect to the MQTT server: Koen
-Enter the password you want to use for the Qbus Client to connect to the MQTT server:
*****************
****************************************************************************************************************
* Everything is set, we will start the installation. As they say: Now it is time to relax and drink a coffee... *
****************************************************************************************************************
* Updating your system.
* Installing dependencies.