From 238f5d0160a46681cd7cd86fdedca6ca583ea5cd Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Fri, 17 Aug 2018 23:55:01 +0200 Subject: [PATCH] Small change to actually print Vbat --- raspberry/python/mqtt2epaper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/raspberry/python/mqtt2epaper.py b/raspberry/python/mqtt2epaper.py index c609366..3f592e6 100644 --- a/raspberry/python/mqtt2epaper.py +++ b/raspberry/python/mqtt2epaper.py @@ -72,7 +72,7 @@ def on_message(client, userdata, msg): subtopics = top.split("/") #Display atmospheric data from BME280 sensor - if subtopics[0] == "BME": + if subtopics[0] == "BME" or subtopics[0] == "SYS": payload = msg.payload.decode() val = json.loads(payload)