someguy Posted December 24, 2021 Posted December 24, 2021 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
MrBill Posted December 24, 2021 Posted December 24, 2021 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: 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: 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. 1
someguy Posted December 25, 2021 Author Posted December 25, 2021 @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.
Recommended Posts