CORS restrictions?

Hello!

We have an open feature request for CORS compatibility! I am not sure when it would be implemented but it is currently being analyzed. To be certain, there may be other ways you can change the stream deck buttons when a specific layout is active. This would be similar to how I used triggers for the “one touch” control on Stream Deck here:

so in this case, changing the colour of a layout button based on GET commands; when layout is active - trigger x colour.

This I haven’t tested, but I think in theory should be possible using the following API command:

Pearl_IP/api/channels/#/layouts/active

<#>= channel the layout exists in

Response:

{“status”:“ok”,“result”:“1”}

1 = the logical number for the active layout.