Hubitat C7 WebCoRE 1.0.87
I'm trying to define local variables to build a string into file names.
The file names incorporate the clock hour {hourtick} = '01', '02', .. '12'
There are two files for each hour so I pick '01' or '02' at random, assign to {ticker} and concatenatie hourtick + '_' + ticker.
I can concatenate in several languages but I don't understand WebCoRE behavior. It appears to inject the variable definition into the variable contents. I don't understand how to specify or control that.
The Sonos command is only for debugging - it's 4 AM so it should speak "04/02". Instead it speaks the definition of {clockr}, as it appears in the red trace line.
I'm posting the code
a trace
and the variable states.
Thanks for any help you might offer.


