ym88659208ym87991671
How integration works Cloud to Cloud | Documentation for developers

How integration works

Last updated on August 26, 2022

To implement an integration, you will need to do some development: deploy an OAuth2 server for authentication purposes and create a bridge that will transform Sber Smart Home queries into your system's API queries and return a response. Besides, the bridge may send queries to Sber Smart Home API in an agreed format – this is not necessary, but we recommend that you implement this feature, too.

Integration becomes available to users after moderation. To control your devices via Sber Smart Home, the user will need to link his/her Sber ID with his/her account in your system using the Salute app: select your smart home and enter password. If authentication is successful, a user access token is generated – Sber Smart Home will use it to direct queries to your cloud.

The smart home will then request the list of user's devices from your cloud and import them: the devices will become visible in the Salute app, on SberPortal, SberBox and other devices with Salute assistants. The user will be able to control them.

Device control example:

  1. A user turns off your lamp in the Salute app.
  2. The Salute app relays the command to Sber Smart Home.
  3. The Smart Home applies the user access token and transmits the command to your cloud.
  4. The bridge translates the command received into your system API format.
  5. Your API sends the command to the device. The lamp goes off.
  6. Your API returns the new device state ("off") to Sber Smart Home via the bridge.
  7. The Smart Home changes the lamp status: it is reflected as turned off in the Salute app and on devices with Salute assistants.
Sber process cookies only to personalize services according to Cookies Usage Policy. You can prevent the processing of cookies in your browser settings.