All Projects → stunes → esp32_lamp

stunes / esp32_lamp

Licence: other
Control Philips Hue lights with an ESP32

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to esp32 lamp

hass-hue-icons
Additional vector icons for home assistant to model Philips Hue bulbs and fixtures.
Stars: ✭ 161 (+973.33%)
Mutual labels:  philips-hue, hue-lights
HueLightDJ
Hue Light DJ using Hue Entertainment API
Stars: ✭ 54 (+260%)
Mutual labels:  philips-hue, hue-lights
hueplusplus
A simple C++ library to control Philips Hue lights on Linux, MacOS, Windows, Espressif ESP32 SDK and Arduino. Full documentation at
Stars: ✭ 48 (+220%)
Mutual labels:  philips-hue, hue-lights
go-hue
Wrapper API and cli examples in golang for interacting with lights via philips hue hub HTTP API.
Stars: ✭ 57 (+280%)
Mutual labels:  philips-hue, hue-lights
Hue
💡 A Philips Hue library written in Swift, using Combine framework
Stars: ✭ 16 (+6.67%)
Mutual labels:  philips-hue, hue-lights
yetanotherhueapi
A Java library for controlling Philips Hue lights. Available from the Maven Central.
Stars: ✭ 54 (+260%)
Mutual labels:  philips-hue, hue-lights
HueControl
Java-based framework for working with the Phillips Hue system
Stars: ✭ 14 (-6.67%)
Mutual labels:  philips-hue, hue-lights
wifiaudio-tx-firmware
ESP32 based wifi auio transmitter firmware
Stars: ✭ 31 (+106.67%)
Mutual labels:  esp32
esp32-xbee
ESP32 XBee UART Interface
Stars: ✭ 48 (+220%)
Mutual labels:  esp32
MySQL MariaDB Generic
This MySQL_MariaDB_Generic library helps you connect your boards directly to a MySQL / MariaDB server, either local or cloud-based, so that you can store / retrieve data to / from the server. Supported boards are ESP8266/ESP32, WT32_ETH01 (ESP32 + LAN8720A), nRF52, SAMD21/SAMD51, STM32F/L/H/G/WB/MP1, Teensy, SAM DUE, Mega, RP2040-based boards, P…
Stars: ✭ 35 (+133.33%)
Mutual labels:  esp32
CoopCommand
CoopCommand aims to increase automation in small scale egg-laying chicken flocks for the hobby farmer. Final product aims to have ease of installation and use for non-technical users.
Stars: ✭ 37 (+146.67%)
Mutual labels:  esp32
esphome-devices
ESPHome Device Configurations Repository - A database of user submitted configurations for a variety of devices which can be flashed to run ESPHome.io firmware.
Stars: ✭ 71 (+373.33%)
Mutual labels:  esp32
low-power-wifi
Experiments in low-power-wifi on esp8266, esp32, and ...
Stars: ✭ 35 (+133.33%)
Mutual labels:  esp32
ESP32-3DPrinter-Bridge
A network <=> ESP32 <=> USB (FTDI) <=> 3D printer Bridge
Stars: ✭ 30 (+100%)
Mutual labels:  esp32
sra-board-component
ESP-IDF component for SRA Board
Stars: ✭ 34 (+126.67%)
Mutual labels:  esp32
home-assistant-opentherm-thermostat
Home Assistant OpenTherm Thermostat
Stars: ✭ 26 (+73.33%)
Mutual labels:  esp32
husarnet
Husarnet is a Peer-to-Peer VPN to connect your laptops, servers and microcontrollers over the Internet with zero configuration.
Stars: ✭ 128 (+753.33%)
Mutual labels:  esp32
arduino-ble-gadget
Create your own Do-It-Yourself BLE enabled sensor gadget on the ESP32 platform.
Stars: ✭ 31 (+106.67%)
Mutual labels:  esp32
ESPNtpClient
High accuracy NTP library for ESP32 and ESP8266
Stars: ✭ 81 (+440%)
Mutual labels:  esp32
wac-esp
Web Assembly Interpreter for ESP32 family of micro controllers running the ESP-IDF development framework, based on the great work at kanaka/wac
Stars: ✭ 66 (+340%)
Mutual labels:  esp32

esp32_lamp

esp32_lamp lets you toggle Philips Hue lights with a pushbutton and an ESP32 microcontroller.

It works on a simple model: you specify a room and a scene. When you press the button, if any lights in that room are on, they all get turned off; if none of them are on, they get set to the specified scene.

Getting Started

You'll need to create a file called secret.h with a few #define statements. Define all of these as string literals:

#define SSID "Your Wi-Fi SSID"
#define PWD "Your Wi-Fi password"
#define BRIDGE "IP address or hostname of your Hue bridge"
#define API_USERNAME "Username for Hue API"
#define ROOM "ID of the room to control"
#define SCENE "ID of the scene to set lights to"

esp32_lamp has these dependencies:

In esp32_lamp.ino, adjust INPUT_PIN and LED_PIN for your ESP32 board. INPUT_PIN must support INPUT_PULLUP mode.

Attach a normally-open pushbutton between INPUT_PIN and ground on your ESP32 board. Plug in the board and program it. When the LED stops blinking, it's connected. Push the button to toggle the state of the lights in the specified room.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].