GL-S200 Automations Webhook JSON Variables?

Hello @dennis65 ,

Thank you for joining the conversation! Do you currently own the GL-S200? Are you also doing work and coding with the device and sensors?

The Thread Development Boards actually contain a rotary encoder knob that includes the knob press switch also. Because of this it would require specific code within the board firmware to keep track of the position, something I realize they are not currently doing. In addition, it seems they are not accurately tracking the "clicks" or individual steps of rotation to be able to report them in a deterministic way. From my testing, I get events within the GL-S200 every 3 or 4 clicks and so it is not easy to "count" the clicks in a deterministic way. This difference in "click" counting appears to be caused by the reverse of direction in rotation.

This could be improved via several methods within the sensor board code, if they chose to do so. I have not been able to review their code to make the changes myself, nor to understand if they are reading the encoder via polling or interrupts.

@Barry is the Thread Development Board source code now published somewhere publicly for review? I could not find it in Github.

In addition, they are not actually generating any webhooks. They appear to be using a lower level Thread protocol to communicate the sensor data and events to the GL-S200.

As for submitting a feature request, I provided GL.iNet with a comprehensive document that outlined many of the current limitations of this product to GL.iNet management back in November of 2023 when I began extensive work with the product. They have made some progress since then, but have still not addressed many of the issues. I continue to have dialog with the management of GL.iNet about this.

Yes ... someday the firmware updates might progress to make this a much more useful product. This is exactly what I am pushing for.

Also, I did release one of my scripts that does produce webhooks from their sample code. I just started a thread here, sharing that code:

If you have a device, please install and experiment with my current script ... I'd love feedback on this!