thermferm/devices.h@ba340e00aab2
thermferm/devices.h
Sat, 27 Apr 2019 15:36:16 +0200
- author
- Chiel Broek <mbse@mbse.eu>
- date
- Sat, 27 Apr 2019 15:36:16 +0200
- changeset 582
- ba340e00aab2
- parent 392
-
034746506c3d
- child 648
-
62c5ed1b9cfd
- permissions
- -rw-r--r--
Version 0.9.5, interior lights are now only controlled by the open door or a 5 minutes timer. The timer is started via an MQTT command. The BMS web application sends this command just before a webcam page is requested.
#ifndef MY_DEVICES_H
#define MY_DEVICES_H
int device_out(char *, int);
int device_in(char *, int *);
int devices_detect(void);
#ifdef HAVE_WIRINGPI_H
PI_THREAD (my_devices_loop);
#else
void *my_devices_loop(void *);
#endif
#endif