...
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
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
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
variableTurn 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 itCopy and paste the above code for program into the main part and save
Save and you're done!