Commit df3254c7 authored by Peter-Bernd Otte's avatar Peter-Bernd Otte

key sorted for enocean

parent 5b74279f
......@@ -100,7 +100,8 @@ while (WatchDogCounter > 0):
t =
t = time.mktime(t.timetuple()) + t.microsecond / 1E6
client.publish("homie/"+args.mqtt_client_name+"/enocean-messages", json.dumps(
{"type": pPaketType, "data": list(pData), "optData": list(pOptData), "time": t}), qos = 1)
{"type": pPaketType, "data": list(pData), "optData": list(pOptData), "time": t},
sort_keys=True), qos = 1)
logger.warning("Data CRC NOT ok")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment