thermferm/thermferm.h

changeset 506
cdcd07bbee30
parent 500
5aa914eb644e
child 510
2da3d3340403
equal deleted inserted replaced
504:862de87f9f89 506:cdcd07bbee30
17 #include <sys/types.h> 17 #include <sys/types.h>
18 #include <sys/socket.h> 18 #include <sys/socket.h>
19 #include <sys/stat.h> 19 #include <sys/stat.h>
20 #include <sys/time.h> 20 #include <sys/time.h>
21 #include <sys/un.h> 21 #include <sys/un.h>
22 #include <sys/utsname.h>
22 #include <time.h> 23 #include <time.h>
23 #include <fcntl.h> 24 #include <fcntl.h>
24 #include <syslog.h> 25 #include <syslog.h>
25 #include <unistd.h> 26 #include <unistd.h>
26 #include <errno.h> 27 #include <errno.h>
192 193
193 #define MQTT_FLAG_SP 0x0001 /* Show setpoint values */ 194 #define MQTT_FLAG_SP 0x0001 /* Show setpoint values */
194 #define MQTT_FLAG_AIR 0x0002 /* Show air temperature */ 195 #define MQTT_FLAG_AIR 0x0002 /* Show air temperature */
195 #define MQTT_FLAG_BEER 0x0004 /* Show beer temperature */ 196 #define MQTT_FLAG_BEER 0x0004 /* Show beer temperature */
196 #define MQTT_FLAG_MODE 0x0008 /* Show unit mode */ 197 #define MQTT_FLAG_MODE 0x0008 /* Show unit mode */
197 #define MQTT_FLAG_PROFILE 0x0010 /* Show profile settings */ 198 #define MQTT_FLAG_HEATER 0x0010 /* Show heater state */
198 #define MQTT_FLAG_PERCENT 0x0020 /* Show profile percent */ 199 #define MQTT_FLAG_COOLER 0x0020 /* Show cooler state */
200 #define MQTT_FLAG_FAN 0x0040 /* Show fan state */
201 #define MQTT_FLAG_DOOR 0x0080 /* Show door state */
202 #define MQTT_FLAG_LIGHT 0x0100 /* Show light state */
203 #define MQTT_FLAG_PSU 0x0200 /* Show PSU state */
204 #define MQTT_FLAG_PROFILE 0x0400 /* Show profile settings */
205 #define MQTT_FLAG_PERCENT 0x0800 /* Show profile percent */
206
207 #define MQTT_NODE_CONTROL 0x0001 /* Show node control */
208 #define MQTT_NODE_HT 0x0002 /* Show node humidity/temp */
209
199 210
200 211
201 /* 212 /*
202 * Fermenting steps 213 * Fermenting steps
203 */ 214 */

mercurial