besten Dank für die Hilfe. Habe die Zeile entsprechend geändert, sieht nun so aus:
Code: Alles auswählen
append rega_cmd "var w3 = dom.GetObject('octoprint_printTimeLeft');"
append rega_cmd "w3.State(('$printTimeLeft'.ToTime () -3600).Format ('%H:%M:%S'));"
Code: Alles auswählen
/usr/local/addons/octoprint$ tclsh octoprintstatus.tcl
Abfrage der Daten:
Job
Lese Werte aus
Noch eine Idee woran das liegen könnte?
Danke
Gruß
Arthy