Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.85 KB

README.md

File metadata and controls

53 lines (43 loc) · 1.85 KB

hass-gelight

What is it

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.

Requirement:

  • 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.

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.

Optional Requirement:

Documentation

Account API documentation can be found here (in Chinese).