diff --git a/serial_to_mqtt_bridge/serial_to_mqtt.py b/serial_to_mqtt_bridge/serial_to_mqtt.py index caab6998eef92b203600e779a9e9f7f907aaa63c..52a8391f6b5c82d867aaef3a9c4bc668d9c50b7b 100755 --- a/serial_to_mqtt_bridge/serial_to_mqtt.py +++ b/serial_to_mqtt_bridge/serial_to_mqtt.py @@ -296,7 +296,7 @@ class SerialToMQTTGUI: # Dashboard Link self.dashboard_frame = ttk.Frame(self.root) self.dashboard_label = ttk.Label(self.dashboard_frame, text="View data in Grafana dashboard:") - self.dashboard_link = ttk.Label(self.dashboard_frame, text="https://sustronics.mwave.eti.pg.gda.pl/d/1Mar-DTiz/sustronicspilot3-3", foreground="blue", cursor="hand2") + self.dashboard_link = ttk.Label(self.dashboard_frame, text="https://sustronics.mwave.eti.pg.gda.pl/d/1Mar-DTiz/sustronicspilot3-3?orgId=1&kiosk", foreground="blue", cursor="hand2") self.dashboard_link.bind("<Button-1>", lambda e: self.open_dashboard()) self.dashboard_link.bind("<Enter>", lambda e: self.dashboard_link.configure(underline=True)) self.dashboard_link.bind("<Leave>", lambda e: self.dashboard_link.configure(underline=False)) @@ -488,7 +488,7 @@ class SerialToMQTTGUI: def open_dashboard(self): import webbrowser - webbrowser.open("https://sustronics.mwave.eti.pg.gda.pl/d/1Mar-DTiz/sustronicspilot3-3?orgId=2&refresh=1m") + webbrowser.open("https://sustronics.mwave.eti.pg.gda.pl/d/1Mar-DTiz/sustronicspilot3-3?orgId=1&kiosk") def main(): root = tk.Tk()