This Home assistant custome components works for C by GE Smart Lights. E.g. https://www.gelighting.com/smart-home/led-bulbs
Tested it on Soft white and tunable white bulbs. It may work on Full color. GE lights are inexpensive because the Smart light is not Smart enough... You are supposed to locally connect to the GE Mesh through Bluetooth. Only one device can connect. So you have to choose to between the GE app or Google home to control them.
This code use the Home Assistant as the Hub to control GE lights so all your smart devices could be used to connect to the light via the Hub.
- Install bluepy and dimond.
Note this might be done automatically by home assistant. The libraries are installed to ~/.homeassistant/deps/lib/python3.9/site-packages/. Bluepy had a bug in described in IanHarvey/bluepy#239 on aarch64. Please mannually fix it by applying the patch https://github.com/IanHarvey/bluepy/files/3800265/0001-Bugfix-of-high-CPU-usage.patch.txt to the file bluepy-helper.c and run make under the directory bluepy. Othewise, you might notice bluepy-helper use 100% CPU resources.
- Register a C by GE account and add your devices to C by GE app.
- Extract device info using steps from https://github.com/google/python-laurel.
- Run python3 getconfig.py
- Example output:
light:
- platform: gelight
password: %s
username: %s
lights:
- id: %s
mac: %s
name: %s
type: 17
- id: %s
mac: %s
name: %s
type: 20
- paste the output to configuration.yaml.
- Circadian Lighting https://github.com/claytonjn/hass-circadian_lighting
Account API documentation can be found here (in Chinese).