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: