Hi,
I'm scripting on a I4DC shelly.
Script:
print(JSON.stringify(Shelly.call("Input.GetConfig", {id: 3})));
Returns: nothing!
I was expecting something like:
{"id":3, "name":"It worked", "type":"switch","invert":false,"factory_reset":true}
If I try:
print(Shelly.call("Input.GetConfig", {id: 3}));
Returns:
<foreign_ptr@40169664>
Am I doing something wrong?
Any help appreciated.