To build dynamic messages you will use the text replacer syntax. Using {{ }}
will allow the message engine to find the appropriate portion of the text and replace it with the value of the evaluated text that is contained within the {{ }}
syntax.
din[#].state
din[#].counter
din[#].usagemeter
rout[#].state
rout[#].usagemeter
temp[#].fahrenheit
or temp[#].tempf
for short
temp[#].celsius
or temp[#].tempc
for short
env[#].fahrenheit
or env[#].tempf
for short
env[#].celsius
or env[#].tempc
for short
env[#].humidity
registry("key_name")
or reg("key_name")
for short. Just replace key_name with the registry key name.
date.currentmillis
where the value is the number of milliseconds since January 1st 1970. date.format("format_string")
where the format_string is of the following format:
MM
two digit month
dd
two digit day
yy
two digit year
yyyy
four digit year
HH
two digit 24 hour
hh
two digit 12 hour
mm
two digit minute
fff
milliseconds
aa
am / pm
zzz
timezone string
for example. date.format("MM-dd-yyyy HH:mm:ss.fff")