Skip to content

Scene, Music, DIY Modes

Ben edited this page Jul 17, 2021 · 28 revisions

If your Govee light supports AWS or bluetooth control, it is possible to setup HomeKit scenes to use different scenes and modes that you have setup in the Govee app. This includes scenes, music mode and DIY modes that you have created.

Requirements

  • A model that supports AWS or bluetooth control:
    • For models that support AWS connection, you will need to enable the AWS connection in the configuration
    • For models that support bluetooth control, you will need to enable the bluetooth connection in the configuration
  • The Eve app on your iPhone to create the scenes that will then appear in the Home app

Step 1: Finding The Code

You will need to find a specific code that you can later enter into the configuration for each scene that you want to create. The method of finding this code differs whether it is an AWS code or a bluetooth code.

Finding an AWS code

  • Enable debug logging in the plugin settings, either for the entire plugin or for the specific accessory
  • Open the Govee app on your iPhone, but make sure your phone's bluetooth is disabled - to ensure the device is connected to wifi
  • If the device is already in the scene/mode you wish to use, then turn the light into colour mode to come out of the scene/mode
  • Now switch to the mode/scene you wish to use
  • Look in the Homebridge/HOOBS log, you should see an yellow entry appear like this:
    [Govee] [Device] the AWS code for this scene/mode is shown on the next line(s):
    MwUECAAAAAAAAAAAAAAAAAAAADo=
    
    or
    [Govee] [Device] the AWS code for this scene/mode is shown on the next line(s):
    owABBAGTBv/1AAIA/wAA//X/AjI=,owEA/wAA//UAAgD/AAD/9f8CAF0=,owL/AAD/9QACAP8AAP/w/woAAFM=,o/8A/wAAAAAAAAAAAAAAAAAAAKM=,MwUEhQAAAAAAAAAAAAAAAAAAALc=
    
  • Copy the entire code which is needed in the next step

Finding a bluetooth code

Finding a bluetooth code can be a little more challenging as the plugin cannot find this for you.

  • The following codes are taken from Govee-H6127-Reverse-Engineering and may or may not work for different models:

    0x01: Music
     0x00: Energic
     0x01: Spectrum(colors)
      0x000000: red, green, blue
      0xffffff: red, green, blue
     0x02: Rolling(colors)
      0x000000: red, green, blue
      0xffffff: red, green, blue
     0x03: Rhythm
    0x04: Scene
     0x00: Sunrise
     0x01: Sunset
     0x04: Movie
     0x05: Dating
     0x07: Romantic
     0x08: Twinkle (Formerly Blinking)
     0x09: Candlelight
     0x0f: Snowflake
     0x10: Energetic
     0x0a: Breathe
     0x14: Crossing
     0x15: Rainbow
    0x0a: DIY
     0x0b: Segments
      0x00:Left Half(1,2,3,4,5,6,7,8)
      0x00:Right Half (9,10,11,12,13,15)
    
    • For example, the plugin code needed for 'Romantic Scene' is 0x04,0x07 (0x04 for Scene and 0x07 for Romantic)
    • For example, the plugin code needed for 'Energic Music' is 0x01,0x00 (0x01 for Music and 0x00 for Energetic
    • Copy the entire code which is needed in the next step

I am unable to help finding other scenes or modes that aren't in this list. You can experiment with these codes or find an exact code yourself with some reverse engineering.

Step 2: Configure The Code

You can use the plugin settings within Homebridge/HOOBS UI to enter the code found above.

  • The plugin allows for two configured music modes, two configured scenes and two configured DIY modes