thermferm/thermferm.h

changeset 513
a2732027afb3
parent 510
2da3d3340403
child 518
fd36bedab944
--- a/thermferm/thermferm.h	Wed May 31 16:29:52 2017 +0200
+++ b/thermferm/thermferm.h	Wed Jun 07 23:06:47 2017 +0200
@@ -137,33 +137,41 @@
     char		*air_address;		/* DS18B20 address		*/
     int			air_state;		/* 0=ok, 1=missing, 2=error	*/
     int			air_temperature;	/* Air temperature in C * 1000	*/
+    int			air_idx;		/* Domoticz idx			*/
     char		*beer_address;		/* DS18B20 address		*/
     int			beer_state;		/* 0=ok, 1=missing, 2=error 	*/
     int			beer_temperature;	/* Beer temperature in C * 1000	*/
+    int			beer_idx;		/* Domoticz idx			*/
     char		*heater_address;	/* Heater relay or PWM		*/
     int			heater_state;		/* Heater state 0..100		*/
     int			heater_delay;		/* Heater delay time /15 sec	*/
     int			heater_wait;		/* Heater wait counter		*/
     int			heater_usage;		/* Heater usage in seconds	*/
+    int			heater_idx;		/* Domoticz idx			*/
     char		*cooler_address;	/* Cooler relay or PWM		*/
     int			cooler_state;		/* Cooler state 0..100		*/
     int			cooler_delay;		/* Cooler delay time /15 sec	*/
     int			cooler_wait;		/* Cooler wait counter		*/
     int			cooler_usage;		/* Cooler usage in seconds	*/
+    int			cooler_idx;		/* Domoticz idx			*/
     char		*fan_address;		/* Fan relay or PWM 		*/
     int			fan_state;		/* Fan state 0..100		*/
     int			fan_delay;		/* Fan delay time /15 sec	*/
     int			fan_wait;		/* Fan wait counter		*/
     int			fan_usage;		/* Fan usage in seconds		*/
+    int			fan_idx;		/* Domoticz idx			*/
     char		*light_address;		/* Lights relay			*/
     int			light_state;		/* Lights state 0..100		*/
     int			light_delay;		/* Lights delay time /15 sec	*/
     int			light_wait;		/* Lights wait counter		*/
     int			light_usage;		/* Lights usage in seconds	*/
+    int			light_idx;		/* Domoticz idx			*/
     char		*door_address;		/* Door input address		*/
     int			door_state;		/* Door status			*/
+    int			door_idx;		/* Domoticz idx			*/
     char		*psu_address;		/* Power Supply input address	*/
     int			psu_state;		/* Power Supply status		*/
+    int			psu_idx;		/* Domoticz idx			*/
     int			mode;			/* Unit mode			*/
     float		beer_set;		/* Beer temperature setting	*/
     float		fridge_set;		/* Fridge temperature setting	*/
@@ -328,6 +336,7 @@
     char		*hum_address;		/* Environment huminity		*/
     int			hum_state;		/* 0=ok, 1=missing, 2=error	*/
     int			hum_value;		/* Huminity in % * 1000		*/
+    int			temp_hum_idx;		/* Domoticz idx			*/
     int			lcd_cols;		/* LCD display columns		*/
     int			lcd_rows;		/* LCD display rows		*/
     int			lcd_address;		/* LCD display i2c address	*/

mercurial