# HG changeset patch # User Michiel Broek # Date 1712481900 -7200 # Node ID 8adbc76fd122287fe4f565b084734028888cfa3b # Parent fa39f9c0e219b216472af9f394a50cad7d1bb23e Version 0.9.17a3. Prepare for thermferm state tables. diff -r fa39f9c0e219 -r 8adbc76fd122 MIGRATION --- a/MIGRATION Sat Apr 06 17:21:29 2024 +0200 +++ b/MIGRATION Sun Apr 07 11:25:00 2024 +0200 @@ -55,3 +55,50 @@ Goto 2. 6. Exit state. + + + Flow thermferm. + --------------- + +Before: + Initialize all units. + Publish DBirth + Publish Startup + +States (nested): + + 1. Init. + 2. Check shutdown. + Check run_pause. + Wait for new minute. + 3. Update clock on display. + Show room temp/humidity. + 4. If THB changed or 5 minutes passed publish NData. + 5. For units loop. + + 1. Init. + 2. If air address + 3. If beer address + 4. If chiller address + 5. If door address + 6. If PSU address + 7. If unit->mode == UNITMODE_PROFILE + 8. If unit->mode == UNITMODE_NONE + 9. Usage counters + 10. If light address + 11. if ((unit->mode == UNITMODE_FRIDGE) || (unit->mode == UNITMODE_BEER) || (unit->mode == UNITMODE_PROFILE)) // Temp control active + 12. Update the LCD + 13. Set unit->mqtt_flag |= MQTT_FLAG_DATA after 60 seconds + 14. Publish what is needed. + 15. Handle alarms. + 16. End. + + 6. Show LCD buffer. + 7. 60 seconds reset and actions. + 8. Keyboard check. + 9. Delay 100 mSec and goto 2. + 10. Done. + +After: + Stop all units. + diff -r fa39f9c0e219 -r 8adbc76fd122 configure --- a/configure Sat Apr 06 17:21:29 2024 +0200 +++ b/configure Sun Apr 07 11:25:00 2024 +0200 @@ -2037,7 +2037,7 @@ PACKAGE="mbsePi-apps" -VERSION="0.9.17a2" +VERSION="0.9.17a3" COPYRIGHT="Copyright (C) 2014-2024 Michiel Broek, All Rights Reserved" CYEARS="2014-2024" diff -r fa39f9c0e219 -r 8adbc76fd122 configure.ac --- a/configure.ac Sat Apr 06 17:21:29 2024 +0200 +++ b/configure.ac Sun Apr 07 11:25:00 2024 +0200 @@ -8,7 +8,7 @@ dnl General settings dnl After changeing the version number, run autoconf! PACKAGE="mbsePi-apps" -VERSION="0.9.17a2" +VERSION="0.9.17a3" COPYRIGHT="Copyright (C) 2014-2024 Michiel Broek, All Rights Reserved" CYEARS="2014-2024" AC_SUBST(PACKAGE)