Announcement

Collapse
No announcement yet.

Pushalot: Use of (replacement) variables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    I have just posted 3.0.0.5 in the updater that supports line breaks. Just insert \r or \n in the message to insert a line break.
    stefxx

    Comment


      #17
      GlobalVar as replacement var from WeatherXML

      Originally posted by dcdelong View Post
      Being able to leverage the global variables would be nice as well. WeatherXML uses them heavily.

      $$GLOBALVARname): Replacement is the value of the named global variable.

      Chris
      Has anyone gotten this to work in the UI logic. For example, I want to write the WeatherXML wxmltemp_1 (outside temp) to a RCS thermostat, so I need to get the wxmltemp_1 global variable and use it as a replacement variable in a call (see attached screenshot).

      Anyone have success using a Globalvar as a replacement variable this way? I've tried scripting and haven't had any luck with this, but mostly because there doesn't appear to be a way to send outside temp to the RCS Serial T-Stat in the API exposed to scripting. If I replace the Globalvar in the screenshot with actual digits, that temp shows up on the thermostat.
      Attached Files

      Comment


        #18
        This question has nothing to do with Pushalot, but I think you need to remove the parentheses...

        The $$GLOBALVAR does work with Pushalot, I tested it myself.
        stefxx

        Comment

        Working...
        X