Skip to content

Home assistant custom component to control C by GE smart light bulb locally via Bluetooth

License

Notifications You must be signed in to change notification settings

yangqian/hass-gelight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Home assistant custom component to control C by GE smart light bulb locally via Bluetooth

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages