thegridelectric / gw-scada-spaceheat-python

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

Simple sensor should have option to only read sensor at slow poll rate. #209

Open anschweitzer opened 1 year ago

anschweitzer commented 1 year ago

Currently _iterate() samples every iteration. This is useful for cases where we want to report a large change quickly but other changes more slowly. It is wasteful, however, for cases where we only ever report at the slow rate. We should make simple sensor support both via configuration.