• 1.0.1 950ae0a4e9

    1.0.1 Stable

    Dejan released this 2026-04-20 16:28:19 +00:00 | 22 commits to main since this release

    Add licence program

    Downloads
  • 0.9.3 2d11e33039

    0.9.3 Stable

    Dejan released this 2026-04-20 04:26:38 +00:00 | 28 commits to main since this release

    • DB bug fixes (sql)
    • Add chart (black)
    Downloads
  • 0.9.2 79e5a0e269

    0.9.2 Stable

    Dejan released this 2026-04-19 15:44:54 +00:00 | 29 commits to main since this release

    • API for mqtt
    • added mqtt post/subscribe
    • added mqtt to the config.yaml file
    • varius bug fixes
    Downloads
  • 0.9.1 8d6076d046

    0.9.1 Pre-release

    Dejan released this 2026-04-19 10:41:27 +00:00 | 32 commits to main since this release

    added API for autoreaload and autoreload page

    Downloads
  • 0.9.0 8d6076d046

    0.9.0 Pre-release

    Dejan released this 2026-04-19 10:34:46 +00:00 | 32 commits to main since this release

    • Auto reload (need stil refresh) of page when yaml change
    Downloads
  • 0.8.2 bf7c924705

    0.8.2 Pre-release

    Dejan released this 2026-04-19 07:28:31 +00:00 | 34 commits to main since this release

    • Make digital gauge configurable enable/disable it.
    Downloads
  • 0.8.1 7a45ccb422

    0.8.1 Stable

    Dejan released this 2026-04-17 17:55:43 +00:00 | 35 commits to main since this release

    • added blur effect if PLC is disconected
    Downloads
  • 0.8.0 b1d69f1697

    0.8.0 Stable

    Dejan released this 2026-04-17 17:33:42 +00:00 | 37 commits to main since this release

    • added modules type to config

    • user can enable/disable modules

    Downloads
  • 7.0.1 8cd6e066e8

    7.0.1 Pre-release

    Dejan released this 2026-04-17 15:49:16 +00:00 | 38 commits to main since this release

    Bugs fixed

    • startAlarmWriter — was hardcoding 1000ms ticker and 32 batch size; now correctly uses cfg.DB.FlushIntervalMs and cfg.DB.BatchSize like startDBWriter does

    • alarmCh queue — was hardcoded 512; now uses new cfg.DB.AlarmQueueSize field (default 512, but configurable)

    • buf := make([]byte, 8) — moved outside the inner PLC poll loop (was heap-allocating every 500ms)

    Design improvements

    • PressConfig.MAX_TONNAGE → renamed to MaxTonnage (idiomatic Go); YAML tag stays MAX_TONNAGE so existing config files need no changes

    • classifyForceDirection + classifyImbalanceDirection — merged into one classifyDirection(delta, oldCount, newCount, stableThreshold, posLabel, negLabel) function

    • Graceful shutdown — signal.NotifyContext with SIGINT/SIGTERM; all four goroutines accept context.Context, drain their queues on shutdown, HTTP server does a clean srv.Shutdown()

    • normalizeConfig — replaced ~100 lines of repetitive if-chains with setIfZeroF / setIfZeroI / setIfEmpty helpers

    Polish

    • version = "0.7.1" constant at package level

    • cachedUI — HTML template rendered once at startup, served as []byte instead of re-executing the template on every request

    • maybeLogPLCDisconnected — simplified the double-condition check into a single guard clause

    Downloads
  • 7.0.0 7bc2adae0d

    7.0.0 Pre-release

    Dejan released this 2026-04-17 15:39:31 +00:00 | 40 commits to main since this release

    • add alarm event
    • optimizing code
    Downloads