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)
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"