Announcement

Collapse
No announcement yet.

Apple Homekit(Siri) integration with Homeseer

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

    #16
    This is excellent work. I saw that someone on the forum was working on it but there was not any update.
    This method seems not too hard, but is there a How To For Dummies directions?
    Ok, from the github page on thing to get started:

    • 1. An app on your iOS device that can manage your HomeKit database.
    • 2. An always-running server (like a Raspberry Pi) on which you can install NodeJS.
    • 3. Knowledge of Git submodules and npm.

    I guess
    1. would be MyTouchHome
    2. your HS machine(XP) or can you put it on a pi or another pc.
    3. ?

    Stipus- yes please post the Homeseer platform if you could. TIA guys!!



    Originally posted by askme View Post
    Well that was five hours of my life I won't get back.
    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


      #17
      You can (should) install Node.js on your HomeSeer server... it should be always on...

      For the npm stuff, you just have to follow the tutorial.... in fact you just have to:
      - Download and install Node.js from http://nodejs.org
      - Download and decompress HomeBridge from https://github.com/nfarina/homebridge
      - open a command prompt (CMD.EXE)
      - CD to the directory where you decompressed Homebridge
      - Type "NPM INSTALL" to install HomeBridge
      - Type "NPM RUN START" to start HomeBridge

      Then you can start experimenting with the Http shim to control HomeSeer lights... I'll publish the HomeSeer platform soon...
      --
      stipus

      Comment


        #18
        Ok, Thanks Stipus. Making more sense now.

        So homebridge needs to be on the HS server too then? or can that it run on a different pc. Just asking because my HS server is a intel atom w XP, and I only run HS on it. I avoid putting other things on it because of fear of unknown software problems that could potentially interfere with HS or slow HS down.
        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


          #19
          Stipus, Love to see what you have developed. Ideally like tI collect the shims everyone has produced.

          With regard to the steps you mention, the key is that you will need a toolchain with Python and C++ compiler for NPM to rebuild any components it needs. Doing this on my old win32 HS server proved to be a challenge. Python was simple, but I ran into Visual C compiler conflicts and lost an evening.



          Originally posted by stipus View Post
          You can (should) install Node.js on your HomeSeer server... it should be always on...

          For the npm stuff, you just have to follow the tutorial.... in fact you just have to:
          - Download and install Node.js from http://nodejs.org
          - Download and decompress HomeBridge from https://github.com/nfarina/homebridge
          - open a command prompt (CMD.EXE)
          - CD to the directory where you decompressed Homebridge
          - Type "NPM INSTALL" to install HomeBridge
          - Type "NPM RUN START" to start HomeBridge

          Then you can start experimenting with the Http shim to control HomeSeer lights... I'll publish the HomeSeer platform soon...

          Comment


            #20
            Works like a charm

            Currently controlling 20 devices, Homeseer and Hue seperate but still together, JSON request work straight out of the box on my windows HS3 install.
            Have installed the insteon+ app on my iphone and had to fiddle a little bit with the config.json, but got there.

            Incredible, stable, nice work!

            was waiting for fraggle and others, but that'll do (pig )

            Certainly a great WAF for domotics!

            Comment


              #21
              Here is (attached) my HomeSeer 3 Platform for HomeBridge.

              1) Download the file, decompress the zip, copy HomeSeer.js to the HomeBridge/platforms directory

              2) Edit HomeBridge/config.json to add the reference to the platform

              Here is my config as a sample. More info in the HomeSeer.js file

              PHP Code:
              {
                  
              "bridge": {
                      
              "name""Homebridge",
                      
              "username""XXXXXXXXXXX",
                      
              "port"51826,
                      
              "pin""XXXXXXXXXXX"
                  
              },
                  
                  
              "platforms": [
                      {
                          
              "platform""HomeSeer",        
                          
              "name""HomeSeer",             
                          
              "host""http://192.168.3.4:81",
                          
              "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érature Salon"
                              
              },
                              {
                                  
              "ref":112,
                                  
              "type":"TemperatureSensor",
                                  
              "name":"Température Atelier"
                              
              },
                              {
                                  
              "ref":58,
                                  
              "type":"Outlet"
                              
              },             
                              {
                                  
              "ref":55,
                                  
              "type":"Door"
                              
              }             
                           ]
                      }
                  ],

                  
              "accessories": [
                  ]

              3) Restart HomeBridge

              CONTROL-C in the HomeBridge window
              NPM RUN START


              4) Have FUN from your iPhone - iPad or Apple Watch

              Hey SIRI, turn on the living-room lights
              Hey SIRI, what's the living-room temperature ?
              Hey SIRI, DIM <light name> to 60%
              Hey SIRI, Turn on the coffee maker
              HEY SIRI, set the dinner scene (For this to work you have to configure a dinner scene into HomeKit)

              Attached file removed, as it is now included in the latest homebridge distribution
              Last edited by stipus; October 12, 2015, 03:36 AM.
              --
              stipus

              Comment


                #22
                I could import all HomeSeer devices into HomeKit, but I chose to select each device to be imported in the configuration file.

                - For each device you have to type the HomeSeer reference and an optional HomeKit type in config.json.

                - You can change the HomeKit name if you don't want to keep the HomeSeer device name for any reason.

                - You can change some default parameters such as:
                "can_dim": true (By default)
                "can_dim": false (If you have a non dimmable lightbulb)
                "onValue": "254" (If the value for on is not 100)
                "offValue": "50" (If the value for off is not 0)

                Currently supported types are:
                - Lightbulb (can_dim, onValue, offValue options)
                - Fan (onValue, offValue options)
                - Switch (onValue, offValue options)
                - Outlet (onValue, offValue options)
                - TemperatureSensor (currently only Celsius, I think)
                - ContactSensor (HS value different than 0 means contact)
                - MotionSensor (HS value different than 0 means motion)
                - LeakSensor (HS value different than 0 means leak)
                - LightSensor (Don't know the unit.. maybe Lux)
                - OccupancySensor (HS value different than 0 means occupancy)
                - SmokeSensor (HS value different than 0 means smoke detected)
                - Door (work in progress as this needs several HS devices)

                TODO:
                - Add Homeseer user/password parameters in case someone needs this (ask if you need. My HS setup doesn't need credentials on the local LAN)
                - Thermostats, and all other device-types that have several HomeSeer devices.
                - Most of the sensors have HomeKit characteristics for "Tamper", "battery status"... and I need to wire this to several HS devices
                - Also, Hue Lights have separate HS devices to control Hue, Sat and Brightness

                If you want anything specific supported in the next platform version, please post the device list and the device values for each device...
                Last edited by stipus; October 7, 2015, 11:34 AM.
                --
                stipus

                Comment


                  #23
                  Originally posted by askme View Post
                  Doing this on my old win32 HS server proved to be a challenge. Python was simple, but I ran into Visual C compiler conflicts and lost an evening.
                  Ok sorry for asking again, but I'm not clear. My HS machine is also win32.

                  So homebridge needs to be on the HS server too then? or can that it run on a different pc or run on a PI2. Just asking because my HS server is a intel atom w XP, and I only run HS on it. I avoid putting other things on it because of fear of unknown software problems that could potentially interfere with HS or slow HS down.
                  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


                    #24
                    You can install HomeBridge on any computer. I installed HomeBridge on a Mac, but I plan to move it to the HS server (Windows-32bit) soon.
                    --
                    stipus

                    Comment


                      #25
                      Thank you Stipus and THANKS for sharing your hard work!!

                      Originally posted by stipus View Post
                      You can install HomeBridge on any computer. I installed HomeBridge on a Mac, but I plan to move it to the HS server (Windows-32bit) soon.
                      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


                        #26
                        Originally posted by askme View Post
                        Stipus, Love to see what you have developed. Ideally like tI collect the shims everyone has produced.

                        With regard to the steps you mention, the key is that you will need a toolchain with Python and C++ compiler for NPM to rebuild any components it needs. Doing this on my old win32 HS server proved to be a challenge. Python was simple, but I ran into Visual C compiler conflicts and lost an evening.
                        I installed HomeBridge on a Mac I use for dev.... it worked fine and I didn't realize a toolchain was needed.

                        --> We have to create a complete list of the steps needed to install HomeBridge on a Windows PC... as most users have a Windows HS Server.
                        --
                        stipus

                        Comment


                          #27
                          that would be great if you created a list of steps. Some of us non-geniuses would greatly benefit.

                          Also can we change the Thread Title to Apple HomeKit Siri - HS3...some thing like that. I had seen this thread a few times, but just skipped over it. Till I read it today and WOW!! Been waiting a long time for this
                          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


                            #28
                            Originally posted by TomTom View Post
                            that would be great if you created a list of steps. Some of us non-geniuses would greatly benefit.

                            Also can we change the Thread Title to Apple HomeKit Siri - HS3...some thing like that. I had seen this thread a few times, but just skipped over it. Till I read it today and WOW!! Been waiting a long time for this
                            I also use my HS server for dev... and I already installed many tools on it... to be certain the list is complete, we need a "blank" windows computer...

                            I can't see the option to change the thread name, as I'm not administrator of this forum...
                            --
                            stipus

                            Comment


                              #29
                              What's the current state on HomeKit?

                              I think askme can change title. I'm leaving out of town early tomorrow(Colombus Day weekend) so if no one else volunteers by next week, I'll do it.

                              What should the title be? If askme can't I'll make request to Rupp, or Rich.


                              Sent from my iPhone
                              Last edited by TomTom; October 7, 2015, 12:32 PM.
                              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


                                #30
                                Would "Apple Homekit(Siri) integration with Homeseer" be good title?
                                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

                                Working...
                                X