Announcement

Collapse
No announcement yet.

Siri integration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Kerat
    replied
    Siri integration

    I am using Siri to control my HS3. I installed homebridge on my RPI3 system that hosts my HS3 service. I setup my lights and thermostats in the ini file on the system. Once configured you can setup the iOS HomeKit app to connect to it and control your configured devices.


    Sent from my iPhone using Tapatalk

    Leave a comment:


  • 519zwave
    replied
    Have a look here:
    https://forums.homeseer.com/showthread.php?t=186349

    Leave a comment:


  • 519zwave
    replied
    HomeKit just was pulled as a plugin.
    Siri works with JowieHue - so I have some Siri control utilizing that.

    Leave a comment:


  • completelyhis
    replied
    I know this thread is several years old...can someone update - is anyone using Siri to control HS?

    Ian

    Leave a comment:


  • sphiend
    replied
    Originally posted by mark_anderson_us View Post
    Hi Guys

    Siri Integration is working

    Full instructions and working downloads here (if you don't want to install from scratch yourself):

    http://www.hometoys.com/emagazine/2013/02/siri-home-automation-integration-from-start-to-finish-brpart-1--the-basics-using-a-linux-vm/2087

    Enjoy

    Mark

    Decided to try this method first -- versus the other image/plugin that is being actively developed. I'm at the point where test communications are working and I can get an event to trigger using the TriggerEvent script.

    What I'm having trouble figuring out from the instructions is where I place the 'listen_for' commands. The yml seems to point to an example plugin in a sub directory. I see references to a .rb file but didn't see anything like that last night. granted .. it was late.


    Edit -- Think I found the .rb under the plugin lib directory. Will try tonight.
    Thanks,
    -sphiend
    Last edited by sphiend; May 28, 2013, 10:29 AM.

    Leave a comment:


  • tommyd75
    replied
    I just use an event to run the script.
    I have three events (stay,away, disarm) for the alarm status but they update the same text file using the same script.

    Leave a comment:


  • jayman13
    replied
    Siri integration

    Out of curiosity, what do you use to run your script which changed the alarmstatus.txt file? I'm using the ademco plugin. I guess I could have it run each time the string changed but that would mean a separate event for armed, disarmed, etc. Is that what you do and do separate events for each one?

    Leave a comment:


  • tommyd75
    replied
    That's where all my code is, I never bothered to make a new .rb file, I just kept adding to the example.rb.
    Someday I'll clean it all up, but I don't really care as long as it works.

    There must be something that points to that maybe?
    The only other plugin I use is the thermostat plugin.
    Glad to see I was able to help someone, seemed like I was never going to get it to work.
    Have fun with it.

    Leave a comment:


  • jayman13
    replied
    Siri integration

    Don't know how this worked but I put httparty in the siriproxy-example.rb gemspec file and it is working! Thanks for your help!

    Leave a comment:


  • jayman13
    replied
    Siri integration

    Thanks. I installed httparty and put the require 'httparty' at the top of the plugin file. However, it's almost like I didn't install it because when I run siriproxy there is an error to the effect of httparty not being installed. Any idea in how to get httparty incorporated into siriproxy? It looks like it isn't a "gem" like cfproperty, etc...

    Leave a comment:


  • tommyd75
    replied
    I just remembered that I also added these two lines to the very top of the ruby file.


    require 'httparty'
    require 'json'


    Try adding that and then doing the update. I don't think I'm using the json part, but I had left it in there from when I was trying to get this to work. I did install httparty. I was afraid to change anything, since it all works now.

    P.S. I just noticed you're from Chicago, lol..me too!

    Leave a comment:


  • jayman13
    replied
    Siri integration

    Yeah, that sub wasn't really in my .rb file. Just a mistake when I posted. Just not working for me and siri proxy crashes when I say the exact words. Thanks anyway though. Perhaps it's because we have different setups? I got mine running on a raspberry pi. I had it install httparty thinking that was it but still no luck.

    Leave a comment:


  • tommyd75
    replied
    Yes, thats the IP of my Homeseer pc. My Siriproxy and the Homeseer are on the same local network, do that's the internal IP. If you're using a port then you need to include that.
    Just remove that end sub, I think that was copied from the homeseer script. It doesnt belong in the SiriProxy file. The code below is what you would paste into the SiriProxy .rb file.
    I have just added it and other commands into the example.rb file that SiriProxy includes.

    listen_for /what's the status of the alarm system/i do
    begin
    page = HTTParty.get('http://10.10.10.10:81/alarmstatus.txt').body rescue nil
    say page
    request_completed
    end
    end

    Leave a comment:


  • jayman13
    replied
    Originally posted by tommyd75 View Post


    listen_for /what's the status of the alarm system/i do
    begin
    page = HTTParty.get('http://10.10.10.10/alarmstatus.txt').body rescue nil
    say page
    request_completed
    end
    end

    end sub
    This part is making siri crash when I ask the question. Maybe it's formatting. Is that "begin" supposed to be there? Sorry for my ignorance.

    Leave a comment:


  • jayman13
    replied
    On this line "page = HTTParty.get('http://10.10.10.10/alarmstatus.txt').body rescue nil", are you supposed to put the IP and the port. Such as 192.168.1.195:60?

    Leave a comment:

Working...
X