Grässlicher Code, sorry.
kann ich verstehen wenn das nicht gefällt.
Als Hintergrund. Bin selbst Software Engineer. Und das "Framework" Shelly hat mich doch gefordert. Wieviel geht und wieviel eben nicht.
Bin dann mit Codeschnipseln gestartet, da ich es anders nicht zum Laufen bekommen habe.
den alert Timer zb. habe ich nicht verstanden, aber hier im Forum als "state of the art" gefunden.
Echtes "komplettes" JavaScript ist ja nicht zu machen. Von daher musste ich mich mit dem zufrieden geben.
Wenn ich hier Tips bekomme, wende ich die selbstverständlich liebend gerne an.
ich hatte hier mal angefangen:
Thema
Scripting Question with Shelly.call()
If I run the following script, everything works fine. (basically pulled from https://github.com/shelly-tools/s…_consumption.js)
But if I enable the switching of the device(Shelly.call), it will not respond anymore.
I found a couple of advices, but I guess I don't interpret them correctly.
link
i am running the code on a "pro 3" with Version: 0.10.2-beta2
(Quelltext, 41 Zeilen)
can someone point me to where I should have a look?
But if I enable the switching of the device(Shelly.call), it will not respond anymore.
I found a couple of advices, but I guess I don't interpret them correctly.
link
i am running the code on a "pro 3" with Version: 0.10.2-beta2
(Quelltext, 41 Zeilen)
can someone point me to where I should have a look?
subbamaggus
Aber es kam nicht viel Rückmeldung ...