2. Endpoints
The LIVISI Home Client API offers 4 major endpoints that handle different areas of the system. Additional the uni-directional WebSocket connection (part of the Home API) is used to send events to the client.
Authorization API
Offers support for login (OAuth login page, credentials validation, token generation, token validation, etc.)
https://api.services-smarthome.de/AUTH/
Home API
Offers support for working with smart home related features (products, devices, capabilities, locations, interactions, messages etc.)
https://api.services-smarthome.de/API/1.1/
Account API
Offers support for account management (CRUD operations for accounts, creating relationships between accounts, inviting users, etc.)
https://api.services-smarthome.de/ACCOUNT/1.1/
Data API
Offers support for stored data like device activities, images, utility data (power, energy, etc.)
https://data.services-smarthome.de/DATA/1.1/
WebSocket
Offers support for receiving events like stateChanged
events.
wss://api.services-smarthome.de/API/1.1/events?token=<accessToken>