From e728a6f8c7a1ab84e411129c166cfd8d9d95e1e0 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Tue, 31 May 2016 23:51:28 +0200 Subject: [PATCH 1/1] hmsniff: add two more message types --- hmsniff.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hmsniff.c b/hmsniff.c index 051c95c..82907f7 100644 --- a/hmsniff.c +++ b/hmsniff.c @@ -89,6 +89,9 @@ char *hm_message_types(uint8_t type, uint8_t subtype) case 0x53: return "Water sensor"; break; + case 0x54: + return "Gas sensor"; + break; case 0x58: return "Climate event"; break; @@ -96,6 +99,7 @@ char *hm_message_types(uint8_t type, uint8_t subtype) return "Thermal control"; break; case 0x5e: + case 0x5f: return "Power event"; break; case 0x70: -- 2.39.5