toggledbits / Reactor

Reactor (for Vera and openLuup) is a Vera Home Automation plugin that provides advanced programmable logic.
17 stars 0 forks source link

v3.6 Variable values not printing in Syslog message #53

Closed k3tfm closed 4 years ago

k3tfm commented 4 years ago

Hardware: VeraPlus Vera FirmWare: 1.7.4970 (7.31) Reactor v3.6

I have verified this on two production VeraPlus devices

Pre v3.6 my syslog messages containing an Expression/Variable would print the value of the variable, in 3.6 in prints the variable only the {tag}.

Example: Create Expression/Variable MyTOD=strftime("%X %x")

Activities->Add Action->Notify->Syslog->Notification Message: Today is {MyTOD}

Pre 3.6 the syslog message received would read "Today is 17:02:33 05/13/20"

In 3.6 the syslog message reads "Today is {MyTOD}"

k3tfm commented 4 years ago

Found out that the message format changed - this is not a 3.6 bug but rather a feature change.

Today is {MyTOD}

Needs to be

{"Today is" + MyTOD}

My bad. Thanks -bh