Announcement

Collapse
No announcement yet.

Siri integration

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

    Siri integration

    Just for inspirration.
    Look at this great video.
    http://youtu.be/AN6wy0keQqo

    He sets the themostat via Siri speach-control.
    Would be a great add on to HSTouch.

    #2
    It's a great hack. I saw the article and video this morning on Engadget. For those who are so inclined, here is a link to the source code.

    https://github.com/plamoni/SiriProxy

    I'm sure I'll be doing this real soon.
    HS Pro 3.0 | Linux Ubuntu 16.04 x64 virtualized under Proxmox (KVM)
    Hardware: Z-NET - W800 Serial - Digi PortServer TS/8 and TS/16 serial to Ethernet - Insteon PLM - RFXCOM - X10 Wireless
    Plugins: HSTouch iOS and Android, RFXCOM, BlueIris, BLLock, BLDSC, BLRF, Insteon PLM (MNSandler), Device History, Ecobee, BLRing, Kodi, UltraWeatherWU3
    Second home: Zee S2 with Z-Wave, CT101 Z-Wave Thermostat, Aeotec Z-Wave microswitches, HSM200 occupancy sensor, Ecolink Z-Wave door sensors, STI Driveway Monitor interfaced to Zee S2 GPIO pins.

    Comment


      #3
      Interesting stuff (I was about to post the same link).

      I'm pretty new to homeseer and am still trying to get my head around everything, but wouldnt it make more sense for something like the siri proxy to integrate with the speech part of Homeseer? So essentially whatever you speak into siri gets translated into text which gets passed to Homeseer Voice control and then the responses goes back through siri?

      Not sure you'd be able to ingrate this into HSTouch as siri is more of an external client on the iPhone isnt it and you cannot integrate into apps?

      Comment


        #4
        SIRI interface for WIFI thermostats...maybe HS is next?

        http://www.engadget.com/2011/11/21/developer-creates-third-party-proxy-server-for-siri-controls-th/

        A link sent to me by a coworker. Wow!

        --Dan
        Tasker, to a person who does Homeautomation...is like walking up to a Crack Treatment facility with a truck full of 3lb bags of crack. Then for each person that walks in and out smack them in the face with an open bag.

        Comment


          #5
          It looks like it's possible to mess around with this, but it's not a simple easy task...

          Hopefully this becomes easier at some point. I don't want to monkey with my own DNS server right now, but I'm sure tempted.

          If only I had more time in the day.
          Joe (zimmer62)

          BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.

          Comment


            #6
            Deleted
            HS3 Pro Edition 3.0.0.435 (Windows Server 8.1 on ESXi box)

            Plug-Ins Enabled:
            Z-Wave:,RaspberryIO:,AirplaySpeak:,Ecobee:,
            weatherXML:,JowiHue:,APCUPSD:,PHLocation:,Chromecast:,EasyTr igger:

            Comment


              #7
              setup Siri Proxy and messing around with that. It wasn't as hard as I thought.

              See this other thread here:
              http://board.homeseer.com/showthread...highlight=siri
              Joe (zimmer62)

              BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.

              Comment


                #8
                there is work underway to build an xPL siri app http://goo.gl/S3HU1

                Comment


                  #9
                  cool, hopefully it can deal with two way information....
                  Joe (zimmer62)

                  BLSecurtiy, AC-RF2, RCS Serial Thermostats, RFXCOM SMarthome SwitchLinc, mcsXap, Global Cache GC100, SqueezeBox, TWA_ONKYOINTEGRA, BLLogMonitor, BLPlugins, BLRadar, BLSpeech, BLZLog.aspx, HSTouch (Windows, iPhone, iPod), USB Mimo touchscreens, VMWare Server, Vortexbox, Windows Home Server, MyMovies, Windows Media Center, X10, ZWave, and much much much more.

                  Comment


                    #10
                    Hi Guys,

                    I was wondering if Rupp, Rich or other Homeseer figures would be able to comment on SIRI, one of the suggestions that was made is that it would potentially be made open to app developers at a later date, so that iDevices could utilize SIRI, so for example say you have a YourTV app, you could ask SIRI "Whats on TV Tonight" and it would sent to the YourTV App, which would read out what is on the TV tonight.

                    If this were to become available to developers, would this be something you could potentially integrate into HSTOUCH. Then somehow HSTOUCH could control devices, or even better, you could create voice events which are transferred to hstouch on the device and since hstouch could potentially stay connected in the background, it could open up and do what was asked, so for example SIRI turn on the bedroom lights, and it would query HSTOUCH, turn on the bedroom lights and then say it had turned on the lights, all seamlessly.

                    Would this be something HST would be looking into should it become officially available to developers?
                    HS3 PRO, Win10, WeatherXML, HSTouch, Pushover, UltraGCIR, Heaps of Jon00 Plugins, Just sold and about to move so very slim system.

                    Facebook | Twitter | Flickr | Google+ | Website | YouTube

                    Comment


                      #11
                      Doubt that it will happen as I do not see them on the IOS camp.

                      They are more Android focused by their results.
                      HomeSeer 2, HomeSeer 3, Allonis myServer, Amazon Alexa Dots, ELK M1G, ISY 994i, HomeKit, BlueIris, and 6 "4k" Cameras using NVR, and integration between all of these systems. Home Automation since 1980.

                      Comment


                        #12
                        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
                        ________________________

                        Dell Zino HD - HSPRo 2.x
                        HSTouch - iPhone 3GS, 4S, iPad2 and iPad 3, 3xKindle Fire (Wall mounted)
                        2 x Brultech ECM1240 with UltraECM
                        USB UIRT
                        Cooper Aspire Z-Wave Switches
                        WGL800 w ACRF2 and 3xDS10a (Sump Level/Activity sensing)
                        HM ST812-2 Flood Sensor
                        HSM100 - Motion Detector with Light and Temperature
                        2GIG Thermostat
                        BLDSC - Alarm Plug-in
                        BLUPS
                        UltraLog (SQL2008)
                        Jon00 Plugins
                        Host XR3 BT and Jon00 BT Proximity
                        Global Cache IP2IR
                        Foscam FI8918W

                        Comment


                          #13
                          Show status of individual devices via SiriProxy??

                          Using these instructions I'm able to get status of individual devices.

                          https://github.com/espenhogbakk/siriproxy-homeseer


                          I'm able to see status of separate devices using for example this.
                          Just entering this into a browser "http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8"
                          which shows me text on a webpage like this.
                          "K8:Living room:Living Room Lights:Lamp Module w Status:0:LIGHTS:True:3:0::989::2/27/2013 3.00.00 AM;"

                          My question is do you know of a way to parse that info if all I want is a certain area like the part that says "True"
                          I'm trying to incorporate this into a SiriProxy plugin like this for example but i don't know how to get it to read that back.
                          Here's what I'm trying to do.

                          listen_for /What's the status of the living room light/i do
                          page = HTTParty.get('http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8').body rescue nil
                          reply = JSON.parse(page) rescue nil
                          say "The status of the living room light is currently #{reply["DON'T KNOW WHAT TO PUT HERE"]}"

                          Comment


                            #14
                            Originally posted by tommyd75 View Post
                            Using these instructions I'm able to get status of individual devices.

                            https://github.com/espenhogbakk/siriproxy-homeseer


                            I'm able to see status of separate devices using for example this.
                            Just entering this into a browser "http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8"
                            which shows me text on a webpage like this.
                            "K8:Living room:Living Room Lights:Lamp Module w Status:0:LIGHTS:True:3:0::989::2/27/2013 3.00.00 AM;"

                            My question is do you know of a way to parse that info if all I want is a certain area like the part that says "True"
                            I'm trying to incorporate this into a SiriProxy plugin like this for example but i don't know how to get it to read that back.
                            Here's what I'm trying to do.

                            listen_for /What's the status of the living room light/i do
                            page = HTTParty.get('http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8').body rescue nil
                            reply = JSON.parse(page) rescue nil
                            say "The status of the living room light is currently #{reply["DON'T KNOW WHAT TO PUT HERE"]}"
                            Download the Siri Wifi thermostat plug-in and take a look at that. It returns and speaks statuses
                            ________________________

                            Dell Zino HD - HSPRo 2.x
                            HSTouch - iPhone 3GS, 4S, iPad2 and iPad 3, 3xKindle Fire (Wall mounted)
                            2 x Brultech ECM1240 with UltraECM
                            USB UIRT
                            Cooper Aspire Z-Wave Switches
                            WGL800 w ACRF2 and 3xDS10a (Sump Level/Activity sensing)
                            HM ST812-2 Flood Sensor
                            HSM100 - Motion Detector with Light and Temperature
                            2GIG Thermostat
                            BLDSC - Alarm Plug-in
                            BLUPS
                            UltraLog (SQL2008)
                            Jon00 Plugins
                            Host XR3 BT and Jon00 BT Proximity
                            Global Cache IP2IR
                            Foscam FI8918W

                            Comment


                              #15
                              Using Siri to read back text from file.

                              Originally posted by tommyd75 View Post
                              Using these instructions I'm able to get status of individual devices.

                              https://github.com/espenhogbakk/siriproxy-homeseer


                              I'm able to see status of separate devices using for example this.
                              Just entering this into a browser "http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8"
                              which shows me text on a webpage like this.
                              "K8:Living room:Living Room Lights:Lamp Module w Status:0:LIGHTS:True:3:0::989::2/27/2013 3.00.00 AM;"

                              My question is do you know of a way to parse that info if all I want is a certain area like the part that says "True"
                              I'm trying to incorporate this into a SiriProxy plugin like this for example but i don't know how to get it to read that back.
                              Here's what I'm trying to do.

                              listen_for /What's the status of the living room light/i do
                              page = HTTParty.get('http://10.10.10.10/tenHsServer/tenHsServer.aspx?t=ab&f=GetDevice&d=K8').body rescue nil
                              reply = JSON.parse(page) rescue nil
                              say "The status of the living room light is currently #{reply["DON'T KNOW WHAT TO PUT HERE"]}"

                              Ok, I figured it out.......

                              Here's what works for me...


                              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

                              I'm using a script to update the text file every time the status of the device changes.
                              In my case it is the alarm system.
                              So now using SiriProxy I can simply ask her "What's the status of the security system"
                              And she will read back what is in the text file.
                              Here's an example of my script.

                              sub main(sVal)
                              Dim fso,f1
                              Const OpenFileForReading = 1
                              Const OpenFileForWriting = 2



                              Path = "html/alarmstatus.txt"
                              Set fso = CreateObject("Scripting.FileSystemObject")
                              Set file = fso.OpenTextFile(path, 2,True)

                              file.WriteLine( "The security system is " & hs.devicestring("z99"))
                              file.Close
                              end sub

                              Comment

                              Working...
                              X