# Guide to Connecting gBridge to Homey for Google Assistant

**URL:** <https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234>\
**Category:** Devices\
**Created:** [February 15, 2019, 3:04pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234 "2019-02-15T15:04:24Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![Camelen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/camelen/32/9613_2.png) [@Camelen](https://community.homey.app/u/Camelen)\
**Post date:** [March 30, 2019, 9:49pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/222 "2019-03-30T21:49:39Z")

</div>

I will be installing some shades in the near future so I’ll look into getting them to work. I’m not one of the developers though but I hope I can at least find out if I can get it to work and the reason if I can’t.

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [March 30, 2019, 10:29pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/223 "2019-03-30T22:29:55Z")

</div>

Thanks. Been trying some stuff, but couldn’t get it to work yet…

---

<div class="post-metadata">

**Author:** ![Camelen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/camelen/32/9613_2.png) [@Camelen](https://community.homey.app/u/Camelen)\
**Post date:** [March 31, 2019, 9:05am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/224 "2019-03-31T09:05:38Z")

</div>

I tried to add a colored light to gBridge just to see if I could get it to work, and there seems to be a problem.

In gBridge we have three choices of color temperature settings  
RGB, JSON and Temperature.

The problem seems to be that none of these are the same format as the one Homey uses to speak.  
Homey seems to use HSV (which I hadn’t heard of before). If we manually add HSV to the “set” parameter it changes to that value, however in my case only temporarily then after two seconds it changes to something else, not the value it had before but it seems to add 40 or something to the “S” value of HSV. I haven’t tried to figure out why.

Theoretically one can use Node RED to convert RGB to HSV. But as it is right now I don’t think we’ll get this to work without something in between to convert the values. I have no idea if there’s any standardization of this value.

The “Temperature” option of gBridge seems to have a bug. When I try to use this instead of RGB or JSON it won’t even publish the setting to the correct topic but use the default one no matter what I type in the setting. I don’t think that this would help us even if the bug wasn’t there because this doesn’t use HSV either but some other variant.

Anyway one can only hope that a standard either exists or will be implemented in the Homie convention because this is what happens if everyone can take their own approach.

@HarriedeGroot do you have any comments about this? Is there a “correct” way to implement color temperature of devices?

@pkappelt Heads up for the bug I encountered regarding Color Setting (Temperature). This did not happen to any of the other Color Settings.

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [March 31, 2019, 10:35am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/225 "2019-03-31T10:35:25Z")

</div>

@Camelen The Hub has an option to set the color format to RGB (under custom protocol). I didn’t test this thoroughly (read may not work). It expects a color format: “R,G,B”.  
There is no separate topic for ‘temperature’ (yet). It’s a known shortcoming and also needed for HA light devices…  
Homey scales all values between 0 and 1.  
Take a look at the [HomeKit implementation](https://github.com/swttt/com.swttt.homekit/blob/master/lib/devices/light.js) for the correct formula.

---

<div class="post-metadata">

**Author:** ![Camelen](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/camelen/32/9613_2.png) [@Camelen](https://community.homey.app/u/Camelen)\
**Post date:** [March 31, 2019, 10:52am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/226 "2019-03-31T10:52:20Z")

</div>

Thank you for the answer! A bit dumb that I didn’t check the settings first 😐

I might test it but as far as I remember from my last test rgb from gBridge had the format ‘RRGGBB’ so it probably won’t work.

I don’t have an opinion myself if this should be fixed and if so how to do it and by whom. So I’m just gonna leave it like this.

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [April 3, 2019, 8:36am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/227 "2019-04-03T08:36:34Z")

</div>

Hi Peter,

Will TV and Amplifier added as device in the near future? Would be great to set volume- and channel up and -down.

---

<div class="post-metadata">

**Author:** ![KonradWalsh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/konradwalsh/32/147_2.png) [@KonradWalsh](https://community.homey.app/u/KonradWalsh)\
**Post date:** [April 3, 2019, 8:45am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/228 "2019-04-03T08:45:20Z")

</div>

Better to maybe open a topic in [gbridge.io](http://gbridge.io)  
Peter isn’t very active…

Although he’s not active on his own site either…  
@pkappelt

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [April 8, 2019, 3:09pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/230 "2019-04-08T15:09:48Z")

</div>

Stopped working totally over here. Can’t figure out what it is.

---

<div class="post-metadata">

**Author:** ![Rodestier](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rodestier/32/8574_2.png) [@Rodestier](https://community.homey.app/u/Rodestier)\
**Post date:** [April 9, 2019, 10:20am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/231 "2019-04-09T10:20:10Z")

</div>

Also try to install and when i want to add device in gbridge website i have an error.

An error occured

- The traits field is required.

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [April 9, 2019, 10:25am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/232 "2019-04-09T10:25:58Z")

</div>

That’s because you have to select a capability for your device (on/off, dim, …)

---

<div class="post-metadata">

**Author:** ![Rodestier](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rodestier/32/8574_2.png) [@Rodestier](https://community.homey.app/u/Rodestier)\
**Post date:** [April 9, 2019, 10:37am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/233 "2019-04-09T10:37:55Z")

</div>

yes i dit fill in all de fields and still the error

---

<div class="post-metadata">

**Author:** ![Rodestier](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rodestier/32/8574_2.png) [@Rodestier](https://community.homey.app/u/Rodestier)\
**Post date:** [April 9, 2019, 10:39am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/234 "2019-04-09T10:39:33Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/2befb7ed443af798812a20c1208988199c8dc841.png)

---

<div class="post-metadata">

**Author:** ![Rodestier](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rodestier/32/8574_2.png) [@Rodestier](https://community.homey.app/u/Rodestier)\
**Post date:** [April 9, 2019, 10:41am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/235 "2019-04-09T10:41:43Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/0/03995a92424afeb954fdf469aa97f18cd9d994a8.png)

And when i push add tis is the problem

---

<div class="post-metadata">

**Author:** ![KonradWalsh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/konradwalsh/32/147_2.png) [@KonradWalsh](https://community.homey.app/u/KonradWalsh)\
**Post date:** [April 9, 2019, 10:59am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/236 "2019-04-09T10:59:44Z")

</div>

Seems since the last server upgrade about 14 days ago things didn’t go well. @pkappelt has stopped even responding on his own forum… I hope he’s ok

---

<div class="post-metadata">

**Author:** ![Rodestier](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rodestier/32/8574_2.png) [@Rodestier](https://community.homey.app/u/Rodestier)\
**Post date:** [April 9, 2019, 11:20am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/237 "2019-04-09T11:20:46Z")

</div>

I hope so, but I would like to link my house to mqtt and I don’t know how else. could you help?

---

<div class="post-metadata">

**Author:** ![Stefan\_Wempe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_wempe/32/9572_2.png) [@Stefan\_Wempe](https://community.homey.app/u/Stefan_Wempe)\
**Post date:** [April 9, 2019, 11:49am UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/238 "2019-04-09T11:49:45Z")

</div>

Works like a charm!

Without experience in mqtt it took me some time to set-up but this is worth the effort!

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [April 9, 2019, 12:24pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/239 "2019-04-09T12:24:13Z")

</div>

Can someone give me screenschot from the MTTQ hub settings. Worked ok but i did yesterday a re-install…

---

<div class="post-metadata">

**Author:** ![Stefan\_Wempe](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stefan_wempe/32/9572_2.png) [@Stefan\_Wempe](https://community.homey.app/u/Stefan_Wempe)\
**Post date:** [April 9, 2019, 12:40pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/240 "2019-04-09T12:40:12Z")

</div>

These are my settings for HUB. i do utilize zone inclusion. thats up to you.

Running: Yes  
Protocol: Custom  
Topic: gBridge/u[USERID]  
Include Class: No  
Include Zone: Yes  
Normalize: Yes  
Percentage format: int 0…100  
Color format HSV  
Broadcast device changes: Yes  
HA Discovery: No  
Broadcast system state: No  
Commands: No  
Send birth and last will: No

---

<div class="post-metadata">

**Author:** ![Rodestier](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rodestier/32/8574_2.png) [@Rodestier](https://community.homey.app/u/Rodestier)\
**Post date:** [April 9, 2019, 3:33pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/241 "2019-04-09T15:33:14Z")

</div>

Pleace help i have te MQTT hub, MQTT client and MQTT broker running.  
On the website gBridge i cant add new device this is all what is holding me down.

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [April 9, 2019, 4:05pm UTC](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234/242 "2019-04-09T16:05:37Z")

</div>

> [@Stefan\_Wempe](#):
>
> These are my settings

Isn’t working grrr. Had it working fine with homie convention, but stopped working suddenly. Device states are published, but can’t change them them through google home

[Previous page](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234.md?page=11)

[Next page](https://community.homey.app/t/guide-to-connecting-gbridge-to-homey-for-google-assistant/9234.md?page=13)
