Skip to main content

Control Philips WiZ Connected smart light bulbs

Project description

wizcon

Control Philips WiZ Connected smart light bulbs

Requirements

Installation

pip install wizcon

Usage

usage: wizcon [-h] [-si {1-32}] [-b {0-255}] [-v] IP {ON,OFF,SWITCH}

Control Philips WiZ Connected smart light bulbs

positional arguments:
  IP                    IP address of smart bulb
  {ON,OFF,SWITCH}       Command sent to the smart bulb

optional arguments:
  -h, --help            show this help message and exit
  -si {1-32}, --scene_id {1-32}
                        Set scene of smart bulb using scene ID
  -b {0-255}, --brightness {0-255}
                        Set brightness of smart bulb
  -rgb {0-255} {0-255} {0-255}, --rgb {0-255} {0-255} {0-255}
                        Set RGB color of smart bulb
  -v, --version         show program's version number and exit

Scene Table
1: "Ocean"
2: "Romance"
3: "Sunset"
4: "Party"
5: "Fireplace"
6: "Cozy"
7: "Forest"
8: "Pastel Colors"
9: "Wake up"
10: "Bedtime"
11: "Warm White"
12: "Daylight"
13: "Cool white"
14: "Night light"
15: "Focus"
16: "Relax"
17: "True colors"
18: "TV time"
19: "Plantgrowth"
20: "Spring"
21: "Summer"
22: "Fall"
23: "Deepdive"
24: "Jungle"
25: "Mojito"
26: "Club"
27: "Christmas"
28: "Halloween"
29: "Candlelight"
30: "Golden white"
31: "Pulse"
32: "Steampunk"

Examples

Turn smart bulb on:
wizcon 192.168.1.100 ON

Turn smart bulb off:
wizcon 192.168.1.100 OFF

Switch smart bulb between on and off states:
wizcon 192.168.1.100 SWITCH

Set scene to "Deepdive" using scene ID:
wizcon --scene_id 23 192.168.1.100 ON

Set brightness to 255 (max brightness):
wizcon --brightness 255 192.168.1.100 ON

Set smart bulb color to blue:
wizcon -rgb 0 0 255 192.168.1.100 ON

Tested bulbs

Model A19 (RGB) AE27 (White)
Firmware Version 1.22.0 1.17.1
Model ID 23007 23032

Related

Smart-Bulb-Control - Rainmeter skin for controlling smart light bulbs

Support

If you find an issue or have any feedback please submit an issue on GitHub.

If you would like to show your support donations are greatly appeciated via:

Authors

Robert Gomez, Jr.

Ariq Fadlan

Source code

https://github.com/rgomezjnr/wizcon

License

MIT

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

wizcon-0.3.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

wizcon-0.3.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file wizcon-0.3.0.tar.gz.

File metadata

  • Download URL: wizcon-0.3.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.7

File hashes

Hashes for wizcon-0.3.0.tar.gz
Algorithm Hash digest
SHA256 576a554a4374e6a0c0413d48e4d6e924dd366b1c5b1c03b47f89cfcb1e73e474
MD5 8e2ef733731713b5b51fb7b5ac2a0fdf
BLAKE2b-256 4d4f7610f6a5644cf97d577e83f723490ef056153638b8a09c2802b9c57dc03d

See more details on using hashes here.

File details

Details for the file wizcon-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: wizcon-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.7

File hashes

Hashes for wizcon-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 646fed71ef6ed026ca730a60100a4a345e1fca6cb6e704fc3dab7379344f02e7
MD5 2402ce4f9b77e5ba7e69b64d81c176dd
BLAKE2b-256 eaaacc3bf9d627566e2d8754accd8f7f23f056904192c57dd1b774dc92575ec2

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