thermferm/mqtt.h

Tue, 25 Jul 2017 13:16:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Tue, 25 Jul 2017 13:16:49 +0200
changeset 526
2f75f94d471b
parent 515
7ab5cf2afc0c
child 533
49580ca85ab7
permissions
-rw-r--r--

Chiller alarm and cutoff now against the air temperature.

#ifndef	_MQTT_H
#define	_MQTT_H

#ifdef HAVE_MOSQUITTO_H

#define STATUS_CONNECTING 0
#define STATUS_CONNACK_RECVD 1
#define STATUS_WAITING 2

#endif

/*
 * Public functions
 */
void pub_domoticz_temp(int, int);
void pub_domoticz_output(int, int);
void mqtt_connect(void);
void mqtt_disconnect(void);
void publishDData(units_list *);
void publishNData(bool, int);

#endif

mercurial