github claesmathias/telenet_telemeter v3.1.0

latest releases: v3.2.3, v3.2.2, v3.2.1...
28 days ago

v3.1.0

New: Announcements sensor

A new telenet_telemeter announcements sensor surfaces Telenet inbox messages with unread_count as state and a messages list attribute.

Internet sensor — GB instead of %, correct FUP accounting

  • State now shows GB (usage_gb) instead of percentage
  • FUP/TURBO plans: state uses the API's authoritative FUP counter (productUsage.totalUsage.units) — only peak traffic counts towards the 3 TB soft cap; off-peak counts 0%
  • New attributes: peak_usage_gb, offpeak_usage_gb, total_downloaded_gb
  • used_percentage still available as attribute

Mobile sensor — GB instead of %

  • State now shows used data in GB (e.g. 40.61) instead of 0% for unlimited plans
  • _usage_gb added as explicit attribute
  • Unit changed from % to GB

Robustness

  • mobileUsage / mobileBundleUsage: retry on transient 429, fast-fail on Cloudflare HTML block instead of crashing
  • Mobile sensor no longer raises AssertionError when usage endpoint is temporarily unavailable — keeps previous state with a warning log

Tests

  • Live integration tests added under tests/test_live_api.py

Don't miss a new telenet_telemeter release

NewReleases is sending notifications on new releases.