dann zeigt er gar nichts mehr an
Code: Alles auswählen
var cmd = "0x0A,0x12,"#dayCommand#command#",0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x02,0x0A,0x03";
Grüße Alex
Moderator: Co-Administratoren
Code: Alles auswählen
var cmd = "0x0A,0x12,"#dayCommand#command#",0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x0A,0x02,0x0A,0x03";
Code: Alles auswählen
var temp = dom.GetObject('ow Temperatur').Value().ToString(1) # " °C";
var tempmax = dom.GetObject('ow Temperatur (max.)').Value().ToString(1) # " °C";
var hum = dom.GetObject('ow Luftfeuchte (rel.)').Value().ToString(0) # " %";
var staub = dom.GetObject('Feinstaub_PM10').Value().ToString(0) # " µg/m³";
var regen24 = dom.GetObject('Regen00_24').Value().ToString(0) # " mm";
var regen48 = dom.GetObject('Regen24_48').Value().ToString(0) # " mm";
var verbrauch = dom.GetObject('UG HWR SV Stromverbrauch Tag').Value().ToString(0) # " kWh";
var stand = dom.GetObject('UG HWR SV Stromzähler Stand').Value().ToString(0) # " kWh";
string displayCmd = "PASf343042 /3 '§10 " # temp #"' /4 '§11 " # tempmax #"' /5 '§12 " # hum #"' /6 '§13 " # staub #"' /7 '§14 " # regen24 #"' /8 '§15 " # regen48 #"' /9 '§16 " # verbrauch #"' /10 '§17 " # stand #"'";
dom.GetObject("CUxD.CUX2801002:1.CMD_EXEC").State("tclsh /usr/local/addons/epaper42.tcl " # displayCmd);
Ok, es wird also schon mal was zum Display gesendet.Alexxx2005 hat geschrieben: ↑21.04.2019, 23:30sobald ich mehrere machen möchte leuchtet die LED rot
und es passiert nichts.
Ohne "f" wäre sie nicht mehr 10stellig - ist also erstmal plausibel.
Ja die stimmt, die ist von mir