Developer Documentation
Access technical guides, API references, and tools for integrating Enyona's smart home solutions into your applications.
Quick Navigation
Getting Started
1. Create an Account
Sign up as a developer in the Enyona Partner Portal to obtain API credentials and create new projects.
POST /api/v1/oauth/token
Use your client credentials to authenticate and receive an access token.
2. Connect Smart Devices
Integrate with Enyona's IoT devices using the Device Management API.
curl -X POST "https://api.enyona.com/device/register" -H "Authorization: Bearer YOUR_TOKEN" -H "Content-Type: application/json" -d '{"deviceType":"relay","roomId":"living_room"}'
3. Monitor & Control
Use webhooks or polling to track energy usage and device status in real-time.
GET /api/energy/usage?deviceId=EN-48293 Authorization: Bearer YOUR_TOKEN
API Reference
Energy Usage Data
Retrieve historical and real-time energy consumption data for devices and locations.
Device Control
Send commands to smart home devices like turning lights on/off or adjusting thermostat settings.
Predictive Analytics
Get ML-powered energy usage forecasts based on historical data and weather patterns.
Developer Tools
API Sandbox
Test our APIs with realistic simulations of home energy systems.
SDKs
Ready-to-use code libraries for Python, Node.js, and other popular programming languages.
Debug Console
Interactive debugging tools for monitoring API calls and device interactions.