How grahamwetzler/smart-meter-texas works
Smart Meter Texas is an asynchronous Python client for the unofficial Smart Meter Texas API. Its main workflow authenticates an account, fetches associated meters, and retrieves meter readings; it also supports interval data and documents dashboard retrieval. The sampled source shows the account, meter, and HTTP-client behavior in one package module, plus shared constants and exception types. Dashboard implementation details were not sampled, so its connection is documented but unverified.
Main entry points: __init__.py API client · const.py API constants · exceptions.py Exceptions
Components 10
API client
- Account
smart_meter_texas/__init__.py - API client
smart_meter_texas/__init__.py
Meter data
- Meter lookup
smart_meter_texas/__init__.py - On-demand reading
smart_meter_texas/__init__.py - Interval data
smart_meter_texas/__init__.py - Dashboard retrieval
smart_meter_texas/__init__.py
Shared definitions
- API constants
smart_meter_texas/const.py - Exceptions
smart_meter_texas/exceptions.py
Other components
- Package user
- Smart Meter Texas
Connections 9
- Package user → Account: uses
- Account → API client: requests through
smart_meter_texas/__init__.py - Meter lookup → API client: requests through
smart_meter_texas/__init__.py - On-demand reading → API client: requests through
smart_meter_texas/__init__.py - Interval data → API client: requests through
smart_meter_texas/__init__.py - API client → Smart Meter Texas: sends HTTP requests
smart_meter_texas/__init__.py - API client → API constants: imports
smart_meter_texas/__init__.py - API client → Exceptions: imports
smart_meter_texas/__init__.py - Dashboard retrieval → Smart Meter Texas: retrieves dashboard
README.rst