Variables in triggers do not fire
obcocav opened this issue · 3 comments
I’m trying to use a trigger to to change iris value when zoom is < or > a value. The feedback itself updates fine but even when a condition is met it does not fire the trigger. For example “check variable value” for zoom position > 15X then Iris 2.8 does not work even when companion. Correctly sees the zoom position as 20X.
The reason for this is that the returned variable has the "X" in it, and so when comparing the two Companion sees the zoom value as strings instead of number, so the < > don't function as expected.
I'm going to investigate what our options are in terms of getting a raw number output
@bryce-seifert. FWIW. I have been using a work around by multiplying the variable by 1. Seems to remove the degrees symbol. So I have a dozen or so triggers to “correct” the values that fire every 3 seconds. It works but Sure would be nice to get rid of the clutter with native ability. Hope this helps! Thanks for all the work you do!
@obcocav In v3, now in beta, zoom will now be available in as a raw integer with the zoom_position_int
variable