Announcement

Collapse
No announcement yet.

Apple Homekit(Siri) integration with Homeseer

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

    #46
    Originally posted by stipus View Post
    At the top of the page, there is a "thread tool" menu. As you created the thread, you should find a "edit thread" menu entry, then you can change the title
    Nothing in Thread Tools, but It turns out you can edit the first entry in the thread in Advanced Mode.

    Comment


      #47
      Guys, for the life of me I just can not get this working.

      I am using my Mac with El Capitain and obviously the home bridge is running.

      From my IOS devices, when using MyTouchHome and add accessories it just keeps spinning and no devices ever show up no matter if I am using Homelier or any others.

      1.) Has anyone tried this with the new Mac OS and IOS 9.0.2?

      2.) Anyone every run into this issue?

      I have confirmed that the HAP namespace is registered in bonjour with the right ip address and have confirmed that I can access the web service on port 51286 from my ipad/iphone.

      Any thoughts?

      Code:
      homebridge>npm run start
      
      > homebridge@0.1.1 start /Volumes/Data/Backup/Projects/homebridge
      > DEBUG=* node app.js || true
      
      Starting HomeBridge server...
      _____________________________________________________________________
      IMPORTANT: Homebridge is in the middle of some big changes.
                 Read more about it here:
                 https://github.com/nfarina/homebridge/wiki/Migration-Guide
      _____________________________________________________________________
      
      Loading 1 platforms...
      [HomeSeer] Initializing HomeSeer platform...
      [HomeSeer] Fetching HomeSeer devices.
      [HomeSeer] HomeSeer status function succeeded!
      Scan this code with your HomeKit App on your iOS device:
                             
          ┌────────────┐     
          │ XXXXXXXXXXX │     
          └────────────┘     
                             
        Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
        Accessory [Homebridge] Creating new IdentifierCache +4ms
        EventedHTTPServer Server listening on port 51826 +14ms
      
      
      
      
      {
          "bridge": {
              "name": "Homebridge",
              "username": "XXXXXXXXXXX",
              "port": 51826,
              "pin": "XXXXXXXXXXX"
          },
          "platforms": [
              {
                  "platform": "HomeSeer",
                  "name": "HomeSeer",
                  "host": "http://192.168.1.1",
                  "accessories": [
                      {
                          "ref": 7,
                          "type": "Lightbulb"
                      },
                      {
                          "ref": 8,
                          "type": "Lightbulb"
                      },
                      {
                          "ref": 9,
                          "type": "Lightbulb"
                      },
                      {
                          "ref": 91,
                          "type": "Fan"
                      },
                      {
                          "ref": 96,
                          "type": "Switch"
                      },
                      {
                          "ref": 111,
                          "type": "TemperatureSensor",
                          "name": "TempératureSalon"
                      },
                      {
                          "ref": 112,
                          "type": "TemperatureSensor",
                          "name": "TempératureAtelier"
                      },
                      {
                          "ref": 58,
                          "type": "Outlet"
                      },
                      {
                          "ref": 55,
                          "type": "Door"
                      }
                  ]
              }
          ]
      }
      Last edited by Krumpy; October 10, 2015, 11:26 AM.
      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


        #48
        Originally posted by petermdevries View Post
        Very nice.

        First I tried to setup homebridge on Windows, but that wasn't easy. After following the steps mentioned above, including installation Visual Studio 2013 Express, the Windows 7 64-bit SDK, the Bonjour SDK, a open-ssl package which was needed for one of the packages it still didn't work. Also I didn't like to have a bunch of tools on the Windows machine. So I decided to install a small Ubuntu server on my ESXi server just for homebridge. So even with little experience with ubuntu this was easier to get it up and running.

        However, I just found a small bug with the OccupancySensor. On line 323 the variable motionSensorService is used instead of occupancySensorService which results in an error when starting homebridge when using an OccupancySensor.

        Furthermore I have some problems when using Siri with Outlet or Switch. Looks like it works fine in HomeKit/HomeBridge. For example in Eve I can control the device "ABC". But using Siri with "Zet ABC aan" which is dutch for "Turn ABC on" Siri doesn't understand. Looks like something in Siri itself, maybe in the Dutch version?
        I had the same experience with Windows, an took the "Ubuntu on ESXi" decision too, and even tried node.js on my Synology (Xpnology) - but no luck at all. Could I kindly ask you to share your Ubuntu steps or lead me in the right direction?

        /Mav

        Comment


          #49
          Originally posted by Krumpy View Post
          Guys, for the life of me I just can not get this working.

          I am using my Mac with El Capitain and obviously the home bridge is running.

          From my IOS devices, when using MyTouchHome and add accessories it just keeps spinning and no devices ever show up no matter if I am using Homelier or any others.

          1.) Has anyone tried this with the new Mac OS and IOS 9.0.2?

          2.) Anyone every run into this issue?

          I have confirmed that the HAP namespace is registered in bonjour with the right ip address and have confirmed that I can access the web service on port 51286 from my ipad/iphone.

          Any thoughts?

          Code:
          homebridge>npm run start
          
          > homebridge@0.1.1 start /Volumes/Data/Backup/Projects/homebridge
          > DEBUG=* node app.js || true
          
          Starting HomeBridge server...
          _____________________________________________________________________
          IMPORTANT: Homebridge is in the middle of some big changes.
                     Read more about it here:
                     https://github.com/nfarina/homebridge/wiki/Migration-Guide
          _____________________________________________________________________
          
          Loading 1 platforms...
          [HomeSeer] Initializing HomeSeer platform...
          [HomeSeer] Fetching HomeSeer devices.
          [HomeSeer] HomeSeer status function succeeded!
          Scan this code with your HomeKit App on your iOS device:
                                 
              ┌────────────┐     
              │ XXXXXXXXXXX │     
              └────────────┘     
                                 
            Accessory [Homebridge] Creating new AccessoryInfo for our HAP server +0ms
            Accessory [Homebridge] Creating new IdentifierCache +4ms
            EventedHTTPServer Server listening on port 51826 +14ms
          
          
          
          
          {
              "bridge": {
                  "name": "Homebridge",
                  "username": "XXXXXXXXXXX",
                  "port": 51826,
                  "pin": "XXXXXXXXXXX"
              },
              "platforms": [
                  {
                      "platform": "HomeSeer",
                      "name": "HomeSeer",
                      "host": "http://10.1.2.15",
                      "accessories": [
                          {
                              "ref": 7,
                              "type": "Lightbulb"
                          },
                          {
                              "ref": 8,
                              "type": "Lightbulb"
                          },
                          {
                              "ref": 9,
                              "type": "Lightbulb"
                          },
                          {
                              "ref": 91,
                              "type": "Fan"
                          },
                          {
                              "ref": 96,
                              "type": "Switch"
                          },
                          {
                              "ref": 111,
                              "type": "TemperatureSensor",
                              "name": "TempératureSalon"
                          },
                          {
                              "ref": 112,
                              "type": "TemperatureSensor",
                              "name": "TempératureAtelier"
                          },
                          {
                              "ref": 58,
                              "type": "Outlet"
                          },
                          {
                              "ref": 55,
                              "type": "Door"
                          }
                      ]
                  }
              ]
          }
          Hello,

          From your configuration file, I can see that you did not configure the HomeSeer platform properly.
          - You did copy/paste the default configuration,
          - You did change the HomeSeer IP address
          - But you didn't change the accessory section !

          Each entry in the accessory section such as :

          {
          "ref": 7,
          "type": "Lightbulb"
          },

          must be configured with:
          ref: The HomeSeer device reference you want to import into HomeKit
          type: the type of the HomeSeer device. See supported list
          --
          stipus

          Comment


            #50
            I used the following how-to as a guideline for the installation of Ubuntu:

            http://frankhinek.com/how-to-install...1-on-esxi-5-5/

            The I took the howto to install HomeBridge on a Raspberry Pi:

            https://github.com/nfarina/homebridg...a-Raspberry-Pi

            But unfortunately it didn't work directly. On Ubuntu you need also the libicu-dev package:

            https://github.com/nfarina/homebridge/issues/131

            And I also updated the node.js to the latest version. So not a step by step instruction, but hopefully some hints.

            Comment


              #51
              Would someone please attach their config.json? I think that I get it, but it would be a nice reference to see one that works.

              Thanks!
              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


                #52
                The configuration you have should work, if you had homeseer devices references 7,8, 9, 91, 96, 111, 112, 58 and 55

                First start with one of your HomeSeer devices.
                Choose a standard HomeSeer light
                Click on the HomeSeer device name
                Click on the advanced tab
                Note the device reference --> let's say it's 115

                In the HomeBridge config.json file, replace the HomeSeer platform accessories section with the following:

                PHP Code:
                 "accessories": [
                                {
                                    
                "ref"115,
                                    
                "type""Lightbulb"
                                
                }
                            ] 
                Restart HomeBridge
                --
                stipus

                Comment


                  #53
                  Ok, did that. MyTouchHome still spins when it is attempting to enumerate the devices.. But I got further along on the server side. Thx.

                  Code:
                  {
                      "bridge": {
                          "name": "Homebridge",
                          "username": "XXXXXXXXXXX",
                          "port": 51826,
                          "pin": "XXXXXXXXXXX"
                      },
                      "platforms": [
                          {
                              "platform": "HomeSeer",
                              "name": "HomeSeer",
                              "host": "http://192.168.1.1",
                              "accessories": [
                                  {
                                      "ref": 4,
                                      "type": "Lightbulb"
                                  },
                                  {
                                      "ref": 3,
                                      "type": "Lightbulb"
                                  }
                              ]
                          }
                      ]
                  }
                  
                  
                  > homebridge@0.1.1 start /Volumes/Data/Backup/Projects/homebridge
                  > DEBUG=* node app.js || true
                  
                  Starting HomeBridge server...
                  _____________________________________________________________________
                  IMPORTANT: Homebridge is in the middle of some big changes.
                             Read more about it here:
                             https://github.com/nfarina/homebridge/wiki/Migration-Guide
                  _____________________________________________________________________
                  
                  Loading 1 platforms...
                  [HomeSeer] Initializing HomeSeer platform...
                  [HomeSeer] Fetching HomeSeer devices.
                  [HomeSeer] HomeSeer status function succeeded!
                  [HomeSeer] Initializing platform accessory 'Light'...
                  [HomeSeer] Initializing platform accessory 'Test'...
                  Scan this code with your HomeKit App on your iOS device:
                                         
                      ┌────────────┐     
                      │ XXXXXXXXXXX │     
                      └────────────┘     
                                         
                    EventedHTTPServer Server listening on port 51826 +0ms
                  Last edited by Krumpy; October 10, 2015, 11:11 AM.
                  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


                    #54
                    When you used your Mac, which OS did it have? I am thinking that it might be incompatibility with El Captain? I hope not, but could find another hdd to install the previous Mac OS.

                    I suppose that I could try Ubuntu as well.

                    I think that I am close.

                    Might also get a sniffer going to see what traffic is going on.

                    Argh.. Close.
                    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


                      #55
                      I'm running HomeBridge on "El Capitan", and my iPhone has IOS 9.0.2.

                      On my Mac, I have Xcode 7.0.1 (was already installed, and it's needed), and before installing HomeBridge I only had to install nodejs from nodejs.org
                      --
                      stipus

                      Comment


                        #56
                        Ok, I did not have Xcode installed. I do have it installed now.

                        Should I redo everything from the git clone https://github.com part, or is there another way of refreshing things?

                        Curious - which versions of these are you on? It probably does not matter as the various libraries are the important ones:
                        homebridge>node -v
                        v4.1.2
                        homebridge>npm -v
                        2.14.4
                        homebridge>

                        Thx
                        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


                          #57
                          Exact same versions as you.

                          I don't really know if you need to re-download from git...
                          --
                          stipus

                          Comment


                            #58
                            Ok, got it working. Thanks for all of your help!

                            Please note that the pin can not be xxxxxx.
                            Last edited by Krumpy; October 10, 2015, 11:24 AM.
                            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


                              #59
                              Originally posted by petermdevries View Post
                              I used the following how-to as a guideline for the installation of Ubuntu:

                              http://frankhinek.com/how-to-install...1-on-esxi-5-5/

                              The I took the howto to install HomeBridge on a Raspberry Pi:

                              https://github.com/nfarina/homebridg...a-Raspberry-Pi

                              But unfortunately it didn't work directly. On Ubuntu you need also the libicu-dev package:

                              https://github.com/nfarina/homebridge/issues/131

                              And I also updated the node.js to the latest version. So not a step by step instruction, but hopefully some hints.

                              Thanks a lot for the effort. Unfortunately im still getting errors on "mdns" and "node-gyp" when I try starting the homebridge server. Its most likely my Linux skills, but I believe I followed the steps as close as possible. I have tried both with a clean Ubuntu server, and a Turnkey image with node already on it (latest version). But no luck. If there is any way you can share your image it would be appreciated. Thanks again for the effort.

                              /Mava

                              Comment


                                #60
                                On some linux versions, you have to install the AVAHI library for MDNS to compile/work.

                                https://github.com/nfarina/homebridg...a-Raspberry-Pi

                                PHP Code:
                                sudo apt-get install libavahi-compat-libdnssd-dev 
                                --
                                stipus

                                Comment

                                Working...
                                X