MQTT topics refactoring (sub-properties, set) to better compatibility, modify default topic prefix from /myhome to myhome

This commit is contained in:
2019-03-08 03:55:59 +03:00
parent 515728207f
commit cd32554175
5 changed files with 91 additions and 16 deletions

View File

@@ -19,6 +19,17 @@ e-mail anklimov@gmail.com
*/
#include "options.h"
#define S_SET 1
#define S_TEMP 2
#define S_MODE 3
#define S_SETPOINT 4
#define S_POWER 5
#define S_VOL 6
#define S_HEAT 7
#define S_CSV 8
#define S_RGB 9
#define S_RPM 10
#define CH_DIMMER 0 //DMX 1 ch
#define CH_RGBW 1 //DMX 4 ch
#define CH_RGB 2 //DMX 3 ch