Commit Graph

7 Commits

Author SHA1 Message Date
b1ba8b9fab Use ping RTT for SNMP checker latency
Ping the host first to check availability and measure actual network
latency. Only proceed with SNMP query if the host is reachable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 19:49:26 +01:00
624e3e7633 Fix SNMP latency to exclude Slim instance creation overhead
Move time measurement to only capture the actual SNMP GET request,
excluding the Slim() context manager initialization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 19:44:14 +01:00
b0d571ae26 Add French docstrings and README
- Docstrings for all modules, classes and methods
- README.md with installation and usage instructions
- Update CLAUDE.md with dns.py

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:25:20 +01:00
9f3c052e2a Fix temperature duplication in MQTT payload
Temperature now only appears at root level, not in details.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:13:49 +01:00
10fad0d9f3 Add optional temperature support to SNMP checker
- New temperature_oid config parameter
- Temperature published as integer via MQTT
- Auto-creates Home Assistant temperature sensor via MQTT Discovery

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 17:47:01 +01:00
f70bf69133 Fix SNMP checker for pysnmp 7.x API
Migrate from deprecated hlapi to v1arch.asyncio with Slim wrapper.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 17:08:16 +01:00
02b14979bc Initial commit: LAN Checker
Network health monitoring script with MQTT reporting for Home Assistant.
- Ping, HTTP, and SNMP checkers
- MQTT Discovery for automatic entity creation
- Configurable check intervals

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 16:22:55 +01:00