From 9174e70030e7ed22b3f2f8757e11ec5e6a943fe4 Mon Sep 17 00:00:00 2001 From: Pierrick C Date: Fri, 17 Aug 2018 23:20:08 +0200 Subject: [PATCH] Display Vbat instead of Altitude --- 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 3950901..c609366 100644 --- a/raspberry/python/mqtt2epaper.py +++ b/raspberry/python/mqtt2epaper.py @@ -90,7 +90,7 @@ def on_message(client, userdata, msg): coord_type = { 'AT' : (1, data1_line), 'RH' : (inkyphat.WIDTH / 2 + 12, data1_line), 'AP' : (1, data2_line), - 'ALTI' : (inkyphat.WIDTH / 2 + 12, data2_line), + 'VBAT' : (inkyphat.WIDTH / 2 + 12, data2_line), } print(val) if val['type'] in coord_type: