wrj0 Posted July 12, 2022 Posted July 12, 2022 @bpwwerI'm running both WeatherBit and ClimaCell node servers in PG3 and notice a difference in the way they report the GV19 node (day of week forecast is for) in email variable substitutions. WeatherBit NS ${sys.node.n001_forecast_0.GV19} returns "Tuesday" ClimaCell NS ${sys.node.n006_forecast_0.GV19} returns "1" Yet, both Node Servers show 'Tuesday" in the Admin Console Day field on their respective Forecast 0 screen. Am I missing something in how to properly use GV19 in the ClimaCell NS? Thanks.
Solution bpwwer Posted July 12, 2022 Solution Posted July 12, 2022 The profile files define the mapping between the numbers and the text. For email variable substitutions, the ISY (or IoP) is what should be replacing the number with the text. The admin console reads the profile files and does the same number for text replacement. So if the admin console is able to read and map the number to the text, then the node server files are fine. I believe the ISY/IoP only reads the mapping when it starts so is it possible you haven't restarted the ISY since installing ClimaCell?
wrj0 Posted July 13, 2022 Author Posted July 13, 2022 That was it! Restarting the ISY fixed the variable substitution; today, both report "Wednesday". Apologies for bugging you on this one, but many thanks for both your support and for your work on the node servers.
bpwwer Posted July 13, 2022 Posted July 13, 2022 Glad it was that easy Having a way to have the ISY and the admin console reload those files without having to restart them has been on the list of things to add for a while now, but below other priorities.
Recommended Posts