Yes, I have seen that and I am using that for inspiration. But my question is not how to respond to the button state change, it’s how to customise the Web UI and use the cgi-bin api.