[NF] Create Senml Messages for Linksmart

This commit is contained in:
BlubbFish 2018-05-03 14:43:50 +00:00
parent 74d270b6d2
commit 91a05f882e
9 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace ZwayBot.Moduls {
topic = "/senml/" + sensor.SenmlTopic();
data = sensor.ToSenml();
}
if (topic != "" && data != "") {
if (topic != "" && data != null && data != "") {
this.mqtt.Send(topic, data);
this.Update?.Invoke(this, new MqttEvent(topic, data));
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.