anetdev / python-lakeside

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python control for Eufy LED bulbs

A simple Python API for controlling LED bulbs from Eufy.

Example use

This will connect to a bulb and turn it on at 50% brightness and the hottest colour temperature.

import lakeside

bulb = lakeside.bulb(ip_address, access_code)
bulb.connect()
bulb.set_state(power=True, brightness=50, temperature=100)

The ip and access code can be obtained by doing:

import lakeside

devices = lakeside.get_devices(username, password)

where username and password are the credentials used in the Eufy app.

This is not an officially supported Google project.

About

License:Apache License 2.0


Languages

Language:Python 100.0%