Python plugin for Domoticz to add integration with gBridge project
You have two options:
cd domoticz/plugins
git clone https://github.com/giejay/domoticz-gbridge-plugin.git
Example of a hosted setup:
Example of a local setup:
Example of MQTT Client Gateway configuration:
For this plugin to know which devices it may add to the gBridge, it checks the description of the device.
Description: gBridge
is making sure the device is added with its Domoticz name.
Description: gBridge:Another friendlyName
is creating a device in gBridge with "Another friendlyName".
After you have configured your devices, you have two choices. The first one is going to the Hardware page again, select your gBridge hardware and click "Update".
The second option, if you have gBridge linked to your Google account already, is asking Google: "Sync my devices". This will trigger a MQTT sync message for which the plugin will start a sync cycle. Finally check the logging if the devices are added successfully to gBridge (or visit the device page of gBridge)
Follow the instructions to connect to Google: https://doc.gbridge.kappelt.net/html/firstSteps/gettingStarted.html#connect-google-assistant After you added gBridge to your Google Home/Assistant, ask Google (again) to "Sync my devices". Then say: Turn on x light and see your light shining. If something went wrong, check for messages in the Domoticz log regarding gBridge. If it doesn't make a lot of sense, create an issue and I will help asap.
cd domoticz/plugins/gbridge
git pull
The onoff, brightness, scenes and temperature traits are supported, this means the following Domoticz devices can be controlled: