berenyit / Siriproxy-Control4

Control Siri Control4
MIT License
9 stars 9 forks source link

This guide will help you configure the SiriProxy plugin for controlling your Control4 system via the TCP Server driver. Download: ( http://p5.hu/hu/termekek/reszletek/67_control4_tcp_driver/ )

Prerequisites:

You need to have a server running SiriProxy You can find instruction about how to create it: https://github.com/plamoni/Siriproxy

Configuration of SiriProxy

Copy the siriproxy-control4 folder to your ~/Siriproxy/plugins folder Copy the following three lines from config-example.yml to your ~/.siriproxy/config.yml file. ip_controller: must be set to the IP address of your Control4 controller.

There are eight events (Event01..Event08) in the C4 Voice Control Server. You can assign actions in Composer programming to each of them. Whenever a voice command assigned to an event (see below) is received by Siri, the event will be fired causing these actions to be executed.

All voice commands that will be used to trigger Control4 events and the Siri response to them are defined in the command.yml file.

commands: These are the voice commands that will trigger the event when received by Siri. More commands can trigger the same event.

answer: This is what Siri will reply. Only one reply is allowed.

Example of the commands.yml file:

event01:

commands:

event02:

commands:

event03:

commands:

After defining all events you should execute:

$ siriproxy bundle

or

$ rvmsudo siriproxy bundle