Skip to content

Commit 40a0d69

Browse files
committed
added SINRICPRO_CAMERA_URL
1 parent cb5e66e commit 40a0d69

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/SinricProConfig.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,30 @@
2525
#define WEBSOCKET_SSL
2626
#endif
2727

28+
#ifndef SINRICPRO_SERVER_URL
2829
#define SINRICPRO_SERVER_URL "ws.sinric.pro"
30+
#endif
31+
32+
#ifndef SINRICPRO_SERVER_PORT
2933
#define SINRICPRO_SERVER_PORT 80
34+
#endif
35+
36+
#ifndef SINRICPRO_SERVER_SSL_PORT
3037
#define SINRICPRO_SERVER_SSL_PORT 443
38+
#endif
39+
40+
#ifndef SINRICPRO_CAMERA_URL
41+
#define SINRICPRO_CAMERA_URL "camera.sinric.pro"
42+
#endif
3143

3244
// UDP Configuration
45+
#ifndef UDP_MUTLICAST_IP
3346
#define UDP_MULTICAST_IP IPAddress(224,9,9,9)
47+
#endif
48+
49+
#ifndef UDP_MULTICAST_PORT
3450
#define UDP_MULTICAST_PORT 3333
51+
#endif
3552

3653
// WebSocket Configuration
3754
#ifdef DEBUG_WIFI_ISSUE
@@ -43,6 +60,14 @@
4360
#define WEBSOCKET_RETRY_COUNT 2
4461

4562
// EventLimiter Configuration
63+
#ifndef EVENT_LIMIT_STATE
4664
#define EVENT_LIMIT_STATE 1000
65+
#endif
66+
67+
#ifndef EVENT_LIMIT_SENSOR_STATE
4768
#define EVENT_LIMIT_SENSOR_STATE EVENT_LIMIT_STATE
69+
#endif
70+
71+
#ifndef EVENT_LIMIT_SENSOR_VALUE
4872
#define EVENT_LIMIT_SENSOR_VALUE 60000
73+
#endif

0 commit comments

Comments
 (0)