23#ifndef INCLUDE_HUEPLUSPLUS_HUE_ENTERTAINMENT_MODE_H
24#define INCLUDE_HUEPLUSPLUS_HUE_ENTERTAINMENT_MODE_H
71 bool setColorRGB(uint8_t light_index, uint8_t red, uint8_t green, uint8_t blue);
Bridge class for a bridge.
Definition Bridge.h:139
Class for Hue Entertainment Mode.
Definition EntertainmentMode.h:37
bool connect()
Connect and start streaming.
Definition EntertainmentMode.cpp:147
Bridge * bridge
Associated bridge.
Definition EntertainmentMode.h:80
bool disconnect()
Disconnect and stop streaming.
Definition EntertainmentMode.cpp:272
uint8_t entertainment_num_lights
number of lights in entertainment mode group
Definition EntertainmentMode.h:84
bool update()
Update all set colors by setColorRGB.
Definition EntertainmentMode.cpp:299
std::vector< uint8_t > entertainment_msg
buffer containing the entertainment mode packet data
Definition EntertainmentMode.h:83
~EntertainmentMode()
Destroy the Entertainment Mode object.
Definition EntertainmentMode.cpp:137
std::unique_ptr< TLSContext > tls_context
tls context
Definition EntertainmentMode.h:86
bool setColorRGB(uint8_t light_index, uint8_t red, uint8_t green, uint8_t blue)
Set the color of the given light in RGB format.
Definition EntertainmentMode.cpp:278
Group * group
Associated group.
Definition EntertainmentMode.h:81
Class for Groups of lights.
Definition Group.h:42
Namespace for the hueplusplus library.
Definition Action.h:28