WLED/wled00/wled_hue.h

16 lines
396 B
C
Raw Normal View History

#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;
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);
#endif //WLED_HUE_H