Actually, I had SiriProxy running on an ARM based plug computer some time ago for Siri control of my home automation. I have been documenting installation instructions for various distros and form factors: https://github.com/plamoni/SiriProxy/wi ... on-How-TosDarkTherapy wrote:Great work! I'm glad SiriProxy on the Pi inspires more home automation development.
My SiriProxy on RPi SD image SF page now includes instructions: http://sourceforge.net/projects/siriproxyrpielvisimprsntr wrote: No instructions yet on the SF page, but an experienced RPi user should be able to figure it out.
In my example, I am using a dry NO relay in my security panel to control the garage door, which the RPi sends HTTP commands to the REST API of my home automation controller.AndyMcB1 wrote:I want to do exactly this.
However I'm a bit confused as to what hardware I need.
If I want to switch a DC (0V-12V) appliance do I hook the relay straight into the GPIO pins? Do I need a resistor, or what..
Any help is much appreciated.
tpi wrote:I downloaded your SD card image and booted my RPi but I can't figure out what the username and password is. What is the default user id and/or root password?
3. I assume you restarted DNSMASQ after making the tweaks.tpi wrote: 3) I edited /etc/dnsmasq.conf thusly:
# Config line for SiriProxy
# NOTE: Change #'s to the IP address of the RPi and uncomment
7) I start server (and get a warning - should I care and how do I get rid of it?):
[email protected]:~/SiriProxy# rvmsudo siriproxy server
Warning: `secure_path` found in `/etc/sudoers`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. export rvmsudo_secure_path=1 to avoid the warning.Starting SiriProxy on 0.0.0.0:443..
SiriProxy up and running.
8) I go to phone and say "test siri proxy" and get a response from Apple, not the proxy. I see no messages or anything on the rpi.
What should i do to debug this?
Code: Select all
[email protected]:~/SiriProxy/bin# ./siriproxy bundle The source :gemcutter is deprecated because HTTP requests are insecure. Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not. Fetching gem metadata from http://rubygems.org/.......... Fetching gem metadata from http://rubygems.org/.. Resolving dependencies... Could not find gem 'siriproxy-mac-control (>= 0) ruby' in source at ./plugins/siriproxy-computer-master. Source does not contain any versions of 'siriproxy-mac-control (>= 0) ruby'