thermferm/thermferm.h

changeset 506
cdcd07bbee30
parent 500
5aa914eb644e
child 510
2da3d3340403
--- a/thermferm/thermferm.h	Sat Apr 29 17:07:36 2017 +0200
+++ b/thermferm/thermferm.h	Mon May 08 16:26:02 2017 +0200
@@ -19,6 +19,7 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 #include <sys/un.h>
+#include <sys/utsname.h>
 #include <time.h>
 #include <fcntl.h>
 #include <syslog.h>
@@ -194,8 +195,18 @@
 #define	MQTT_FLAG_AIR		0x0002		/* Show air temperature		*/
 #define	MQTT_FLAG_BEER		0x0004		/* Show beer temperature	*/
 #define	MQTT_FLAG_MODE		0x0008		/* Show unit mode		*/
-#define	MQTT_FLAG_PROFILE	0x0010		/* Show profile settings	*/
-#define	MQTT_FLAG_PERCENT	0x0020		/* Show profile percent		*/
+#define	MQTT_FLAG_HEATER	0x0010		/* Show heater state		*/
+#define	MQTT_FLAG_COOLER	0x0020		/* Show cooler state		*/
+#define	MQTT_FLAG_FAN		0x0040		/* Show fan state		*/
+#define	MQTT_FLAG_DOOR		0x0080		/* Show door state		*/
+#define	MQTT_FLAG_LIGHT		0x0100		/* Show light state		*/
+#define	MQTT_FLAG_PSU		0x0200		/* Show PSU state		*/
+#define	MQTT_FLAG_PROFILE	0x0400		/* Show profile settings	*/
+#define	MQTT_FLAG_PERCENT	0x0800		/* Show profile percent		*/
+
+#define	MQTT_NODE_CONTROL	0x0001		/* Show node control		*/
+#define	MQTT_NODE_HT		0x0002		/* Show node humidity/temp	*/
+
 
 
 /*

mercurial