Merge v1.4.1 from dev #2
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,11 +1,20 @@
|
||||
# Changelog
|
||||
All notable changes to **Series3 Agent** will be documented in this file.
|
||||
All notable changes to **Series 3 Watcher** will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
---
|
||||
|
||||
## [1.3.0] - 2026-03-12
|
||||
|
||||
### Changed
|
||||
- Renamed program to "series3-watcher" and main script to `series3_watcher.py` — better reflects what it does (watches for activity) rather than implying active data emission.
|
||||
- Default `SOURCE_TYPE` updated to `series3_watcher`.
|
||||
- Default log filename updated to `series3_watcher.log`.
|
||||
|
||||
---
|
||||
|
||||
## [1.2.1] - 2026-03-03
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Series3 Ingest Agent v1.2
|
||||
# Series 3 Watcher v1.3
|
||||
|
||||
A lightweight Python script that monitors Instantel **Series 3 (Minimate)** call-in activity on a Blastware server.
|
||||
|
||||
@@ -30,7 +30,7 @@ Install dependencies with:
|
||||
|
||||
Run the agent from the folder containing the script:
|
||||
|
||||
`python series3_agent.py`
|
||||
`python series3_watcher.py`
|
||||
|
||||
The script will:
|
||||
|
||||
@@ -74,7 +74,7 @@ Git ignores all log files but keeps the folder itself.
|
||||
|
||||
This repo follows **Semantic Versioning (SemVer)**.
|
||||
|
||||
Current release: **v1.2.1** — renamed to series3 ingest agent.
|
||||
Current release: **v1.3.0** — renamed to series3-watcher.
|
||||
See `CHANGELOG.md` for details.
|
||||
|
||||
---
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Series 3 Ingest Agent — v1_0(py38-safe) for DL2
|
||||
# Series 3 Watcher — v1_0(py38-safe) for DL2
|
||||
|
||||
**Target**: Windows 7 + Python 3.8.10
|
||||
**Baseline**: v5_4 (no logic changes)
|
||||
|
||||
@@ -5,7 +5,7 @@ API_ENABLED = true
|
||||
API_URL =
|
||||
API_INTERVAL_SECONDS = 300
|
||||
SOURCE_ID = #computer that is running agent.
|
||||
SOURCE_TYPE = series3_agent
|
||||
SOURCE_TYPE = series3_watcher
|
||||
|
||||
# Paths
|
||||
SERIES3_PATH = C:\Blastware 10\Event\autocall home
|
||||
@@ -19,7 +19,7 @@ MISSING_HOURS = 24
|
||||
|
||||
# Logging
|
||||
ENABLE_LOGGING = True
|
||||
LOG_FILE = C:\SeismoEmitter\agent_logs\series3_agent.log
|
||||
LOG_FILE = C:\SeismoEmitter\agent_logs\series3_watcher.log
|
||||
LOG_RETENTION_DAYS = 30
|
||||
|
||||
# Console colors - (Doesn't work on windows 7)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
Series 3 Ingest Agent — v1.2.1
|
||||
Series 3 Watcher — v1.3.0
|
||||
|
||||
Environment:
|
||||
- Python 3.8 (Windows 7 compatible)
|
||||
@@ -63,7 +63,7 @@ def load_config(path: str) -> Dict[str, Any]:
|
||||
"OK_HOURS": float(get_int("OK_HOURS", 12)),
|
||||
"MISSING_HOURS": float(get_int("MISSING_HOURS", 24)),
|
||||
"ENABLE_LOGGING": get_bool("ENABLE_LOGGING", True),
|
||||
"LOG_FILE": get_str("LOG_FILE", r"C:\SeismoEmitter\agent_logs\series3_agent.log"),
|
||||
"LOG_FILE": get_str("LOG_FILE", r"C:\SeismoEmitter\agent_logs\series3_watcher.log"),
|
||||
"LOG_RETENTION_DAYS": get_int("LOG_RETENTION_DAYS", 30),
|
||||
"COLORIZE": get_bool("COLORIZE", False), # Win7 default off
|
||||
"MLG_HEADER_BYTES": max(256, min(get_int("MLG_HEADER_BYTES", 2048), 65536)),
|
||||
@@ -75,7 +75,7 @@ def load_config(path: str) -> Dict[str, Any]:
|
||||
"API_URL": get_str("API_URL", ""),
|
||||
"API_INTERVAL_SECONDS": get_int("API_INTERVAL_SECONDS", 300),
|
||||
"SOURCE_ID": get_str("SOURCE_ID", gethostname()),
|
||||
"SOURCE_TYPE": get_str("SOURCE_TYPE", "series3_ingest_agent"),
|
||||
"SOURCE_TYPE": get_str("SOURCE_TYPE", "series3_watcher"),
|
||||
}
|
||||
|
||||
|
||||
@@ -239,7 +239,7 @@ def build_sfm_payload(units_dict: Dict[str, Dict[str, Any]], cfg: Dict[str, Any]
|
||||
|
||||
payload = {
|
||||
"source_id": cfg.get("SOURCE_ID", gethostname()),
|
||||
"source_type": cfg.get("SOURCE_TYPE", "series3_ingest_agent"),
|
||||
"source_type": cfg.get("SOURCE_TYPE", "series3_watcher"),
|
||||
"timestamp": now_iso,
|
||||
"units": [],
|
||||
}
|
||||
Reference in New Issue
Block a user