Tuya cloud API-Card management using API - locking

I need to configure cards using tuya cloud API, which devices supported for the card management using API.Without using sensor tap.

Related

Looking for REST calls to send telemetry data to Azure IoT Hub without using Azure IoT SDK

I am working with a device that cannot include Azure IoT SDK. It can only send HTTO calls.
Is there any guide explain the simplest REST calls that allow my device send telemetry data to Azure IoT Hub?
Azure IoT Hub also offer the REST API to Send a device-to-cloud message.
The REST APIs for IoT Hub offer programmatic access to the device, messaging, and job services, as well as the resource provider, in IoT Hub. You can access messaging services from within an IoT service running in Azure, or directly over the Internet from any application that can send an HTTPS request and receive an HTTPS response.
You can use the Send Device Event for sending device-to-cloud message.
POST https://fully-qualified-iothubname.azure-devices.net/devices/{id}/messages/events?api-version=2020-03-13
You can go through the below documentations for more details.
Azure IoT Hub Device Rest API Operations and Azure IoT Hub REST API

How can i use web speech api and agora.io simultaneously?

I am using Agora.io for a web application (web SDK). I would like to use the web speech api on top of streaming video and audio. The web speech api works as long as I do not have a stream running.
It looks like the Agora.io web SDK monopolize the microphone and kicks out the web speech api listeners.
Is there a way to use the microphone in different contexts simultaneously?
This is not possible due to browser limitations. Web speech APIs do not give out a mediastream object or accept a mediastream. So WebRTC can't work in tandem with this.
You can try google speech-to-text API. It works well with mediastreams.

Is there a JAVA sdk for Iot Hub Resource?

I'm looking for CRUD Java APIs for IoT Hub. I'm specifically looking for the java equivalent for this REST API (https://learn.microsoft.com/en-us/rest/api/iothub/iothubresource).
I was able to find APIs to create/register devices and send/receive messages but wasn't able find APIs to CRUD Azure IoT hub.
The Azure IoT Hub provided different endpoints for manipulate it. These endpoints can be classified as device, service, resource provider, etc(More detail about endpoints of Azure IoT Hub, please refer Azure IoT Hub endpoints).
And Microsoft provide the SDK in different lanuages for Azure IoT hub based on the different endpoints. For example, Microsoft provides C# SDK for Azure IoT Hub for the device and service endpoints named client library(refer here). And Microsoft also provides the C# SDK for the resource provider as Management.
However there is no JAVA SDK for the resource provider for Azure IoT Hub(refer here). You can use the REST in Java for resource provider endpoint of Azure IoT hub. The REST of CRUD Azure IoT Hub, you can refer the links below:
Create Or Update
Delete
Get
In-addition, if you also want Microsoft to provide the Azure IoT resource provider Java SDK, you can vote the feedback from link below:
Azure IoT Hub management SDK for Java

Does Bluemix support MBaaS (Mobile Backend as a Service)?

I am reading about and then trying to use IBM Bluemix. I have seen some confusing statement about MBaaS support on Bluemix. Some sites mention that Bluemix is a PaaS, and some places say it supports MBaaS. I have basic doubts: does IBM support MBaaS? If yes, where can I find the full MBaaS features list for IBM Bluemix? I couldn't find it in IBM site.
You're correct: Bluemix is a PaaS. However as you probably know and as you can see here:
Mobile backend as a service (MBaaS) enables you to quickly integrate
your mobile apps with data and functions in security-rich, backend,
cloud storage. MBaaS is usually delivered through a set of custom
software development kits (SDKs) and application programming
interfaces (APIs). MBaaS can offer you full data synchronization, user
management, push notifications, integration with social networking
services, and file-handling.
A PaaS provides SDKs and APIs and for this reason it can support MBaaS. In Bluemix the MBaaS capabilities are provided by the MobileFirst platform. It is designed for building and enhancing multiplatform, enterprise-grade apps that can be native or hybrid – for Android, iOS, and Windows. You can get started here.
Yes, Bluemix Mobile supports a Mobile Backend as a Service.
Here are the current services that we have that support the MBaaS pattern and a bit of information about them (and here's a quick graphical view and some links for how to get started):
Mobile Client Access
This service enables you to secure your Mobile Application. You can add Facebook, Google, or custom authentication to your application.
Push Notifications
You can add the Push Notifications service to send push notifications to your app on Android and iOS.
Mobile Analytics (Beta)
The Mobile Analytics service enables you to gather crash and usage knowlege about customers using your mobile app.
Cloudant NoSQL DB
The Cloudant service is the IBM NoSQL database to store your data.
Object Storage
The Object Storage service is an unstructured cloud data store where you can store things like images or files.
Mobile Foundation
The catalog also includes the Mobile Foundation service which you can use to create a test environment before deploying or purchasing the on-premise software. This service is another way for enabling a developer to create a mobile channel.
You may have a look at this :
http://www.ibm.com/mobilefirst/mobile-backend-as-a-service/mbaas.html

Subscribing Tags in Google Cloud messaging

I'm working with Windows Azure Notification Hub and Android, testing the notifications push service through GCM. I'm using tags, pushing notifications from a Web application (back-end) integrated with Windows Azure.
The issue is: I don't know how to subscribe from an Android App to listen to those tags.
Create a Custom API with Azure Mobile Apps Server SDK. This should take the device registration Id and then do the registration with Notification Hubs. Azure Mobile Apps Server SDK wraps the Notification Hubs SDK for this purpose.
In your client, you can follow the appropriate Client SDK tutorial on push (Android is here), but use InvokeApi to invoke your custom API to do the registration instead of calling client.getPush().register().
Another good reference is the Android Client HOWTO Docs.