burrow/heating/circuit2/active 0/1
burrow/heating/water/active 0/1
burrow/heating/error %04x [error code from message 0500:006b]
-burrow/heating/clock yyyy-mm-dd hh:mm
+burrow/heating/clock yyyy-mm-ddThh:mm
bsb/stats/*
bsb/frame hex dump of raw frames received
case 0x0500006b:
if (len >= 2) {
int err = get_u16_be(p);
- mqtt_publish("burrow/heating/error", "%04x", err);
+ mqtt_publish("burrow/heating/error", "%04x %lld", err, (long long) t);
}
break;
case 0x0500006c:
if (len >= 7) {
- mqtt_publish("burrow/heating/clock", "%04d-%02d-%02d %02d:%02d",
+ mqtt_publish("burrow/heating/clock", "%04d-%02d-%02dT%02d:%02d %lld",
get_u16_be(p) + 1900, p[2], p[3],
- p[5], p[6]);
+ p[5], p[6],
+ (long long) t);
}
break;
case 0x05000219: