Announcement

Collapse
No announcement yet.

Apple Homekit(Siri) integration with Homeseer

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

    Originally posted by stipus View Post
    Yes everything works with the french version of SIRI, except setting a lightbulb color.
    Thanks Stipus. I will have to spend more time figuring what to say to siri to turn on the living room light.

    For now I'm saying "Allume la lampe du salon" without success.

    I have this in my config.son file:

    "accessories":[
    {
    "ref":1183,
    "type":"Lightbulb",
    "name":"lampe salon",
    "offValue":"0",
    "onValue":"100",
    "can_dim":true
    }
    ]

    Is there a link where I could find more info about how to ask Siri?

    Thank you.

    Comment


      --
      stipus

      Comment


        In this example, what platform do I use in the config.json? I see the accessories declaration, but it is erring out stating that undefined platforms file does not exists. Sure, as I have not defined one as I only have an accessories declaration. Does the shim "HTTP" have to correspond to some platform?

        Second, I will start writing a json for HomeSeer 2. Not quite sure what I am getting myself into, but it seems more logical to go that direction as converting to HS3 is not an option at the moment. Maybe around Christmas. But I also see that HS3 is quite a lot slower than HS2. Goal would be that no additional plugin would be necessary.

        Thoughts?

        Originally posted by tommyd75 View Post
        Krumpy, I'm using it with homeseer2 but in order to get status I had to install HS3 and use Jon00's plugin (Homeseer 2 - Homeseer 3 Connector) that mirrors devices, I just did this to test it, like you I'm not fully committed to switching to HS3.
        I'm only using it to mirror my thermostat and alarm system status.
        Then I use the http shim with home bridge to actually control devices directly to Homeseer 2.

        You have to install the tenHsServer from here http://tenholder.net/tenWare2/tenHsServer/default.aspx

        here's an example from my config file.......

        {
        "accessory": "Http",
        "name": "Kitchen Light",
        "on_url": "http://192.168.1.100/tenHsServer/tenHsServer.aspx?t=ab&f=DeviceOn&d=A1",
        "off_url": "http://192.168.1.100/tenHsServer/tenHsServer.aspx?t=ab&f=DeviceOff&d=A1",
        "brightness_url": "http://192.168.1.100/tenHsServer/tenHsServer.aspx?t=ab&f=ExecX10&d=A1&a=Dim&s=%b",
        "http_method": "GET",
        "uuid_base":"kitchen"

        },

        I'm using an x10 device with an address of A1 for the example.


        If anyone on here can re-write the homeseer.js file to talk to HS2 with the tenHsServer plugin that would be awesome.
        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


          Apple Homekit(Siri) integration with Homeseer

          Krumpy,
          In the example above I'm using the http shim. So every device (if you use the http shim) will need to be in the main config file. The requests I'm making correspond to the tenHsServer plugin for Hs2 in order for homeseer 2 to use the http commands that way.


          Sent from my iPhone using Tapatalk

          Comment


            I will test the latest scripts and create an updated package this weekend.


            Sent from my iPhone using Tapatalk

            Comment


              Originally posted by ewillems View Post
              I will test the latest scripts and create an updated package this weekend.


              Sent from my iPhone using Tapatalk

              I don't mind changing the folder name in stipus script, now I know what the problem was. But probably a good idea, I think people will be using this for a while [emoji6]

              Comment


                I would love it if you would attach a copy of your config file. Maybe change your ip address and things like that.

                Second, I have begun reverse engineering how to get JSON working with HomeSeer 2. Progress - almost have the getstatus working - this is the first call to HS.

                Originally posted by tommyd75 View Post
                Krumpy,
                In the example above I'm using the http shim. So every device (if you use the http shim) will need to be in the main config file. The requests I'm making correspond to the tenHsServer plugin for Hs2 in order for homeseer 2 to use the http commands that way.


                Sent from my iPhone using Tapatalk
                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


                  Apple Homekit(Siri) integration with Homeseer

                  Krumpy,

                  Here you go, I'm using two methods to send http commands, one is tenHsServer and the other is a json api that also gives values of devices.
                  Attached Files

                  Comment


                    Originally posted by Skinnez View Post
                    I don't mind changing the folder name in stipus script, now I know what the problem was. But probably a good idea, I think people will be using this for a while [emoji6]
                    If you load the latest homebridge package from GitHub, you'll see that it requires the "hap-nodejs" package (in lowercase), and the latest hap-nodejs package available from GitHub has also be renamed to lowercase.

                    Unfortunately this change has been commited to GitHub a few hours after ewillems released his compiled homebridge version !!!
                    --
                    stipus

                    Comment


                      Originally posted by ewillems View Post
                      I will test the latest scripts and create an updated package this weekend.


                      Sent from my iPhone using Tapatalk
                      That would be great.

                      Comment


                        Originally posted by ewillems View Post
                        I will test the latest scripts and create an updated package this weekend.


                        Sent from my iPhone using Tapatalk
                        Hi that would be great, I can not get the HomeBridge to work in Windows :-(

                        Thanks in advance.
                        Regards,

                        Rien du Pre
                        The Netherlands
                        Using:
                        Homeseer PRO latest HS4 BETA on a Raspberry
                        Plugin's:
                        RFXCOM, mcsMQTT, Z-Wave

                        Comment


                          I've updated the package to the latest homeseer.js platform. Note that I used the "homebridge-legacy-plugins" from nfarina. I will look to the new "homebridge" as soon as I have some spare time.

                          To update your current installation:
                          ---
                          1) Download http://greedy.reflexlight.nl/homesee...e-homeseer.zip
                          2) Close homebridge-homeseer and Homeseer
                          3) Back-up your C:\homebridge-homeseer directory
                          4) Extract and copy over your current installation (should not overwrite any configurable files)
                          5) Start Homeseer
                          6) When Homeseer has been started successfull, it should start homebridge-homeseer after a minute in a CMD window:
                          Code:
                          Starting Homebridge-Homeseer
                          Do not close this screen
                          Output will be logged to c:\homebridge-homeseer\homebridge-homeseer.log
                          ---

                          For new installations: follow these steps to get the Homebridge-homeseer package running on your Windows box:
                          ---
                          1) Download and install Bonjour: https://support.apple.com/kb/DL999?v...L&locale=nl_NL
                          2) Download http://greedy.reflexlight.nl/homesee...e-homeseer.zip
                          3) extract homebridge-homeseer.zip to c:\homebridge-homeseer (do not choose another path, unless you know what you're doing!)
                          4) Edit the config file config.json with your devices
                          5) Browse to c:\homebridge-homeseer
                          6) Edit c:\homebridge-homeseer\homebridge-homeseer.cmd:
                          - Change the first "goto main_logged" (line 11) to "goto main"
                          7) Run homebridge-homeseer.cmd to test your installation. It should report:
                          Code:
                          Starting Homebridge server...
                          Loading 1 platforms...
                          ..
                          ..
                          8) Press CTRL+C and enter Y to terminate the batch job.
                          9) Edit c:\homebridge-homeseer\homebridge-homeseer.cmd:
                          - Change the first "goto main" (line 11) to "goto main_logged"
                          10) Add the following line to startup.vb (from your homeseer installation directory), just after "End Sub":
                          Code:
                              ' Start Homebridge-Homeseer
                              hs.Launch("C:\homebridge-homeseer\homebridge-homeseer.cmd","","C:\homebridge-homeseer",0)
                          11) Restart Homeseer.
                          12) When Homeseer has been started successfull, it should start homebridge-homeseer after a minute in a CMD window:
                          Code:
                          Starting Homebridge-Homeseer
                          Do not close this screen
                          Output will be logged to c:\homebridge-homeseer\homebridge-homeseer.log
                          ---

                          If it is all running fine, you can always update your installation to the latest version of HomeSeerPlatform by just replacing the homeseer.js in c:\homebridge-homeseer\platforms with the latest version provided by stipus

                          ---Edit---:
                          Just updated homeseer.js to the latest version from this board (v0.11.1).

                          Good luck!
                          Erwin
                          Last edited by ewillems; November 8, 2015, 04:50 PM.

                          Comment


                            Erwin,
                            Thank you for your hard-work and contribution, it has made this process so much easier!!
                            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


                              Originally posted by ewillems View Post
                              I've updated the package to the latest homeseer.js platform. Note that I used the "homebridge-legacy-plugins" from nfarina. I will look to the new "homebridge" as soon as I have some spare time.

                              To update your current installation:
                              ---

                              If it is all running fine, you can always update your installation to the latest version of HomeSeerPlatform by just replacing the homeseer.js in c:\homebridge-homeseer\platforms with the latest version provided by stipus

                              ---Edit---:
                              Just updated homeseer.js to the latest version from this board (v0.11.1).

                              Good luck!
                              Erwin
                              Thanks! this is a lifesaver. I can get homebridge to run fine on linux and not Windows and you save me from running two platforms. As always, thanks to Stipus as well!

                              Comment


                                Originally posted by Krumpy View Post
                                In this example, what platform do I use in the config.json? I see the accessories declaration, but it is erring out stating that undefined platforms file does not exists. Sure, as I have not defined one as I only have an accessories declaration. Does the shim "HTTP" have to correspond to some platform?

                                Second, I will start writing a json for HomeSeer 2. Not quite sure what I am getting myself into, but it seems more logical to go that direction as converting to HS3 is not an option at the moment. Maybe around Christmas. But I also see that HS3 is quite a lot slower than HS2. Goal would be that no additional plugin would be necessary.

                                Thoughts?

                                Krumpy, any luck with the json for Homeseer2?


                                Sent from my iPhone using Tapatalk

                                Comment

                                Working...
                                X