From 572387ae4818b8f702133143fe0b05a60afdff79 Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 1 Jul 2025 08:48:12 +0200 Subject: [PATCH 1/2] change color of console debug message otherwise it is badly readable in Safari --- client/jsFiles/SEAWebClientCommunication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/jsFiles/SEAWebClientCommunication.js b/client/jsFiles/SEAWebClientCommunication.js index b807388..9cd9280 100644 --- a/client/jsFiles/SEAWebClientCommunication.js +++ b/client/jsFiles/SEAWebClientCommunication.js @@ -313,7 +313,7 @@ function reqJSON(s, url, successHandler, errorHandler) { : new ActiveXObject('Microsoft.XMLHTTP'); if (debugCommunication) { console.log("%cto server (reqJSON): %s", - "color:white;background:darkgreen", url); + "background:yellow", url); } xhr.open('get', url, true); xhr.onreadystatechange = function() { From 671739a195a2c50b4f218a453793fd75dc07d29b Mon Sep 17 00:00:00 2001 From: Markus Zolliker Date: Tue, 1 Jul 2025 08:48:49 +0200 Subject: [PATCH 2/2] add degC to the important units showed at top --- influxgraph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxgraph.py b/influxgraph.py index 2d7bcba..90e453c 100644 --- a/influxgraph.py +++ b/influxgraph.py @@ -254,7 +254,7 @@ class InfluxGraph(HandlerBase): add_to_groups(var, unit=unit) # make order a bit more common result = [] - for key in ['K', 'T', 'W', 'ln/min'] + list(groups): + for key in ['K', 'degC', 'T', 'W', 'ln/min'] + list(groups): if key in groups: group = groups.pop(key) curve_dict = group['curves']