Add lightswitch to this firmware

This commit is contained in:
Pim van Pelt
2017-12-20 17:04:51 +01:00
parent 7ba19c8372
commit 1cbd2130db
24 changed files with 749 additions and 13 deletions

10
include/mqtt.h Normal file
View File

@ -0,0 +1,10 @@
#ifndef __MQTT_H
#define __MQTT_H
#include "mgos.h"
#include "mgos_mqtt.h"
void mqtt_init();
void mqtt_publish_stat(const char *stat, const char *msg);
#endif // __MQTT_H