Custom SMS Messages?


#1

1) Give a description of the problem
Looking to have ST send me a text that says different things; in this case: “The House is a cozy (EcoBee Temp)F”

2) What is the expected behavior?
Send thermostat temp via SMS

3) What is happening/not happening?
I can send an SMS with just words and I can send an SMS with just the numerical value - both as separate texts.

4) Post a Green Snapshot of the piston!

5) Attach any logs
N/A - the above method works, it’s just clunky.

I’m guessing this involves more complicated programming, and I’d love an example to help guide me. Thanks folks!


#2

You can combine the message, something like below:

The House is a cozy {[EcoBee:temperature]}F


#3

More details on expressions in the wiki


#4

You can include variables in your message. In this example, the variables for the new thermostat temperature setting and the outdoor temp get set when a change in the thermostat’s heat setting occurs. I include the variable {$now} so I know when someone adjusted the temperature.


#5

Thanks! Looking into all that lovely documentation now. I’m definitely not a programming pro but it’s very helpful.

Quick one… any way to get a shorter version of $now? Like just the “simple” time (ex: 10:30)


#6

$time or $time24 should do the trick depending on whether you want to see the am/pm meridian