Ich habe mehrere Scrips laufen, leider gehe diese alle nach dem FW Upgrade > V 3.61.7 nicht mehr. (CCU 3)
Jemand eine Idee ? Wurde das was Grundlegendes geändert ?
Hier ein Bsp. eines Scriptes für Lametric:
Code: Alles auswählen
string text = "Text" ;
string icon = "178";
string varX = "-X POST -u \"dev:(KEY)\" -H \"Content-Type: application/json\" -d \"
{ \\"model\\": { \\"frames\\": [ { \\"icon\\":\\"" # icon # "\\", \\"text\\":\\"" # text # "\\"}], \\"sound\\":{ \\"category\\":\\"notifications\\",\\"id\\":\\"lose1\\",\\"repeat\\":4}}}
\" http://(IP):8080/api/v2/device/notifications";
dom.GetObject("CUxD.CUX2801003:1.CMD_EXEC").State("extra/curl " # varX);
Chris