C By GE (Bluetooth - Native Google Home Support) - Integrate with Hassio?

What is listening on port 5000? I don’t have anything there. I am running the smart device access from Google but I am assuming that is now different than when you posted this. I just got a C by GE smart plug with a nest mini bundle and I want to see if I can control it in HA.

I found a way! It’s not the most responsive but it works well enough.

Idea: Automation triggers when slider is changed, takes input of the slider and sends command to Google Assist relay to change to x brightness.
Downside: Have to have a seperate button/script to turn lights off or change the color.

  1. Follow https://www.youtube.com/watch?v=CUc6NEEbbeo&t=111s
  2. Setup Helper, numeric, step size 10~, max value 100. (brightness values, adjustable by 10%)
  3. Setup Script
alias: OfficeLightsSlider
sequence:
  - service: rest_command.assistant_relay
    data:
      message: >-
        office lights {{ states('input_number.office') | int }} percent
        brightness
mode: single

  1. Setup Automation (changes brightness when the value is changed of the helper)
alias: '[Lights] OfficeLightsChanged'
description: ''
trigger:
  - platform: state
    entity_id: input_number.office
    from: '*'
    to: '*'
condition: []
action:
  - service: script.officelightsslider
    data: {}
mode: single

  1. Add slider to your dash for the Helper.
  2. Add off script / button to dash.
  3. Add color script/button to dash.
    image
    Profit.

Kinda late but i was able to get Home assistant to use C by GE by using node-red and alexa nodes

Hello! Could you post some instructions for how you got them working with node-red?

I linked the lights to my alexa account and used node-red and node-red-contrib-alexa-remote2

to control them. I also used home assistant node to create an entity.

So Node-red -> fake entity in home asssitant -> calls alexa device using node-red-contrib-alexa-remote2

This is great info, thank you!

I’m trying to figure it all out. My test switch doesn’t show up in home assistant. Any idea why that might be?Screenshot_20210301-155114_Home Assistant|690x310

i had a similar issue so i attached a timestamp and executed the switch. that seems to fix my issue

Does anyone trust this code? Sends the credentials to a Chinese website? :cold_face: See hass-gelight/getconfig.py at 0424b1d015b9451517390eeb9a10cab2f6b2b287 · yangqian/hass-gelight · GitHub

seems outdated

How did you get the CbyGEs integrated to HA?

I’m using Node-red and Alexa integration with module “alexa-remote-smarthome”


I know this is an older thread but I just found out and wanted to share that xlink (the Chinese site it’s directing you’re credentials to) is the API cloud server used by C by GE. If you look at the code used by unixpickle for his reverse engineered C by GE api, it directs you to https://api.gelighting.com. gelighting.com is obviously Cync’s website and api.gelighting.com directs you to xlink. I did I little web research to confirm all this true, but obviously I’m some random dude on the net so I’d recommend a little research yourselves vs taking my word for it, lol.

Anyhow, I’d also like to direct everyone to unixpickle’s api as they’ve seems to have gotten farther than anyone else I’ve found as to developing something that would make a good C by GE/HA integration

Hopefully someone will a better skill set that I possess finds it useful

If anyone is interested, I created an addon and integration that work together to control Cync dimmer switches. I only have dimmer switches, but I think the addon should work with non-dimming switches and cync light bulbs as well, although I have never tested them. The integration creates a light entity for each room you have set up in your Cync app. The addon monitors the state of these switches and updates the HA state. I use Google Assistant text commands to control the light switches, so you will need to connect your Cync account to Google Home. I recommend creating a whole new google account for this purpose. Here’s a link to the integration and addon:

https://github.com/nikshriv/cync_lights

2 Likes

I too have an addon I’ve used in the past (but don’t currently)

Uses https://github.com/juanboro/cync2mqtt as the underlying method of control.

Only works with BTLE Cync/C by GE lamps (static, tunable white, and RGB) - direct Bluetooth communication from the host to the Cync mesh.

Can be found at https://github.com/zimmra/cync2mqtt-docker, Follow juanboros instructions to initially get config file, then place it in /config/cync2mqtt/cync_mesh.yaml and run the addon

Obviously depends on mqtt broker and integration being setup

Check out the most recent version of my Cync lights integration:

The new version requires that you have at least one Wifi connected switch or plug in your system. It no longer uses Google Home to control the switches. It is capable of controlling both Wifi and bluetooth devices. I have also included access to the built in motion sensors on dimmers that include them. Try it out and let me know if there are any issues by posting on the Github page.

5 Likes

I just installed the integration and it’s working! This is great!

For my light bulb group, it takes about ~30 seconds to actually turn the lights on from when I flip the switch on my dashboard though. Otherwise, it works flawlessly for me.

I have been trying to connect my Cync bulbs to home assistant all day, but i am getting a few errors when i try to configure. I’ve been looking around and can’t find a solution to these problems. Maybe you can take a look?

2023-02-27 10:14:10.631 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration cync_lights which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-27 10:14:10.632 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-02-27 10:14:57.426 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry cync_lights_EMAIL for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 533, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 175, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 181, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2023-02-27 10:14:57.429 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry cync_lights_EMAIL for switch
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 533, in async_unload
    result = await component.async_unload_entry(hass, self)
  File "/usr/src/homeassistant/homeassistant/components/switch/__init__.py", line 89, in async_unload_entry
    return await component.async_unload_entry(entry)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 181, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!

Can’t control bt bulbs. Only wofo plug in my setup.

3x bt bulbs and 1 wifi/bt plug, I have an issue open but haven’t received a response.

Looking to use this, but the integration seems abandoned.

I created a lcoal only Cync controller. It does require DNS redirection and MQTT. See GitHub - baudneo/cync-lan: Local async MQTT controller for Cync / C by GE smart devices - designed for home assistant.

1 Like