Jump to content

customized email that includes a value from a nodeserver


someguy

Recommended Posts

Posted

background:  I monitor my sump pumps with programs that send an email once a day that tells me how much the sumps have run.  I include in that email the amount of rain for the 24 hour period.  i had set this email up quite a few years ago with this variable: ${mod.weather.rain.24h}        my suspicion is that this was from the old and now defunct climate module.

important part:

how can I make a "variable" in a customized email that sends the amount of rain from my rain nodeserver? the node is:

n006_rain

Thank you,

someguy

Posted
1 hour ago, someguy said:

my suspicion is that this was from the old and now defunct climate module.

correct

1 hour ago, someguy said:

how can I make a "variable" in a customized email that sends the amount of rain from my rain nodeserver? the node is:

${sys.node.n006_rain.XXX}

To figure out what XXX should be replaced with follow the guide below.... NOTE: I'm using a different nodesever, you need to figure the out for the nodeserver you are using.

from the admin console:

image.png.d19f1d7fa4625f64e66fec10fc1a8819.png

I just forced 1/100 of an inch for this demo.

Now go to the node server node listing:

and locate the matching node in the node listings:image.thumb.png.b64fc1f4e7f8a675496ce584ad78c62e.png

The value I'm looking for is either GV1 or GV2 (note the 0.01 values)

I'd make the educated guess that it's probably GV1 that I'm looking for, but then next time it rains I'd watch for which value is which.

so if GV1 was the "Driver" value that yours returned you would use ${sys.node.n006_rain.GV1}

See also this wiki page for more substitution information.

 

  • Like 1
Posted

@MrBill Thank you so much for your very helpful and well-explained result.  I've got it working!  the wiki probably should be updated at some point but I won't complain about that.   

Guest
This topic is now closed to further replies.

×
×
  • Create New...