viernes, 11 de marzo de 2016

Broadlink RM PRO + Android Bridge + Iphone (Jailbreak) + Siri = Voice commands!

Hello everyone, today I'll show how to control the BroadLink with voice commands from an iPhone with the vocal assistant Siri, due to the restrictions on Iphone we will use a android tv or a fixed mobile phone Android in the fixed at home as a bridge between the BroadLink and Iphone.

In the next video you can see the BroadLink and Android phone that bridges with Iphone.




These commands can be used also from the handsfree in the car for instance to open the garage when you arrive home. (Spanish Video)



DIY...

On the android device we need the Broadlink APP configured and a Bridge via HTTP request, for the bridge I use  Google Play RM PLUGIN, after we active te HTTP Bridge we can activate the applications using a http request.

☑ HTTP Bridge
This app acts as a HTTP Bridge and let you control your Broadlink devices via simple HTTP urls (a.k.a curl commands). API syntax are extremely user-friendly and well-documented right inside the app. It is now much easier to integrate RM device into your home automation setup.

After that with a Iphone with Jailbreak and:

- Cydia assistant+
- Activator & Plugin  Activate command (or Activate Link)

Example using Activate Command Line with speaking feedback:

siriSay "Executing xxx" && curl -s -S --connect-timeout 3 'http://example.com:port/send?deviceMac=xxxxxxxxx&codeId=xx' | grep successfully > /private/var/tmp/auto.log && siriSay "Executed" || siriSay "Fail"

Thats all!!!




No hay comentarios:

Publicar un comentario

Twitter Inphower