Integrating IoT device with Amazon Alexa - api

I am currently working on a IoT device (Air Quality Monitor)
I am little confused how to provide Amazon Alexa integration with this device, could someone shed some light on this.?
I did make a Google Smart Home connection based on this ask. Now i have a success connection with google home and i'm interesting to make a similar connection for Amazon Alexa and Apple Siri (if possible).
Note: I not use Amazon Web Services!!
Thanks in advance

You have two options: either implement your own skill, or use a predefined voice model that Alexa Smart Home provides. The later should be faster, since you don't need to create your own voice model.

Related

Using Sonos API even though server is not on the same internet - Sonos SOCO & WayScript

I have made a script that uses the library SOCO, to play songs on my Sonos. I have deployed this script at WayScript. The issue is that WayScript runs it's scripts on it's own server, which isn't connected to my internet.
Therefore, when I try to connect to my Sonos device: SoCo('192.168.1.10'), it can't connect... obviously.
So what do I do? Maybe Sonos provides another way to interact with their devices, even though the server is not connected to the same Wi-Fi.
Thanks in advance,
Villads
Use the Sonos Cloud API, which does not require access to your local Wifi network. https://developer.sonos.com/reference/control-api/

Adobe Media Server Alternative for VideoChat

I currently have a video chat app working on web(Flash) and android via Adobe AIR, it uses Adobe Media Server (RTMP) as backend for video streaming and shared objects, my question is, if there is another server or solution that provides many to many live video broadcast maybe using H.264 codec from android and iOS, have some sort of user list and room list stored in a database or similar, I want to move away from Adobe as it has many limitations on mobile devices.
Live video is crucial in 1 to many broadcasts that will have hundreds of viewers at the same time.
Thanks for reading!
Ulex.fr created an RTMP connector for Asterisk (the free PBX platform).
Used with the Asterisk Vonference application, it allows you to create conference rooms for 1 to many configuration, with audio and video. The only one limitation is the power of your server. You can plan a scalable architecure in order to broadcast one video to many (many could be unlimited). We developp a specific protocol to connect and manage the connection based on the telephony events. I think we already done a direct RTMP connection that skip this protocol too.
All the project done by ulex.fr is free, OpenSource and GPL.
Get the full project here : https://github.com/voximal/asterisk-rtmp
(a live demo is available)
We already develop an RTMP stack for android with video (using the camera), this allows you to create your own application without using AIR.
You can check Adobe Cirrus, it's still in the beta stage (actually IMHO Adobe forgot about it), but it works on web, desktop and mobile too. Check this Video Phone example, it can handle chat applications without a problem.
http://labs.adobe.com/technologies/cirrus/samples/
You could take a look at Red5 Media Server, which is an open source solution. There are other options like the Wowza's solutions on AWS, but they come a higher cost...
Ok as today, we have decided that we can manage the users,rooms and messages via Google Firebase Real Time Database, and the live video stream using ANT Media Server

Does Machine Vision API work offline?

Does the Google Mobile Vision (https://developers.google.com/vision/) API work offline? Or does it need Internet connectivity? The sample app does not require any Internet permission. Which means the API works entirely offline. I am looking for a positive confirmation of this.
PS. Also I am looking for more information on this API. For example, does it use neural networks? If so what algorithms were used? I can not find any detail discussion anywhere.
The API does an initial library download the first time that it is used, and then works offline from that point on.
I tried the official sample app here.
I installed the sample app on a device in airplane mode, and continued to run under airplane mode - It works without problem.
(Note that I only tested the OCR part)
But as far as I know, all google services libraries made use of an already installed (On most device, probably, except China models) application named Google Play Services. As long as this application is installed in the device (With a reasonably updated version), the Vision API should works even under no internet connectivity.

IBM Mobile Quality Assurance REST API Available?

Now I am working on the IBM MQA (Mobile Quality Assurance). But I want to get some informations from MQA Service such as device's information , session, bugs, .... The IBM have the rest API to support it ? Can anyone give some suggestion about this problem ?
Thank you.
We are working to improve the MQA filtering features however at this time we don't have a way to filter crashes by devices. We recently announced that MQA in Bluemix now supports integration with the following bug tracking systems: Jira, TFS, HP Quality Center, GitHub, FogBugz.
If you use one of these BTS's, its possible to use their sorting or filtering process, if any however unfortunately at this time there are no MQA APIs available.

Embedded wifi device that can accept terms on a captive portal?

I'm building out an IoT solution for a client and the network admins are insisting that the devices only connect through the guest network, which has a captive portal with terms of service that must be accepted with a UI button press before gaining external internet access. Most IoT Solutions I've looked at so far (electric imp, Spark core) explicitly state that they cannot connect to a captive portal. I've seen other higher-level code for automatically interacting with a captive portal but I have not found a solution that allows an embedded wifi device (like the CC3000) to automatically accept terms on a captive portal.
Has anyone seen or built a custom wifi stack for something like the CC3000 that can recognize and interact with a captive portal? is there another embedded wifi solution (xbee wifi maybe?) that has had success in this area?
I wouldn't solve this problem in the stack. I would go for a high-level code executed automatically after connecting to the network. Some simple script for example which automatically "presses the UI button" for you. Depending on the design of that page this may be as simple as a single http-request.
Another solution (maybe): Depending on the Wifi-Modules you've chosen the MAC-Addresses of your devices are predicable. Maybe the network admins can add a rule to their config to allow these devices on their guest network without the need of that captive portal.
After considering all options, I believe we are going to go embed the behavour into the SparkCore firmware and insert a captive portal check in the wifi connection code.
spark_utilities.cpp line 807 (Internet_Test function)
https://github.com/spark/firmware/blob/master/src/spark_utilities.cpp#L807