Skip to main content

Python library for interfacing with opple mobile control light

Project description

This library (and its accompanying cli tool) is used to interface with opple mobile-control lights.

Supported Devices

All opple light with WIFI support (mobile control)


pip install pyoppleio

API Reference

class OppleLightDevice


  • is_onlinee [True, False] Readonly

  • power_on [True, False] Read/Write

  • brightness [10-255] Read/Write

  • color_temperature [2700-6500] Read/Write


  • __init__(ip)

  • update()


from pyoppleio.OppleLightDevice import OppleLightDevice

light = OppleLightDevice('')

if not light.is_online:
    print('light is offline')
elif not light.power_on:
    light.power_on = True
    light.brightness = 255

CLI Command

  • search lights

    oppleio search
  • get one light’s status

    oppleio get -a [light ip address]
  • turn on of turn off one light

    oppleio set -a [device ip address] -p on
    oppleio set -a [device ip address] -p off
  • set light’s brightness and color temperature

    oppleio set -a [device ip address] -b 200 -c 4200

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

pyoppleio-1.0.5.tar.gz (5.1 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page