135 char *alias; /* alias name 'unit1' */ |
135 char *alias; /* alias name 'unit1' */ |
136 float volume; /* Volume of this unit */ |
136 float volume; /* Volume of this unit */ |
137 char *air_address; /* DS18B20 address */ |
137 char *air_address; /* DS18B20 address */ |
138 int air_state; /* 0=ok, 1=missing, 2=error */ |
138 int air_state; /* 0=ok, 1=missing, 2=error */ |
139 int air_temperature; /* Air temperature in C * 1000 */ |
139 int air_temperature; /* Air temperature in C * 1000 */ |
|
140 int air_idx; /* Domoticz idx */ |
140 char *beer_address; /* DS18B20 address */ |
141 char *beer_address; /* DS18B20 address */ |
141 int beer_state; /* 0=ok, 1=missing, 2=error */ |
142 int beer_state; /* 0=ok, 1=missing, 2=error */ |
142 int beer_temperature; /* Beer temperature in C * 1000 */ |
143 int beer_temperature; /* Beer temperature in C * 1000 */ |
|
144 int beer_idx; /* Domoticz idx */ |
143 char *heater_address; /* Heater relay or PWM */ |
145 char *heater_address; /* Heater relay or PWM */ |
144 int heater_state; /* Heater state 0..100 */ |
146 int heater_state; /* Heater state 0..100 */ |
145 int heater_delay; /* Heater delay time /15 sec */ |
147 int heater_delay; /* Heater delay time /15 sec */ |
146 int heater_wait; /* Heater wait counter */ |
148 int heater_wait; /* Heater wait counter */ |
147 int heater_usage; /* Heater usage in seconds */ |
149 int heater_usage; /* Heater usage in seconds */ |
|
150 int heater_idx; /* Domoticz idx */ |
148 char *cooler_address; /* Cooler relay or PWM */ |
151 char *cooler_address; /* Cooler relay or PWM */ |
149 int cooler_state; /* Cooler state 0..100 */ |
152 int cooler_state; /* Cooler state 0..100 */ |
150 int cooler_delay; /* Cooler delay time /15 sec */ |
153 int cooler_delay; /* Cooler delay time /15 sec */ |
151 int cooler_wait; /* Cooler wait counter */ |
154 int cooler_wait; /* Cooler wait counter */ |
152 int cooler_usage; /* Cooler usage in seconds */ |
155 int cooler_usage; /* Cooler usage in seconds */ |
|
156 int cooler_idx; /* Domoticz idx */ |
153 char *fan_address; /* Fan relay or PWM */ |
157 char *fan_address; /* Fan relay or PWM */ |
154 int fan_state; /* Fan state 0..100 */ |
158 int fan_state; /* Fan state 0..100 */ |
155 int fan_delay; /* Fan delay time /15 sec */ |
159 int fan_delay; /* Fan delay time /15 sec */ |
156 int fan_wait; /* Fan wait counter */ |
160 int fan_wait; /* Fan wait counter */ |
157 int fan_usage; /* Fan usage in seconds */ |
161 int fan_usage; /* Fan usage in seconds */ |
|
162 int fan_idx; /* Domoticz idx */ |
158 char *light_address; /* Lights relay */ |
163 char *light_address; /* Lights relay */ |
159 int light_state; /* Lights state 0..100 */ |
164 int light_state; /* Lights state 0..100 */ |
160 int light_delay; /* Lights delay time /15 sec */ |
165 int light_delay; /* Lights delay time /15 sec */ |
161 int light_wait; /* Lights wait counter */ |
166 int light_wait; /* Lights wait counter */ |
162 int light_usage; /* Lights usage in seconds */ |
167 int light_usage; /* Lights usage in seconds */ |
|
168 int light_idx; /* Domoticz idx */ |
163 char *door_address; /* Door input address */ |
169 char *door_address; /* Door input address */ |
164 int door_state; /* Door status */ |
170 int door_state; /* Door status */ |
|
171 int door_idx; /* Domoticz idx */ |
165 char *psu_address; /* Power Supply input address */ |
172 char *psu_address; /* Power Supply input address */ |
166 int psu_state; /* Power Supply status */ |
173 int psu_state; /* Power Supply status */ |
|
174 int psu_idx; /* Domoticz idx */ |
167 int mode; /* Unit mode */ |
175 int mode; /* Unit mode */ |
168 float beer_set; /* Beer temperature setting */ |
176 float beer_set; /* Beer temperature setting */ |
169 float fridge_set; /* Fridge temperature setting */ |
177 float fridge_set; /* Fridge temperature setting */ |
170 float temp_set_min; /* Minimum temperature */ |
178 float temp_set_min; /* Minimum temperature */ |
171 float temp_set_max; /* Maximum temperature */ |
179 float temp_set_max; /* Maximum temperature */ |
326 int temp_state; /* 0=ok, 1=missing, 2=error */ |
334 int temp_state; /* 0=ok, 1=missing, 2=error */ |
327 int temp_value; /* Air temperature in C * 1000 */ |
335 int temp_value; /* Air temperature in C * 1000 */ |
328 char *hum_address; /* Environment huminity */ |
336 char *hum_address; /* Environment huminity */ |
329 int hum_state; /* 0=ok, 1=missing, 2=error */ |
337 int hum_state; /* 0=ok, 1=missing, 2=error */ |
330 int hum_value; /* Huminity in % * 1000 */ |
338 int hum_value; /* Huminity in % * 1000 */ |
|
339 int temp_hum_idx; /* Domoticz idx */ |
331 int lcd_cols; /* LCD display columns */ |
340 int lcd_cols; /* LCD display columns */ |
332 int lcd_rows; /* LCD display rows */ |
341 int lcd_rows; /* LCD display rows */ |
333 int lcd_address; /* LCD display i2c address */ |
342 int lcd_address; /* LCD display i2c address */ |
334 int next_unit; /* Next unit alias name */ |
343 int next_unit; /* Next unit alias name */ |
335 units_list *units; /* Fermenter units */ |
344 units_list *units; /* Fermenter units */ |