add: mqtt status client

This commit is contained in:
Tobias Reisinger 2020-06-26 01:28:00 +02:00
parent 1d1ae61310
commit 679175f1a9
11 changed files with 119 additions and 40 deletions
src/models

View file

@ -15,6 +15,7 @@ relay_create(uint8_t number)
new_relay->name[0] = '\0';
new_relay->is_on = -1;
new_relay->sent_to_broker = 0;
uuid_t off_id;
memset(off_id, 0, sizeof(uuid_t));