Nicht drücken, sondern wischen, so wie hier beschrieben.
Du wirst sicherlich das gleiche Problem feststellen (Fehlerflut inklusive).
Moderator: Co-Administratoren
Stimmt, dann gehts rund im Log. Habe ich ehrlich gesagt in TinyMatic noch nie genutzt
Changelog sagt, Profile funktionieren jetzt mit XML-API 2.x. Kann ich nichts dazu sagen, verwende ich nicht.
Code: Alles auswählen
Nov 8 10:35:55 homematic local0.err ReGaHss: ERROR: ScriptRuntimeError: string sDevIds = ""; string sChannelIds = "4330%2C4464%2C4502%2C4589%2C4553"; string sDatapointIds = ""; string sChnId; string sDPId; if (sDatapointIds.Length() > 0 ) { string sDatapointId; foreach(sDatapointId, sDatapointIds.Split(",")) { object oDatapoint = dom.GetObject(sDatapointId); if (oDatapoint.IsTypeOf(OT_DP)) { Write("<datapoint ise_id='"); WriteXM
(sDatapointId); Write("' value='"); WriteXML(oDatapoint.Value()); Write("'/>"); } } } else { if (sChannelIds.Length() > 0 ) { string sChannelId; foreach(sChannelId, sChannelIds.Split(",")) { object oChannel2 = dom.GetObject(sChannelId); if (sDevIds.Length() > 0 ) { sDevIds = sDevIds # "," # oChannel2.Device().ToString(); } else { sDevIds = oChannel2.Device().ToString();
} }
Nov 8 10:35:55 homematic local0.err ReGaHss: ERROR: foreach(): invalid expression used [ExecForEach():iseESPexec.cpp:515]
Nov 8 10:35:55 homematic local0.err ReGaHss: ERROR: ScriptRuntimeError: string sDevIds = ""; string sChannelIds = "4330%2C4464%2C4502%2C4589%2C4553"; string sDatapointIds = ""; string sChnId; string sDPId; if (sDatapointIds.Length() > 0 ) { string sDatapointId; foreach(sDatapointId, sDatapointIds.Split(",")) { object oDatapoint = dom.GetObject(sDatapointId); if (oDatapoint.IsTypeOf(OT_DP)) { Write("<datapoint ise_id='"); WriteXM
(sDatapointId); Write("' value='"); WriteXML(oDatapoint.Value()); Write("'/>"); } } } else { if (sChannelIds.Length() > 0 ) { string sChannelId; foreach(sChannelId, sChannelIds.Split(",")) { object oChannel2 = dom.GetObject(sChannelId); if (sDevIds.Length() > 0 ) { sDevIds = sDevIds # "," # oChannel2.Device().ToString(); } else { sDevIds = oChannel2.Device().ToString();
} }
Nov 8 10:36:10 homematic local0.err ReGaHss: ERROR: ScriptRuntimeError: string sDevIds = ""; string sChannelIds = "4330%2C4464%2C4502%2C4589%2C4553"; string sDatapointIds = ""; string sChnId; string sDPId; if (sDatapointIds.Length() > 0 ) { string sDatapointId; foreach(sDatapointId, sDatapointIds.Split(",")) { object oDatapoint = dom.GetObject(sDatapointId); if (oDatapoint.IsTypeOf(OT_DP)) { Write("<datapoint ise_id='"); WriteXM
(sDatapointId); Write("' value='"); WriteXML(oDatapoint.Value()); Write("'/>"); } } } else { if (sChannelIds.Length() > 0 ) { string sChannelId; foreach(sChannelId, sChannelIds.Split(",")) { object oChannel2 = dom.GetObject(sChannelId); if (sDevIds.Length() > 0 ) { sDevIds = sDevIds # "," # oChannel2.Device().ToString(); } else { sDevIds = oChannel2.Device().ToString();
} }
Nov 8 10:36:10 homematic local0.err ReGaHss: ERROR: foreach(): invalid expression used [ExecForEach():iseESPexec.cpp:515]
Nov 8 10:36:10 homematic local0.err ReGaHss: ERROR: ScriptRuntimeError: string sDevIds = ""; string sChannelIds = "4330%2C4464%2C4502%2C4589%2C4553"; string sDatapointIds = ""; string sChnId; string sDPId; if (sDatapointIds.Length() > 0 ) { string sDatapointId; foreach(sDatapointId, sDatapointIds.Split(",")) { object oDatapoint = dom.GetObject(sDatapointId); if (oDatapoint.IsTypeOf(OT_DP)) { Write("<datapoint ise_id='"); WriteXM
(sDatapointId); Write("' value='"); WriteXML(oDatapoint.Value()); Write("'/>"); } } } else { if (sChannelIds.Length() > 0 ) { string sChannelId; foreach(sChannelId, sChannelIds.Split(",")) { object oChannel2 = dom.GetObject(sChannelId); if (sDevIds.Length() > 0 ) { sDevIds = sDevIds # "," # oChannel2.Device().ToString(); } else { sDevIds = oChannel2.Device().ToString();
} }