Skip to main content

A Govee API Wrapper for Python

Project description

GoveePy

GoveePy is a WIP Python wrapper for the Govee API.

Table of Contents

Installation

Installation is easy just do
pip install GoveePy

Usage

from govee import Govee

g = Govee("API-KEY")
g.get_devices()

device = g.get_device_by_name("Living Room Light")
if device is None:
    exit()

device.turn_on()
device.set_brightness(100)

You can also use the Local API.
Make sure you have enabled it for the light you want to use.

from govee import GoveeLocal

g = GoveeLocal()
g.get_devices()
device = g.get_device_by_ip("192.169.0.143")

if device is None:
    exit()

device.turn_on()
device.set_brightness(100)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GoveePy-0.4.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file GoveePy-0.4.tar.gz.

File metadata

  • Download URL: GoveePy-0.4.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for GoveePy-0.4.tar.gz
Algorithm Hash digest
SHA256 29609dbe19919e03a8610643a120aa2d7ccdd7ba0a1f1092b6d3cd51c6a8ef82
MD5 6d4e95c59d81f6b61e35eb61b7bb7f2f
BLAKE2b-256 cac916fa73a0ed24effef865339c0d15789427068c575ec09be78d824a7e0f55

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page