rayg Posted December 1, 2020 Posted December 1, 2020 I cannot seem to find the right structure for accessing the Node Server Data Element for OpenWeatherMap Temperature in my email body. Is it possible (or upcoming) to Store this value into an internal ISY variable? Thanks ...Ray
MrBill Posted December 1, 2020 Posted December 1, 2020 Disclaimer: I'm not using that particular node server so I didn't double check that the temp is available to set as a variable. Generally however, variables can be set to numeric values available from Node Servers: Set the first drop down to "Variable", then the Variable you wish to set then use the arrow to the right of = to cycle until you reach the node view, then select the node and which value you want to save from the node. (make certain the precision (number of decimal places) of the variable matches the value being stored.) 1
rayg Posted December 1, 2020 Author Posted December 1, 2020 (edited) Thanks Mr Bill, Worked a charm and I now understand what the play button does in that UI. lol As for emails, these are the results I got. Adding this to email body: Current Temperature Reading = ${sys.node.n001_weather.CLITEMP} Resulted in: Current Temperature Reading = 4.6°C So variable substitution from Node Server works. Edited December 2, 2020 by rayg
MrBill Posted December 1, 2020 Posted December 1, 2020 Since I don't use that nodesever I don't know but lets tag @bpwwer since he wrote the nodeserver.
bpwwer Posted December 1, 2020 Posted December 1, 2020 All of the valid values are in the documentation here: https://github.com/bpaauwe/udi-owm-poly/blob/master/README.md Current condition node sys.node.[address].ST (Node sever online) sys.node.[address].CLITEMP (current temperature) sys.node.[address].CLIHUM (current humidity) sys.node.[address].BARPRES (current barometric pressure) sys.node.[address].WINDDIR (current wind direction ) sys.node.[address].DISTANC (current visibility) sys.node.[address].DEWPT (current dew point temperature) sys.node.[address].UV (current UV index) sys.node.[address].GV2 (current feels like temperature) sys.node.[address].GV4 (current wind speed) sys.node.[address].GV6 (current rain rate) sys.node.[address].GV7 (current snow rate) sys.node.[address].GV13 (current conditions) sys.node.[address].GV14 (current percent cloud coverage) sys.node.[address].GV18 (current percent chance of precipitation) Forecast node sys.node.[address].CLIHUM (forecasted humidity) sys.node.[address].BARPRES (forecasted barometric pressure) sys.node.[address].DEWPT (forecasted dew point temperature) sys.node.[address].UV (forecasted max UV index) sys.node.[address].GV19 (day of week forecast is for) sys.node.[address].GV0 (forecasted high temperature) sys.node.[address].GV1 (forecasted low temperature) sys.node.[address].GV2 (forecasted daytime feels like temperature) sys.node.[address].GV13 (forecasted conditions) sys.node.[address].GV14 (forecasted percent cloud coverage) sys.node.[address].GV4 (forecasted wind speed) sys.node.[address].GV6 (forecasted rain) sys.node.[address].GV7 (forecasted snow) sys.node.[address].GV18 (forecasted percent chance of precipitation) sys.node.[address].GV20 (calculated ETo for the day) Your 'address' is n001_weather for current conditions so just substitute n001_weather for [address] above. For the forecast nodes, it's probably n001_forecast_0, n001_forecast_1, etc. 2
Recommended Posts