bitfocus / companion-module-generic-http

Generic HTTP module
MIT License
9 stars 19 forks source link

No dynamic variable values in key action: HTTP Post #6

Closed krzyzz closed 3 years ago

krzyzz commented 3 years ago

I suppose it's designed this way, but apparently dynamic variables only work in Companion button's text field. Whenever I put the desired variable of $(x:y) in Key down action: HTTP Post URI field, the variable is being passed literally as written.

For example: image is interpretted by HTTP server as: image

If it only worked as planned, Bitfocus would be an ideal tally server/proxy/distributor/w/e that passed lights to my smartviews, GPI devices etc...

JeffreyDavidsz commented 3 years ago

The generic module is not for these kind of actions. You should request a module for it. This way other users would benefit to. I've added variable to tally option in thingm blink module, so a light will go on when a variable hits a (dynamic) value. Just as a example. Building a separate module with button press at the moment. Closing this issue because it more a general request