Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.1 pull branch #1

Closed
wants to merge 21 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Added the Door Name to the MQTT events loging
To identify wich door throus the event the Door Name is added to the MQTT event logs
  • Loading branch information
marelab committed Jun 13, 2019
commit e2efb965c3d2714643fc28a4d01f19ced1027a58
1 change: 1 addition & 0 deletions src/log.esp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ void ICACHE_FLASH_ATTR writeEvent(String type, String src, String desc, String d
root["time"] = now();
if ((mqttEvents) && (mqttenabled==1)){ // log to MQTT
root["cmd"] = "event";
root["door"] = deviceHostname;
mqtt_publish_event(&root);
}
else // log to file
Expand Down