Announcement

Collapse
No announcement yet.

Got Siri Working with HomeSeer!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Originally posted by S.Morris
    Can any give me any ideas on why it's struggling to find the .ini

    Code:
    [msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Workstation\config.ini": The system cannot find the file specified.
    2013-04-13T15:25:33.384+01:00| vmx| I120: ----------------------------------------
    2013-04-13T15:25:33.384+01:00| vmx| I120: ConfigDB: Failed to load C:\ProgramData\VMware\VMware Workstation\config.ini
    2013-04-13T15:25:33.384+01:00| vmx| I120: Msg_Reset:
    2013-04-13T15:25:33.384+01:00| vmx| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Workstation\config.ini": The system cannot find the file specified.
    2013-04-13T15:25:33.384+01:00| vmx| I120: ----------------------------------------
    2013-04-13T15:25:33.384+01:00| vmx| I120: ConfigDB: Failed to load C:\ProgramData\VMware\VMware Workstation\config.ini
    2013-04-13T15:25:33.384+01:00| vmx| I120: Msg_Reset:
    2013-04-13T15:25:33.384+01:00| vmx| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\ProgramData\VMware\VMware Workstation\settings.ini": The system cannot find the file specified.
    2013-04-13T15:25:33.384+01:00| vmx| I120: ----------------------------------------
    2013-04-13T15:25:33.384+01:00| vmx| I120: ConfigDB: Failed to load C:\ProgramData\VMware\VMware Workstation\settings.ini
    2013-04-13T15:25:33.384+01:00| vmx| I120: Msg_Reset:
    2013-04-13T15:25:33.384+01:00| vmx| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\Users\s.morris\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.
    2013-04-13T15:25:33.384+01:00| vmx| I120: ----------------------------------------
    2013-04-13T15:25:33.384+01:00| vmx| I120: ConfigDB: Failed to load C:\Users\s.morris\AppData\Roaming\VMware\config.ini
    2013-04-13T15:25:33.384+01:00| vmx| I120: OBJLIB-LIB : Objlib initialized.
    2013-04-13T15:25:33.384+01:00| vmx| I120: Msg_Reset:
    2013-04-13T15:25:33.384+01:00| vmx| I120: [msg.dictionary.load.openFailed] Cannot open file "C:\Users\s.morris\AppData\Roaming\VMware\config.ini": The system cannot find the file specified.
    2013-04-13T15:25:33.384+01:00| vmx| I120: ----------------------------------------
    2013-04-13T15:25:33.384+01:00| vmx| I120: PREF Optional preferences file not found at C:\Users\s.morris\AppData\Roaming\VMware\config.ini. Using default values.
    2013-04-13T15:25:33.384+01:00| vmx| I120: FILE: FileLockDynaLink: Further process validation tools are: available
    2013-04-13T15:25:33.400+01:00| vmx| I120: Hostname=steves-server
    2013-04-13T15:25:33.400+01:00| vmx| I120: IP=fe80::11e6:7c8d:fa54:ce22%12
    2013-04-13T15:25:33.400+01:00| vmx| I120: IP=fe80::18ac:dd7:e14a:fbaa%16
    2013-04-13T15:25:33.400+01:00| vmx| I120: IP=fe80::3454:89d:fbfc:3c25%17
    Hi Steve

    It's late, but I just fired up my Vm, went to the correct dirt and got same error you did, but if I did cd /home/siri/SiriProxy and then

    siriproxy gencerts it did generate the certificate

    can you try the same?
    ________________________

    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


      Hi Mark,

      Managed to get the siri proxy sorted, the reason it couldn't find directory etc. was the siri proxy folder is SiriProxy and not siriproxy, just happen to notice when using Winscp for the certificate, so now siri server all tested working .

      Now onto the easy bit integrating into Homeseer

      Thanks Mark for all your help
      Attached Files

      Comment


        Originally posted by S.Morris View Post
        Hi Mark,

        Managed to get the siri proxy sorted, the reason it couldn't find directory etc. was the siri proxy folder is SiriProxy and not siriproxy, just happen to notice when using Winscp for the certificate, so now siri server all tested working .

        Now onto the easy bit integrating into Homeseer

        Thanks Mark for all your help

        Really sorry about that. You're past the difficult bit. the integration is pretty easy. Install the plug-in in HS and the script and test from linux command line first.
        ________________________

        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


          Originally posted by mark_anderson_us View Post
          Really sorry about that. You're past the difficult bit. the integration is pretty easy. Install the plug-in in HS and the script and test from linux command line first.
          I wish it was

          I have installed the plugin, and configured similar to your post
          I have coppied the siri.vb script and placed it in the scrpt folder, but as yet not put any more in it than the basic script that you posted
          I have created the triggerevent.sh and sorted the permitions, not sure do I need to put anything more than this in the triggerevent.sh file
          #! /bin/sh
          echo "$@" | socat - tcp:192.168.0.xxx:6969
          I only ask because when I try the test communication
          Code:
          /home/siri/SiriProxy/TriggerEvent.sh Living Room Lights On
          I get this, picture below, does the siri server need to be running for this to work?
          Attached Files
          Last edited by S.Morris; April 14, 2013, 11:59 AM.

          Comment


            sounds like you have installed socat

            start from beginning or part 3

            this is the command you need

            sudo apt-get install socat


            nothing else goes in TriggerEvent.sh, you call it with the name of the event you want to run
            ________________________

            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


              Originally posted by mark_anderson_us View Post
              sounds like you have installed socat

              start from beginning or part 3

              this is the command you need

              sudo apt-get install socat


              nothing else goes in TriggerEvent.sh, you call it with the name of the event you want to run
              Hi Mark,

              Ok that did the trick, So now when I enter

              /home/siri/SiriProxy/TriggerEvent.sh cinema light on
              it trigger a event that I have set up

              Now presume now all I have to do Is edit the .rb file with my commands, but not sure where the edited file goes , and then edit the script should I want to use, but presume it would be ok to just map to the events , what the benefits of a script?

              One last thing would it be possible to post or mail your .vb script and .rb file to give me an idea on how they need to be.

              Thanks for your patience and help

              Comment


                Originally posted by S.Morris View Post
                Hi Mark,

                Ok that did the trick, So now when I enter

                it trigger a event that I have set up

                Now presume now all I have to do Is edit the .rb file with my commands, but not sure where the edited file goes , and then edit the script should I want to use, but presume it would be ok to just map to the events , what the benefits of a script?

                One last thing would it be possible to post or mail your .vb script and .rb file to give me an idea on how they need to be.

                Thanks for your patience and help
                just edit the rb file and leave where it is. instructions are in one of the parts.

                Don't bother with a script if it's going to cause you problems, just map messages to events

                script would be something like this

                Code:
                sub main(data)
                 dim EventName 
                 hs.writelog( "Serial27", "Data Received: " &  chr(34) & EventName & chr(34))
                 
                 ' Check if its an email message
                  If hs.eventexists(EventName) = True Then
                    hs.triggerevent(EventName)
                    hs.writelog( "Serial27", "Triggered Event: " & chr(34) & EventName & chr(34))
                  Else
                   hs.writelog( "Serial27", "No Event Matching " & chr(34) & EventName & chr(34) & " Exists")
                  End If ' Event Exists
                end Sub
                ________________________

                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


                  Hi Guys,
                  Are there any special requirements for editing the "siriproxy-example.rb file , reason I ask is I have tried editing it a few time with Winscp but after I get problems with siri.

                  One thing I tried was to alter the siri response for
                  Code:
                  listen_for /test siri proxy/i do
                      say "Siri Proxy is up and running!" #say something to the user!
                  All I did was to alter the the response to "Siri Proxy is running!" just to get the hang of things, but it wouldn't work after, anyone got any ideas, also tried the bedtime example but that didn't work it would not recognised bedtime so presume I am doing something wrong, and yes I am running the update and or rebooting the VMWare
                  Also would appreciate if someone could post there .rb file so I could see how it set out

                  thanks

                  Comment


                    Originally posted by S.Morris View Post
                    Hi Guys,
                    Are there any special requirements for editing the "siriproxy-example.rb file , reason I ask is I have tried editing it a few time with Winscp but after I get problems with siri.

                    One thing I tried was to alter the siri response for
                    Code:
                    listen_for /test siri proxy/i do
                        say "Siri Proxy is up and running!" #say something to the user!
                    All I did was to alter the the response to "Siri Proxy is running!" just to get the hang of things, but it wouldn't work after, anyone got any ideas, also tried the bedtime example but that didn't work it would not recognised bedtime so presume I am doing something wrong, and yes I am running the update and or rebooting the VMWare
                    Also would appreciate if someone could post there .rb file so I could see how it set out

                    thanks
                    If you edit on Mac or PC, you will need to run something like DOS2unix. This is mentioned somewhere in one of the parts
                    ________________________

                    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


                      Thanks Mark,

                      tried with notepad + and the
                      i'm alive dude
                      trick and that seemed to work, but it would still be nice to have some cut and pasteable the examples the ones in the instruction seem to images.

                      Comment


                        Originally posted by S.Morris View Post
                        Thanks Mark,

                        tried with notepad + and the trick and that seemed to work, but it would still be nice to have some cut and pasteable the examples the ones in the instruction seem to images.
                        I used images because they retain formatting

                        All you have to do is cut and paste the TestSiriProxy change it to use trigger event and copy that ad infinitum
                        ________________________

                        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


                          Ok got my first command to work it took some doing but got there in the end

                          Thanks Mark
                          Last edited by S.Morris; April 15, 2013, 06:27 PM.

                          Comment


                            Any ideas if Siri Proxy will work with HS3?

                            Comment


                              Originally posted by jayman13
                              Mark, is there one?
                              Haven't looked. There's one for HS2. Will be some months before I consider a move to HS3
                              ________________________

                              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

                              Working...
                              X