Jump to content

variables inside custom email notifications help


someguy

Recommended Posts

Posted

I'm trying to create a custom email notification for when I am on vacation that tells me what is going on at my house. here is what I have so far and I think the first line will work fine, but the rest needs work:

Quote

Vacation Daily Alert for ${sys.date}, ${sys.time}.
On Vacation? ${sys.program.#.status}
Thermostats: ${sys.node.#.addr}
Garage doors? ${sys.node.#.addr}, ${sys.node.#.addr}
Outdoor Temp: ${sys.node.#.addr}

the problem is, I'm not sure what parts of these "variables" need to be changed and if so, to what.  I guess I need a kindergartner level of explanation. 

for the "On Vacation", I have a program called "on vacation?" and I'd like to know if that is true or false.  I presume I need to swap out the pound sign to something but I don't know what to swap it to.  

for the others, they're all nodes, some are insteon devices, specifically. 

Posted

When referring to a node, the # becomes the node identifier. Besides the insteon address, you can also use polyglot created devices like this

Rain Tomorrow ${sys.node.n007_forecast_1.GV18} ${sys.node.n007_forecast_1.GV13} Accumulation ${sys.node.n007_forecast_1.GV8}

When you use a program to trigger a notification, the # automatically gets replaced by the ID of the program that called it.

${sys.program.#.address}    ${sys.program.#.name}    ${sys.program.#.status}    ${sys.date} ${sys.time} 

 

image.png.bfa8586896dae55d3df0536f42539cd5.png

 

program[97] Garage Closed True 2025/03/30 06:10:00 AM

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...