Announcement

Collapse
No announcement yet.

Apple Homekit(Siri) integration with Homeseer

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

    #76
    Originally posted by Krumpy View Post
    But is there a ability to publish HS Events as scenes to HomeKit?
    I think it's possible to publish HS Events as HomeKit stateless switches through HomeBridge. Unfortunately I don't think a HomeKit Accessory Server can publish a HomeKit scene.

    HomeSeer has a JSON API to run an event, and it should be easy to add a "events" section to the config.json file, and create a HomeKit switch for each event.

    Then you can easily create a HomeKit scene with the name you want, that runs the HomeSeer event.
    --
    stipus

    Comment


      #77
      Originally posted by stipus View Post
      I can implement the thermostat type, but as I already asked, I need from thermostat users, a few different samples of HomeSeer devices for a thermostat, with the list of control and status values.



      The HomeKit thermostat is one device with multiple characteristics, whereas I think most HomeSeer thermostats are a root device with several child devices for current temp, set point, heat/cool mode ... etc. I need to get several samples to design a generic way to map HomeSeer thermostat devices to HomeKit characteristics.

      Here is an example of my TRAN Thermostat

      Comment


        #78
        Thanks a lot. I also need the Status-Graphic page for each device.
        -Click on each device
        - Take a screenshot of the "Status Graphics" tab
        You can send the pages by mail to stipus at stipus dot com.
        --
        stipus

        Comment


          #79
          Originally posted by Krumpy View Post
          * It would be really nice to have a script that would export all of the HS devices and events (if possible) out of HomeSeer into a CONFIG.JSON file. Instead of manually creating the file, it would just dump out all of the devices with the respective reference id which then we could edit to take out all unnecessary devices.
          Very difficult to do for several reasons:

          1) HomeSeer does not keep a coherent device type. There is no easy way to know if a HomeSeer device is a lightbulb, a fan, a temperature reading or anything.

          2) HomeSeer uses many devices for one HomeKit device, and again there is no consistent way to determine which device does what.

          Thermostats have HomeSeer devices for current temperature, set points, heating mode....
          Hue Lights have HomeSeer devices for brightness, saturation, hue...
          Etc...

          3) HomeKit has a current limitation of 99 devices per bridge, and many HomeSeer users have more than 100 HomeSeer devices.

          HomeBridge platforms for other HA Software (Domoticz, ISY) initially imported all devices automatically; but they ran into that IOS limit... and had to figure a way to reference only the needed devices.

          --> That's why I chose to manually import only the devices you want, and assign the device type that HomeKit needs, that cannot be inferred from HomeSeer data.
          --
          stipus

          Comment


            #80
            My setup (Homebridge on ESXi 5.1 w. Linux server)

            As I have spent some hours getting this working (and thanks for the help in here), I'll just post my setup. Running a Turnkey Linux on ESXi 5.1 box).

            Install Turnkey Linux Node edition: https://www.turnkeylinux.org/nodejs

            Commands:

            apt-get update
            apt-get upgrade
            apt-get install node
            node -v
            apt-get install libavahi-compat-libdnssd-dev
            apt-get install avahi-daemon
            git clone https://github.com/nfarina/homebridge.git
            cd homebridge
            npm install

            cd homebridge
            npm run start
            pico config.json

            Enjoy :-)

            /Mav

            Comment


              #81
              I just sent you all the Status/Graphics pages for my thermostat... let me know if you did not get them.

              Thanks.

              Comment


                #82
                Thank-you. I'll try to implement a new 'thermostat' type !
                --
                stipus

                Comment


                  #83
                  Originally posted by maverick View Post
                  As I have spent some hours getting this working (and thanks for the help in here), I'll just post my setup. Running a Turnkey Linux on ESXi 5.1 box).

                  Install Turnkey Linux Node edition: https://www.turnkeylinux.org/nodejs

                  Commands:

                  apt-get update
                  apt-get upgrade
                  apt-get install node
                  node -v
                  apt-get install libavahi-compat-libdnssd-dev
                  apt-get install avahi-daemon
                  git clone https://github.com/nfarina/homebridge.git
                  cd homebridge
                  npm install

                  cd homebridge
                  npm run start
                  pico config.json

                  Enjoy :-)

                  /Mav
                  Fallowed this to a tee yet:

                  module.js:340
                  throw err;
                  ^
                  Error: Cannot find module 'HAP-NodeJS'

                  The README in homebridge states I need NodeJS v 0.12.x or better. The most up to date version from apt-get is 0.10.20.

                  Comment


                    #84
                    New temperature sensor options

                    Here is (attached) a new version of the HomeSeer platform with the following changes:

                    1) Added a temperatureUnit=F or C option to temperature sensors

                    If you have a HomeSeer temperature device with temperature in fahrenheit, configure the HomeBridge device this way:

                    PHP Code:
                    {
                        
                    "ref":111,                               // HomeSeer device reference (mandatory)
                        
                    "type":"TemperatureSensor",    // HomeKit Device Type
                        
                    "name":"Bedroom Temp",        // HomeKit Name (optional - default = HomeSeer device name)
                        
                    "temperatureUnit":"F"             // HomeSeer device unit (optional - default = "C")
                    }, 
                    Last edited by stipus; October 12, 2015, 03:34 AM.
                    --
                    stipus

                    Comment


                      #85
                      Originally posted by joegrace13 View Post
                      Fallowed this to a tee yet:

                      module.js:340
                      throw err;
                      ^
                      Error: Cannot find module 'HAP-NodeJS'

                      The README in homebridge states I need NodeJS v 0.12.x or better. The most up to date version from apt-get is 0.10.20.
                      Running:
                      npm update

                      Seems to have cleared this up. I'm not familiar with npm.

                      Comment


                        #86
                        Ok so I'm running homebridge now with this simple config:

                        {
                        "bridge": {
                        "name": "Homebridge",
                        "username": "xxx",
                        "port": 51826,
                        "pin": "xxx"
                        },

                        "platforms": [
                        {
                        "platform": "HomeSeer",
                        "name": "HomeSeer",
                        "host": "http://xxx",
                        "accessories":[
                        {
                        "ref":214,
                        "type":"Lightbulb"
                        },
                        {
                        "ref":734,
                        "type":"Fan"
                        }
                        ]
                        }
                        ],

                        "accessories": [
                        ]
                        }

                        What app do I need to install on my phone to make use of this?

                        Comment


                          #87
                          Originally posted by joegrace13 View Post
                          What app do I need to install on my phone to make use of this?

                          I use MyTouchHome

                          Comment


                            #88
                            I'm using that as well. The server says it is running:

                            EventedHTTPServer Server listening on port 51826 +0ms

                            But nothing shows up in MyTouchHome. Just Searching...

                            Are there firewall or any other networking issues I need to deal with with this basic TurnKey Linux install?

                            Comment


                              #89
                              I am running homebridge on my HS3 system and I have the following in my config.json file...

                              "bridge": {
                              "name": "Homebridge",
                              "username": "CC:22:3D:E3:CE:30",
                              "port": 51826,
                              "pin": "031-45-154"
                              },

                              ...and with in platforms [] I have...

                              "platform": "HomeSeer",
                              "name": "HomeSeer",
                              "host": "http://127.0.0.1:8080",

                              Your HS IP and port depends on your system

                              Comment


                                #90
                                Got it working... I put back the default username and pin. I thought those needed to be changed.

                                Comment

                                Working...
                                X