thermferm/thermferm.h

changeset 693
3518c07737d8
parent 675
825210ba2707
child 702
d77891f8915d
equal deleted inserted replaced
692:6d97eb820cc1 693:3518c07737d8
361 361
362 #endif 362 #endif
363 363
364 typedef struct _sys_config { 364 typedef struct _sys_config {
365 char *name; /* Configuration name */ 365 char *name; /* Configuration name */
366 int my_port; /* my client/server port */ 366 int server_port; /* my client/server port */
367 unsigned char tempFormat; /* Temperature format, C or F */ 367 char *temp_uuid; /* Environment temperature */
368 char *temp_address; /* Environment temperature */
369 int temp_state; /* 0=ok, 1=missing, 2=error */ 368 int temp_state; /* 0=ok, 1=missing, 2=error */
370 int temp_value; /* Air temperature in C * 1000 */ 369 int temp_value; /* Air temperature in C * 1000 */
371 char *hum_address; /* Environment huminity */ 370 char *hum_uuid; /* Environment huminity */
372 int hum_state; /* 0=ok, 1=missing, 2=error */ 371 int hum_state; /* 0=ok, 1=missing, 2=error */
373 int hum_value; /* Huminity in % * 1000 */ 372 int hum_value; /* Huminity in % * 1000 */
374 int temp_hum_idx; /* Domoticz idx */ 373 int temp_hum_idx; /* Domoticz idx */
375 int lcd_cols; /* LCD display columns */ 374 int lcd_cols; /* LCD display columns */
376 int lcd_rows; /* LCD display rows */ 375 int lcd_rows; /* LCD display rows */
377 int lcd_address; /* LCD display i2c address */ 376 int lcd_address; /* LCD display i2c address */
378 int next_unit; /* Next unit alias name */ 377 int next_unit; /* Next unit alias name */
379 units_list *units; /* Fermenter units */ 378 units_list *units; /* Fermenter units */
380 // profiles_list *profiles; /* Ferment profiles */
381 devices_list *devices; /* Sensors and switches */ 379 devices_list *devices; /* Sensors and switches */
382 #ifdef USE_SIMULATOR 380 #ifdef USE_SIMULATOR
383 simulator_list *simulators; /* Simulators */ 381 simulator_list *simulators; /* Simulators */
384 #endif 382 #endif
385 char *mqtt_host; /* MQTT host to connect to */ 383 char *mqtt_host; /* MQTT host to connect to */

mercurial