Skip to main content

Python package for interacting with Yeelight Sunflower bulbs

Project description

#yeelightsunflower

[![Build Status](https://travis-ci.org/lindsaymarkward/python-yeelight-sunflower.svg?branch=master)](https://travis-ci.org/lindsaymarkward/python-yeelight-sunflower)

yeelightsunflower is a Python package for interacting with Yeelight Sunflower light bulbs.

Product details for these bulbs can be found at the following website (but note that they may not be available any more): https://www.yeelight.com/en_US/product/yeelight-sunflower

This library was written primarily to work with Home Assistant: https://home-assistant.io

Communication is via TCP commands, e.g. Sending GL,,,,0,rn to the IP address of the Yeelight hub gets the current state of all lights and would return something like: GLB 143E,1,1,22,255,10,10,0,0;287B,1,1,64,255,10,10,0,0;0001,1,1,0,255,10,10,0,0; Sending C 143F,255,0,255,50,rn would set the light identified by 143F to magenta at 50% brightness.

The library wraps these commands in a form suitable as a platform for the Home Assistant light component, and could be used by other modules.

This library does not implement the SSDP hub identification that Yeelight Sunflower hubs support.

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

sonoff-0.0.3.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file sonoff-0.0.3.tar.gz.

File metadata

  • Download URL: sonoff-0.0.3.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sonoff-0.0.3.tar.gz
Algorithm Hash digest
SHA256 502a3b48d37e592c746a94d4b38113f00f4dffc558f329106f7e10f0f06134e9
MD5 9d3978899d8933c057c44b9eb01a84d1
BLAKE2b-256 c8ea0c040a988a25532ed622354a921ea02ddc427027217abe968cbaeed8386b

See more details on using hashes here.

Supported by

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