SDKs, code samples, and sandbox
- Best practices for contributing to Leafy Energy code samples
- Versioning, API versions and breaking changes
- Error handling and retry patterns in Leafy Energy SDKs
- Sample app: dynamic pricing dashboard for retail
- Sample app: cloud-based EV charging control service
- Sandbox environment and test data for developers
Example integrations with Home Assistant and Homey
- Best practices for Leafy Energy integrations in Home Assistant and Homey
- Debugging Leafy Energy automations in Home Assistant
- Sharing blueprints and example flows with your team
- Building notifications with Leafy Energy events in Homey
- Combining EV charging and home battery in Home Assistant
- Automation: controlling an electric boiler with Leafy Energy (Homey)
Leafy Energy API: first steps
- Using the Leafy Energy API with Postman or other API clients
- API versioning and backwards compatibility
- Data model: customers, sites, devices and sessions
- Pagination and filtering in the Leafy Energy API
- Error handling and common API error codes
- API environments: sandbox vs production
Authentication and security
- Privacy-by-design in Leafy Energy integrations
- Logging, auditing and who did what
- Securing home automation integrations (Home Assistant and Homey)
- Securely storing secrets in CI/CD and environment variables
- Rate limiting and protection against abuse
- Scopes and permissions for API access
Webhooks and event notifications
- Testing webhooks with tools like ngrok and RequestBin
- Sending charging and battery events to external systems
- Using webhooks for dynamic price notifications
- Retries, timeouts and making your endpoint robust
- Idempotency and handling duplicate webhook events
- Signing and verifying Leafy Energy webhooks