Skip to content

obvRedwolf/govee-dynamic-lights

Repository files navigation

Govee Dynamic Lights

A Spicetify extension that dynamically sets your Govee RGB lights to match the current album cover color using the WIFI API.

Showcase

gif showing govee lights changing realtime to spotify album cover.

settings options screen

Prerequisites

  • Spicetify installed on your Spotify client.
  • Govee WIFI-capable RGB lights that can connect to Govee's API.
  • A Govee API Key.
  • Your device(s) model name and device(s) ID.
    • To find these values, follow these steps:
      1. Go to https://apirequest.io/.
      2. Under Method & URL, set:
        • Method: GET
        • URL: https://openapi.api.govee.com/router/api/v1/user/devices
      3. Under Headers, add these two headers:
        • First header:
          • Key: Content-Type
          • Value: application/json
        • Second header:
          • Key: Govee-API-Key
          • Value: <your API key>
      4. Click the blue Send button
      5. On the right side under the Response tab, make sure the status is 200 OK.
    • In the JSON response under Response, each device object will include "device" (your device ID) and "model" (your device model). Note these as you'll need these later.

Setup Instructions

  1. Install the extension using the Spicetify Marketplace
  2. Configure the extension:
    • Go to settings by clicking on your profile picture in the top right corner and clicking Settings
    • Scroll down until you see Setup Govee Lights
    • Fill in the required information:
      • Govee API Key: Your Govee API Key. It should look something like XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX.
      • Devices: A JSON array of all of your Govee devices without new lines.
        • It should look something like this:
          [{"model":"HXXXX","id":"XX:XX:XX:XX:XX:XX:XX:XX"},{"model":"HYYYY","id":"YY:YY:YY:YY:YY:YY:YY:YY"}, ...]
          
        • Replace each "model" and "id" value with your device's info.

Warning

Incorrect values will prevent the extension from reaching your devices.

Thanks to

About

A Spicetify extension that changes your Govee lights based on the album cover color.

Topics

Resources

Stars

Watchers

Forks

Contributors