Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This model compares the actual temperature of a room to what it is set at. It requires that the the setpoint have maxVal set on the point in DB Builder.

Completed Model (Basic)

Download: RactiveTemperatureSetpoint.zip

...

  • Bring Ractive out from components on the left side menu, and click on it to have the green outline

    Image RemovedImage Added
  • Under properties open the ractive editor, and copy and paste from the Ractive Code given above for template, model, style, and init

  • After copying and pasting, should look like the screenshots below

    Image RemovedImage RemovedImage AddedImage Added
  • After saving go to programs and add a new program

    • Name your program, and set the program target filter to stackractive

    • Top right of program editor, click the three dots, and select variables

    • Click the gear that appears as you hover over this variable

    • Turn Invokes the Function on and change the dropdown to Custom Event

    • Type in obtainData in the line below and save

    • Click on the + next to “Program Vars” to add another variable

    • Give it a name and set the filter of that variable to targetPoint and virtualPoint and save it

    • Copy and paste the above code for program into the main part and save

  • Save and you're done!