Jump to content

ClimaCell Day of Week Node Question


wrj0
Go to solution Solved by bpwwer,

Recommended Posts

Posted

@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
Posted

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? 

 

Posted

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.

Posted

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.

Guest
This topic is now closed to further replies.

×
×
  • Create New...