このページの日本語版はまだありません。以下は英語の原文です。
Implementation contract
Keep decoding separate from network access. The decoder converts a vendor payload into supported metrics; the provider handles credentials, requests, callbacks and synchronization. The provider contract includes:format_data(self, fmt_input: FormatDataInput) -> StandardPulseData_validate_credentials(self, credentials: dict)
Registration
Add the provider directory toPROVIDER_DIRS, retaining the default:
mirobody.providers entry point.
Use synthetic payloads to check unit conversion, timestamp handling, missing
fields, repeated deliveries and authentication failures before connecting real
accounts. Logs must not contain readings or credentials.
The provider guide includes complete class examples,
OAuth and webhook handling, decoder samples and registration details.
For existing integrations, see Device Providers.