Hello,
My work progresses, my difficulties too...
I'm still struggling with authentication issues, but now on my Shelly PRO2 2.
The context is still the same as in my first question (explained above). I'm now able to get datas from my shelly EM, but i need to get datas (and set actions) on the Shelly pro2 itself. I tried to look in both following directions :
- Use "Sehelly.call" method to reach the shelly pro2 and get datas ==> In that cas, I'm still unable to build the SHA-256 hash neded to authenticate on it (as this is a gen-2 device, basic authentication does'nt work - Thanks to Devil for the tip)
- As the script runs on the device i'm querying, I looked for a scripting keyword like "this" or "self" or something that cas refer to the current device (meaning device on which the script is running), to allow usage of "Shelly.Status" method (for example) without authentication.
... But I didn't succeed in any of those ways, does anybody have an idea on how to manage that ?
Thanks by advance,
Thomas