Hello,
I have a simple question. When comparing the HTTP Requests in the Gen1 and Gen2 API doc for switching a relay, it's like http://yourIP/relay/0?turn=on&timer=10.
The Gen2 API offers the same HTTP request, but the timer parameter behaves differently. While in Gen1, that's a fallback timer in seconds, so after 10 seconds, the switch will fall back, in Gen2 this is an execution delay and in ms. Therefore, the API looks similar, but the behavior of the "timer" parameter is completely different.
I don't have a Gen2 device yet, therefore I can't test it. I am just curious whether that is an intentional API change, although in the Gen2 documentation the HTTP Endpoints were mentioned for backward compatibility....
I actually like the behavior of the Gen2 API and I look forward testing it as soon as my Gen2 Device arrives....
I am looking forward reading your thoughts,
Regards