2020-03-25 09:00:55 +01:00
|
|
|
#ifndef WLED_HUE_H
|
|
|
|
#define WLED_HUE_H
|
|
|
|
/*
|
|
|
|
* Sync to Philips hue lights
|
|
|
|
*/
|
2020-03-25 10:14:23 +01:00
|
|
|
#include <Arduino.h>
|
2020-03-25 10:43:12 +01:00
|
|
|
class AsyncClient;
|
2020-03-25 09:00:55 +01:00
|
|
|
|
|
|
|
void handleHue();
|
|
|
|
void reconnectHue();
|
2020-03-25 10:14:23 +01:00
|
|
|
void onHueError(void* arg, AsyncClient* client, int8_t error);
|
|
|
|
void onHueConnect(void* arg, AsyncClient* client);
|
|
|
|
void sendHuePoll();
|
|
|
|
void onHueData(void* arg, AsyncClient* client, void *data, size_t len);
|
2020-03-25 09:00:55 +01:00
|
|
|
|
|
|
|
#endif //WLED_HUE_H
|