Control Wiz Lights With CircuitPython #CircuitPython #AdafruitLearningSystem @Adafruit
Wiz smart lights and other brands that support the same controller app are readily available in stores and online. They’re cheaper than some smart lights of yesteryear and they don’t require any sort of base station beyond the WIFI access point. The lights provide several different ways to integrate and control them. This CircuitPython library uses a UDP connection over the WIFI network to send JSON data to the light which tell it take various actions.
Initialize the WizConnectedLight object with the IP address of your light, then access and set properties to get its current current status, and control the light.
With this library you can easily set up control and automation for your lights, use buttons or sensor inputs to turn the lights on or off. You could even fetch data from online APIs like sun rise and set times, or other weather information and use it control the brightness or temperature of the lights.
Content Summary:
– The guide demonstrates how to control Wiz smart lights using CircuitPython by sending JSON data over a UDP connection.
– It details initializing the WizConnectedLight object with the light’s IP address and using the CircuitPython library to set properties like RGB colors, light temperatures, and built-in scenes. The library also supports the ability to scan the local network to find lights and then set up a map and control them by MAC address instead of IP.
Adafruit Products Summary:
– Any CircuitPython device with built-in WIFI can be used to control Wiz lights, with several tested options available from Adafruit. Welcome to CircuitPython Guide
– The Adafruit Feather ESP32-S2 is depicted running a basic remote control on a breadboard utilizing push-buttons. Feather ESP32-S2 Product Link
– An alternative version of the remote control code uses a Neokey 1×4 QT instead of a breadboard and push-buttons. Neokey 1×4 QT Product Link
Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here: adafruit.com/editorialstandards
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.
Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7:30pm ET! To join, head over to YouTube and check out the show’s live chat and our Discord!
Python for Microcontrollers – Adafruit Daily — Python on Microcontrollers Newsletter: Open Hardware is In, New CircuitPython and Pi 5 16GB, and much more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi
EYE on NPI – Adafruit Daily — EYE on NPI Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey