In the Sonos API reference documentation there is an example for how to allow the user to select a household in case multiple households are associated with the connected user account
https://developer.sonos.com/build/seg/discover/
In the Sample Screenshot at the bottom, the text says "Make sure that this device and the Sonos system are on the same WiFi network."
Am I correct to assume this is only a recommendation and not a requirement?
The Sonos API is cloud based, so I would assume it does not matter if the device and the Sonos system are connected to the same Wifi Network?
Also, using the Sonos API, would there even be a way to determine to which WiFi network the Sonos System is connected?
Does the Household ID contain any information about the WiFi SSID?
Thank you for the help
Am I correct to assume this is only a recommendation and not a requirement?
This is correct, this is a recommendation, with regards to discovery. More broadly, however, if you want to have a Sonos speaker interact with a specific Sonos system, it has to be on the same network. For instance, all speakers in a single household should be on the same network.
The Sonos API is cloud based, so I would assume it does not matter if the device and the Sonos system are connected to the same Wifi Network?
Your assumption is correct; since the Sonos API is cloud-based, you can access and control the Sonos system regardless of what network you are on.
Also, using the Sonos API, would there even be a way to determine to which WiFi network the Sonos System is connected?
Does the Household ID contain any information about the WiFi SSID?
No, there currently is not any way to get information regarding the WiFi SSID using the Sonos API nor Household ID.
For more on Discovery, see https://developer.sonos.com/build/direct-control/discover/.
Related
Is it possible to use the WhatsApp business API to communicate with users and also allow them to forward content from WhatsApp directly to our application. For example enabling Web-hooks for different WhatsApp channels to receive the messages from those channels. If yes, can someone guide me how can we implement this feature? and how can we authorize those channels with our WA business account
Finding sources/documentation for developing needed feature
Whatsapp API allows you to Broadcast messages to Unlimited Users, automate notifications, integrate Chatbots, provide Live Chat on Multiple devices and many more functions. Install the WhatsApp Business API Client and then Install your API client. Once your client is working, you can update your application settings. Start using the client, Register your phone number with an API call to /account and send a test message with a call to /messages . let me know if u find this helpful.
Yes, it is possible. The WhatsApp Business Platform allows medium and large businesses to communicate with their customers at scale. Using their APIs, businesses can connect thousands of agents and bots to interact with customers programmatically and manually. Additionally, the APIs can be integrated with numerous backend systems, such as CRM and marketing platforms
Here is the link for the documentation: https://developers.facebook.com/docs/whatsapp/overview
Link for different types of webhooks:
https://developers.facebook.com/docs/whatsapp/webhooks
There are multiple ways given in the documentation. But keep in mind, do read the documentation carefully, they have their updated and the previous version so use them as per your requirements.
I checked the device is paired with Tuya Smart App, and then use the device Id in Tuya Smart APP for control; I confirm the Id of the device to be controlled is correct.
I tried it a few times with the engineer,there are several situations:
The device to be controlled is not an OEM App created by the developer on the Tuya Open Platform; or the Tuya Smart APP is used to pair the device and then control the device through an interface call.
solution:
First check if the device is paired with Tuya Smart APP, and then use the device Id in Tuya Smart APP for control;
Then check whether the Id of the device to be controlled is correct and whether it is from an OEM APP created by its own developer account or an APP developed based on the SDK;
In the end, you need to make sure that the device and product created by the OEM APP created under your developer account can be controlled through the cloud-cloud docking API call.
The device requested to be controlled has been removed, restored to factory settings, or re-configured to the network.
solution:
If the device has been removed, please re-configure the network and add it in the APP;
Re-obtain the device list and refresh the device ids to be controlled.
Interface parameter passing error.
solution:
Check if the following parameters are correct:
The device id is wrong. Note that the device id is not uuid.
The area url is wrong. Pay attention to the area where the device is paired. At the same time, call the interface address of the corresponding area.
there are 3 different api explorer calls to retrieve the status, only one works for me: https://openapi.tuyaeu.com/v1.1/iot-03/ (General Device Management -> Get Device Information)
I'd like to write an app that lets friends, who visit my place, control my devices using the Sonos API.
My friend is connected to my Sonos home (connect to the same wifi, open Sonos app, select "Connect to an existing system").
The household API only returns my friend's existing household, but not mine. This means that he can't query the groups or perform any playback/start/pause operation using the Sonos API.
Is there any way my friend would be able to control my devices using the Sonos APIs?
Thanks!
When a user authorizes an app to access their Sonos account, only that user's household(s) are visible to that app. The fact that the user is on another Sonos owner's LAN is not relevant, as all communication goes through the cloud.
The only way for user A to access user B's household is for user B to login to user A's app themselves.
Use case: I want to provide Live Stream option on my website & users can opt to live steam imp moments to their Network. i.e. multiple users can live steam the multiple videos at the same moment.
Is it feasible to let multiple users live stream simultaneously via Youtube Live Stream API?
If not Youtube API, is there any other reliable service provider?
Mobile browser support is essential (lite weight solution)
Recently google has added multiple user support to the assistant so how would use the API to identify the person by voice?
It depends what you mean by "identify the person".
There is no way for an Action to get the raw audio, so there is no way for it to do voice printing or anything along those lines.
Although each voice has to be reported against a Google User ID, you do not have direct access to that user ID.
What developers do have access to is a UID that is sent along with each request to your fulfillment server. This UID is consistent across requests, although it can be reset by a user (for example, if they reset their Google Home). You can think of this the same way you think of an HTTP cookie - you can track the UID and, if you see it again, have reasonable assurance it is the same user that accessed it last time. This breaks down, however, for the "default" account on Google Home, since anybody who doesn't have an account will map to this user.
Beyond this, you can also use Account Linking to connect a Google Account consistently to an account in your own system. If you have sufficient authentication in place, or are using one from Google or Facebook for example, this can act as an identity.
There isn't an API for developers to identify users by voice.