Skip to content

Releases: thomasnorris/BoilerControl

File Safety and Conditional CSV Creation

10 Nov 00:14
470b255
Compare
Choose a tag to compare

Schedules will now only execute if there is not a call for gas and the well is recharged. This is because if those two conditions are not true, then there is a high chance that the system is reading/writing to files, so any kind of file deleting/manipulation is not recommended.

In addition:

  • If the db gets deleted, a new one will be created without touching the csv file, unless the csv file was deleted as well.
  • If the db gets goofed up (cleared), PM2 will restart the process since something will error, and on startup a new db will be created. Any data that was in the deleted db will be lost, but the system will not break.

Database Refreshing

09 Nov 01:54
df3c82d
Compare
Choose a tag to compare

Minor updates include:

  • The DB willl be refreshed every 24 hours so that the DB file is fresh every day.
  • In the event of a total restart (starting from no data at all) the well will start fully charged and will be used first.
  • CSV files created after an archive will not have any duplicate data

Initial Release

06 Nov 20:47
Compare
Choose a tag to compare

Recreation of the PLC well-switching system with added logging and smart monitoring via Blynk.