shinemonitor-api
Rust client for the ShineMonitor REST API (api.shinemonitor.com) —
the cloud backend used by WatchPower, SolarPower, and other vendor
companion apps for Voltronic-derived inverters. Sibling of the
Python and
Go
clients in the same repo.
[]
= "0.6"
Usage
use ShineMonitorAPI;
Errors
Non-zero err codes from the vendor surface as ApiError:
match api.login
Configuration
let api = new
.with_base_url
.with_suffix_context
.with_company_key;
Defaults pin the request fingerprint to the WatchPower Android app (reverse-engineered company key + suffix). Override only when targeting a different vendor app.
Testing against the mock
Integration tests in tests/mock.rs spawn the Python mock server
(shinemonitor-mock) as a subprocess. Set SHINEMONITOR_MOCK_PYTHON
to a Python interpreter that has the package installed, or run
uv sync in ../python/ first.
Repo
github.com/davidsmfreire/shinemonitor-api — spec, codegen, mock server, and the Python/Go siblings live there.