Announcement

Collapse
No announcement yet.

Apple Homekit(Siri) integration with Homeseer

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

    Originally posted by AllanMar View Post
    Thanks. Any thoughts towards alarm systems?
    I use ELK M1G with the UltraM1G plugin (not sure if that's too niche).
    I'm using the http shim to send commands to run events like arming stay, or away and disarming. I have made them "switches" so I say "turn on stay mode" and it runs the arming stay event. If I say "turn off stay mode" it runs the disarming event.
    The http shim allows me to have an "on" and "off" url.
    The name of the accessories in Hombridge is "stay mode" and "away mode"

    Works every time!
    I love just using Siri for all this stuff.
    Last edited by tommyd75; October 13, 2015, 09:27 PM. Reason: Added info.

    Comment


      Temp is spoken

      That's what i missed, you need to use the an App to make a room and place the device in that room in order to let siri tell you.

      just configuring the temp sensor in config.json is not enough. The information has to be available in IOS based homekit configuration.

      Thanks for the piece of logic I was missing.

      Originally posted by stipus View Post
      HomeBridge is a HomeKit Accessory Server.
      This means it only advertises a list of accessories.
      There is no way to advertise a room, or tell HomeKit that one of the advertised accessories should be in a specific room. HomeKit Accessory Servers do not know anything about rooms.

      The only way is to recreate the room list in a HomeKit IOS application.

      It's possible to create a IOS application, that would connect to HomeSeer, then use the HomeKit API to create all rooms, sync rooms from HomeSeer. But HomeBridge is not an IOS application and cannot have such feature.

      Comment


        i need your help

        i try to config the config.json how to do that , when i config it i get many errors like this

        has anyone a quick sample of the config.js ?



        SyntaxError: Unexpected token /
        at Object.parse (native)
        at Object.<anonymous> (C:\homebridge-homeseer\app.js:22:19)
        at Module._compile (module.js:456:26)
        at Object.Module._extensions..js (module.js:474:10)
        at Module.load (module.js:356:32)
        at Function.Module._load (module.js:312:12)
        at Function.Module.runMain (module.js:497:10)
        at startup (node.js:119:16)
        at node.js:906:3
        Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
        Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




        HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

        Comment


          Try to remove all C-style comments such as // Something
          Try to copy/paste your config.json to jsonlint.com
          --
          stipus

          Comment


            ive been using the old way like it was before ...
            i was gone for a while on the forum , so did i missed something? that i need to install homekit on my windows pc ? because i used a zipfile already preconfigured...


            Originally posted by stipus View Post
            Try to remove all C-style comments such as // Something
            Try to copy/paste your config.json to jsonlint.com
            Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
            Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




            HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

            Comment


              JSONLINT http://jsonlint.org is a web site that can validate JSON files and tell you where the errors are in your config.json file...
              --
              stipus

              Comment


                getting always this error

                Parse error on line 1:
                "platforms": [ {
                ^
                Expecting '{', '['
                Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
                Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




                HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

                Comment


                  Honestly I don't understand why you have platforms on the first line of your config file ....

                  You may want to have a look at the previous page of this thread... Where you can find how the config file should look like.

                  You also have a config-sample.json when you download homebridge
                  And the documentation for the HomeSeer platform in HomeSeer.js
                  --
                  stipus

                  Comment


                    no homeseer.json platform is in the platform folder..

                    i created the config.json and tested it on jsonlint.com , it come out as a vailed json file

                    PHP Code:
                    {
                       {
                        
                    "bridge": {
                            
                    "name""Homebridge",
                            
                    "username""CC:22:3D:E3:CE:30",
                            
                    "port"51826,
                            
                    "pin""031-45-154"
                        
                    },
                        
                    "platforms": [
                            {
                                
                    "platform""HomeSeer",
                                
                    "name""HomeSeer",
                                
                    "host""http://my_hs_ip_address",
                                
                    "events": [
                                    {
                                        
                    "eventGroup""Flowers",
                                        
                    "eventName""test",
                                        
                    "name""test"
                                    
                    }
                                ],
                                
                    "accessories": []
                            }
                        ],
                        
                    "accessories": []






                    is this ok ? i get no errors now , so for importing the events they dont show in the log right ?
                    Last edited by Malosa; October 14, 2015, 05:48 AM.
                    Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
                    Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




                    HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

                    Comment


                      If you did not download one of the latest homebridge versions that includes the HomeSeer platform, then you cannot use the HomeSeer platform.
                      --
                      stipus

                      Comment


                        i have downloaded the lastest version on the previous page .



                        Originally posted by stipus View Post
                        If you did not download one of the latest homebridge versions that includes the HomeSeer platform, then you cannot use the HomeSeer platform.
                        Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
                        Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




                        HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

                        Comment


                          you have to copy HomeSeer.js to the homebridge/platforms directory.
                          You also need a recent version of homebridge. The HomeSeer platform uses homebridge features that were released less than 10 days ago.
                          --
                          stipus

                          Comment


                            ok i deleted everything , i did the guide you said in the second thread :

                            http://board.homeseer.com/showpost.p...9&postcount=38 ,

                            git is also installed like the guide with no errors

                            installed everything and run npm install and get this error :


                            PHP Code:
                            npm ERRgit clone --template=C:\Users\Home Security System\AppData\Roaming\npm-
                            cache\_git-remotes\_templates --mirror git@github.com:kevinohara80/elkington.git
                             C
                            :\Users\Home Security System\AppData\Roaming\npm-cache\_git-remotes\git-github
                            -com-kevinohara80-elkington-git-850646d5undefined
                            npm ERR
                            git clone --template=C:\Users\Home Security System\AppData\Roaming\npm-
                            cache\_git-remotes\_templates --mirror git@github.com:kevinohara80/elkington.git
                             C
                            :\Users\Home Security System\AppData\Roaming\npm-cache\_git-remotes\git-github
                            -com-kevinohara80-elkington-git-850646d5undefined
                            npm ERR
                            Windows_NT 6.1.7601
                            npm ERR
                            argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
                            node_modules\\npm\\bin\\npm-cli.js" "install"
                            npm ERRnode v4.2.1
                            npm ERR
                            npm  v2.14.7
                            npm ERR
                            code ENOGIT

                            npm ERR
                            not foundgit
                            npm ERR
                            !
                            npm ERRFailed using git.
                            npm ERRThis is most likely not a problem with npm itself.
                            npm ERRPlease check if you have git installed and in your PATH.

                            npm ERRPlease include the following file with any support request:
                            npm ERR!     C:\Users\Home Security System\Desktop\homebridge\npm-debug.log 

                            it says i need to install git , but its installed x64 V 2.6.1
                            Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
                            Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




                            HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

                            Comment


                              Malosa,
                              What OS are you using? You mentioned zip file earlier? You said you had been gone a while, but all this is new ( less than a week). You need to probably start new if your using some old version of HomeKit/bridge. Follow this thread from start and follow the instruction for your os to install all the other software.

                              Originally posted by Malosa View Post
                              ive been using the old way like it was before ...
                              i was gone for a while on the forum , so did i missed something? that i need to install homekit on my windows pc ? because i used a zipfile already preconfigured...




                              Sent from my iPhone
                              Tom
                              baby steps...starting again with HS3
                              HS3Pro: Z-NET & 80 Z wave Devices,
                              HSTouch: 4 Joggler (Android Kitkat), 2 iPhone, 3 iPads
                              Whole House Audio: 5 SqueezePlay Jogglers w Bose Speakers
                              In The Works: 10 Cameras Geovision, new Adecmo/Envisalink Alarm, Arduinos
                              System: XP on Fanless Mini-ITX w/ SSD

                              Comment


                                Hi tom tom ,

                                yes i did , im using windows 7 ultimate x64

                                i deleted everything and did a new install

                                but im stuck when running npm install

                                it says cannot find git , but i installed git with this option (Use Git from the Windows Command Prompt)



                                this is the error

                                PHP Code:
                                796 verbose stack Errornot foundgit
                                796 verbose stack     at F 
                                (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:73:28)
                                796 verbose stack     at E (C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:76:29)
                                796 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\which\which.js:84:16
                                796 verbose stack     at FSReqWrap
                                .oncomplete (fs.js:82:15)
                                797 verbose cwd C:\Users\Home Security System\Desktop\homebridge
                                798 error Windows_NT 6.1.7601
                                799 error argv 
                                "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
                                800 error node v4.2.1
                                801 error npm  v2.14.7
                                802 error code ENOGIT
                                803 error not found
                                git
                                804 error Failed using git
                                .
                                804 error This is most likely not a problem with npm itself.
                                804 error Please check if you have git installed and in your PATH.
                                805 verbose exit [ 1true 
                                Last edited by Malosa; October 14, 2015, 07:03 AM.
                                Preferred -> Jon's Plugins, Pushover, Phlocation, Easy-trigger,
                                Rfxcom, Blade Plugins, Pushbullet, homekit, Malosa Scripts




                                HS3Pro 4.1.14.0 on windows 10 enterprise X64 on hp quadcore laptop 8 GB.

                                Comment

                                Working...
                                X