thegridelectric / gw-scada-spaceheat-python

GridWorks SCADA for space heating
MIT License
5 stars 2 forks source link

Jm/pumpstat #154

Closed jessicamillar closed 1 year ago

jessicamillar commented 1 year ago

Updated nofreeze script so that it is not open loop but instead turns on/off relays on the basis of temperature readings. There are two separate crude control loops: one for keeping the tank of water warm enough, and one for keeping the circulator pumps warm enough.

This script is implemented as a hack on the atn stub. However, it can also act as a template for the first homealone proactor.

codecov[bot] commented 1 year ago

Codecov Report

Merging #154 (848daaf) into main (736adc8) will decrease coverage by 0.00%. The diff coverage is 92.30%.

@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
- Coverage   89.45%   89.45%   -0.01%     
==========================================
  Files         217      217              
  Lines       13148    13132      -16     
==========================================
- Hits        11762    11747      -15     
+ Misses       1386     1385       -1     
Impacted Files Coverage Δ
tests/atn/run.py 32.72% <60.00%> (-2.37%) :arrow_down:
tests/atn/__init__.py 100.00% <100.00%> (ø)
tests/atn/atn.py 91.78% <100.00%> (-0.53%) :arrow_down:
tests/atn/atn_config.py 96.55% <100.00%> (+0.12%) :arrow_up:
gw_spaceheat/actors/simple_sensor.py 98.07% <0.00%> (+1.92%) :arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more