thegridelectric / gw-scada-spaceheat-python

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

Improve TSnapI2cReadWarning event.problem reporting when analog temp sensor disconnected #201

Open jessicamillar opened 1 year ago

jessicamillar commented 1 year ago

Analog temp sensors may become disconnected at or after install. This should result in something high visibility and somewhat annoying (like an hourly reminder in a slack channel). It should not generate messages multiple times a second. Right now drivers/multipurpose_sensor/gridworks_tsnap1__multipurpose_sensor_driver.py generates an event.problem message (TSnapI2cReadWarning) message 3-4 times a second if a thermistor gets disconnected and/or hardware_layout is misconfigured.

This requires some thinking: how to flag this as important, but not clog the comms channel with it?