Message Building Rules
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.
Available Conditionals⚓︎
Internal I/O⚓︎
din[#].state
din[#].counter
din[#].usagemeter
rout[#].state
rout[#].usagemeter
Temperature Sensor⚓︎
temp[#].fahrenheit
temp[#].tempf
temp[#].f
temp[#].celsius
temp[#].tempc
temp[#].c
Environmental Sensor⚓︎
env[#].fahrenheit
env[#].tempf
env[#].f
env[#].celsius
env[#].tempc
env[#].c
env[#].humidity
env[#].h
Registry⚓︎
registry("key_name")
reg("key_name")
Just replace key_name with the registry key name.
Date⚓︎
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")
Examples⚓︎
