Announcement

Collapse
No announcement yet.

HomeSeer and Apple Siri (HomeKit) the easy way

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

    #61
    You are missing a "ref": line on your two thermostat entries. Try adding the below line to the respective thermostat entries.

    "ref": 127,
    "ref": 35,

    Comment


      #62
      Tyborg, Thanks for the advice, I updated the config as below, but now all my devices on my phone have the status of "No Response", If I roll back to my old config it works again.
      {
      "bridge": {
      "name": "Homebridge",
      "username": "CC:22:3D:E3:CE:30",
      "port": 51826,
      "pin": "031-45-154"
      },
      "platforms": [
      {
      "platform": "HomeSeer",
      "name": "HomeSeer",
      "host": "HTTP://192.168.100.85:90",
      "accessories": [
      {
      "ref": 50,
      "type": "Lightbulb",
      "name": "All Pub",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable50"
      },
      {
      "ref": 39,
      "type": "Lightbulb",
      "name": "Audio Video switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable39"
      },
      {
      "ref": 38,
      "type": "Lightbulb",
      "name": "Laser Light switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable38"
      },
      {
      "ref": 34,
      "type": "Lightbulb",
      "name": "LED Lights switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable34"
      },
      {
      "ref": 42,
      "type": "Lightbulb",
      "name": "Mirror Ball switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable42"
      },
      {
      "ref": 37,
      "type": "Lightbulb",
      "name": "Mushroom Light switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable37"
      },
      {
      "ref": 40,
      "type": "Lightbulb",
      "name": "Relay 5 switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable40"
      },
      {
      "ref": 43,
      "type": "Lightbulb",
      "name": "Signs switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable43"
      },
      {
      "ref": 41,
      "type": "Lightbulb",
      "name": "Ultra Vioilet switch",
      "offValue": "0",
      "onValue": "100",
      "can_dim": false,
      "uuid_base": "NonDimmable41"
      },
      {
      "ref": 127,
      "type": "Thermostat",
      "name": "Zone Control",
      "temperatureUnit": "C",
      "setPointReadOnly": false,
      "uuid_base": "Thermostat127"
      },
      {
      "ref": 35,
      "type": "Thermostat",
      "name": "Heating Enabled",
      "temperatureUnit": "C",
      "setPointReadOnly": false,
      "uuid_base": "Thermostat35"
      }
      ]
      }
      ]
      }

      Comment


        #63
        The reference for the thermostat settings in the json file is below. Check and make sure you have all the required settings. Just compared and you are missing a few of the required ones. I have a thermostat, but haven't hooked it up yet. I'm sure I'll hit some of the same roadblocks as you when I do.

        //Thermostat
        {
        "ref":113, // Required - HomeSeer Device Reference of the Current Temperature Device
        "type":"Thermostat", // Required for a Thermostat
        "name":"Temperature Salon", // Optional - HomeSeer device name is the default
        "temperatureUnit":"C", // Optional - F for Fahrenheit, C for Celsius, C is the default
        "setPointRef":167, // Required - HomeSeer device reference for your thermostat Set Point.
        "setPointReadOnly":true, // Optional - Set to false if your SetPoint is read/write. true is the default
        "stateRef":166, // Required - HomeSeer device reference for your thermostat current state
        "stateOffValues":[0,4,5], // Required - List of the HomeSeer device values for a HomeKit state=OFF
        "stateHeatValues":[1], // Required - List of the HomeSeer device values for a HomeKit state=HEAT
        "stateCoolValues":[2], // Required - List of the HomeSeer device values for a HomeKit state=COOL
        "stateAutoValues":[3], // Required - List of the HomeSeer device values for a HomeKit state=AUTO
        "controlRef":168, // Required - HomeSeer device reference for your thermostat mode control (It can be the same as stateRef for some thermostats)
        "controlOffValue":0, // Required - Value for OFF
        "controlHeatValue":1, // Required - Value for HEAT
        "controlCoolValue":2, // Required - Value for COOL
        "controlAutoValue":3, // Required - Value for AUTO
        "coolingThresholdRef":169, // Optional - Not-implemented-yet - HomeSeer device reference for your thermostat cooling threshold
        "heatingThresholdRef":170 // Optional - Not-implemented-yet - HomeSeer device reference for your thermostat heating threshold
        "uuid_base": "Thermostat113" // Optional - HomeKit identifier will be derived from this parameter instead of the name
        }

        Comment


          #64
          Also after editing your config file make sure to go to https://jsonlint.com/ to check and make sure it's valid.

          Comment


            #65
            thanks, I'll have a play

            Comment


              #66

              Comment


                #67
                Argh... works, but only on one device

                So I have HomeBridge working great, the Home app works, and Siri works. Yay!

                But it only works on one device at a time. I can get it working on my iPhone, but when I go to my iPad it wants me to set up from scratch. If I reset everything, and set it up on my iPad first, even if I turn the "hub" setting on, nothing else sees it. And my AppleTV never sees it (under Account/iCloud).

                Everything is on the same network, same iCloud account, "Home" is turned on under iCloud on iPhone and iPad, Keychain is on under iCloud on iPhone and iPad. I've tried logging out/in of iCloud on all devices. Powering on/off all devices.

                I simply can not get this to sync across devices.

                Any advice? This is making me nuts. I love that I can finally easily control HomeSeer from iOS and Siri, but it only works on one device, which is mostly useless.

                Thanks in advance for any help!

                Comment


                  #68
                  Hi

                  Thanks, you have done great work here, this was what HomeSeer was missing.

                  Will you do a update on the windows app to include sensors for door, window, leak, motion, light, temperature, humidity?

                  I see there are support in the Homebridge:

                  SUPORTED TYPES:
                  // - Lightbulb (can_dim, onValue, offValue options)
                  // - Fan (onValue, offValue options)
                  // - Switch (onValue, offValue options)
                  // - Outlet (onValue, offValue options)
                  // - Thermostat (temperatureUnit, setPoint, state, control options)
                  // - TemperatureSensor (temperatureUnit=C|F)
                  // - HumiditySensor (HomeSeer device value in % - batteryRef, batteryThreshold options)
                  // - LightSensor (HomeSeer device value in Lux - batteryRef, batteryThreshold options)
                  // - ContactSensor (onValues, batteryRef, batteryThreshold options)
                  // - MotionSensor (onValues, batteryRef, batteryThreshold options)
                  // - LeakSensor (onValues, batteryRef, batteryThreshold options)
                  // - OccupancySensor (onValues, batteryRef, batteryThreshold options)
                  // - SmokeSensor (onValues, batteryRef, batteryThreshold options)
                  // - CarbonMonoxideSensor (onValues, batteryRef, batteryThreshold options)
                  // - CarbonDioxideSensor (onValues, batteryRef, batteryThreshold options)
                  // - Battery (batteryThreshold option)
                  // - GarageDoorOpener (state, control, obstruction, lock options)
                  // - Lock (unsecured, secured, jammed options)
                  // - SecuritySystem (arm, disarm options)
                  // - Door (obstruction option)
                  // - Window (obstruction option)
                  // - WindowCovering (obstruction option)

                  Br
                  Kim

                  Comment


                    #69
                    Very good point Kim.
                    ...and how about support for HS3 events?
                    HomeSeer has "devices" and "events"
                    Apple's Home Kit has "accesories" and "scenes" respectively.

                    I don't see any option to setup "events". Of course there is a cheap and dirty way to do it in HS3 by creating a device for each event and making a change of the device status run the event. Is it possible to have more elegant solution to associate HS3 events with "scenes" in Apple HomeKit?

                    Thanks,

                    RISquare

                    Comment


                      #70
                      Hi RISquere

                      I found this Info about events, should be possible:

                      (Not the most important thing for me, I can make virtual switches in HomeSeer to trigger an event and import them as a switch in Homebridge)

                      // "events":[ // Optional - List of Events - Currently they are imported into HomeKit as switches
                      // {
                      // "eventGroup":"My Group", // Required - The HomeSeer event group
                      // "eventName":"My On Event", // Required - The HomeSeer event name
                      // "offEventGroup":"My Group", // Optional - The HomeSeer event group for turn-off <event>
                      // "offEventName":"My Off Event", // Optional - The HomeSeer event name for turn-off <event>
                      // "name":"Test", // Optional - HomeSeer event name is the default
                      // "uuid_base":"SomeUniqueId" // Optional - HomeKit identifier will be derived from this parameter instead of the name

                      I have made modifications to my config.json file to support other devices, here are the settings:
                      Motion Sensor:
                      {
                      "ref": 728,
                      "type": "MotionSensor",
                      "name": "Garage Motion"
                      },

                      Wall plug:
                      {
                      "ref": 737,
                      "type": "Outlet",
                      "name": "Boiler",
                      "offValue": "0",
                      "onValue": "255",
                      "can_dim": false,
                      "uuid_base": "NonDimmable737"
                      },

                      Switch:
                      {
                      "ref": 778,
                      "type": "Switch",
                      "name": "Siren Hallway",
                      "offValue": "0",
                      "onValue": "255",
                      "can_dim": false,
                      "uuid_base": "NonDimmable778"
                      },

                      Temp sensor:
                      {
                      "ref":304,
                      "type":"TemperatureSensor",
                      "temperatureUnit":"C",
                      "name":"Outside Temp"
                      },

                      Light Sensor:
                      {
                      "ref":731,
                      "type":"LightSensor",
                      "name":"Garage Lights"
                      },

                      Humidity Sensor:
                      {
                      "ref":318,
                      "type":"HumiditySensor",
                      "name":"Outside Humidity"
                      },

                      Door Sensor:
                      {
                      "ref":358,
                      "type":"Door",
                      "name":"Mailbox"
                      },

                      Vindow Sensor:
                      {
                      "ref":507,
                      "type":"Window",
                      "name":"Sophia Vindow"
                      },

                      Comment


                        #71
                        Hi Kim,

                        Thanks for sharing. Sensors are definitely not covered by the original app by Jumper. It's nice to have them and your post does help. Will Siri read back to you the value of a sensor? For example is the dialog below real or close to real

                        You: Siri what is garage motion status
                        Siri: Garage motion is off

                        You: Siri what's outside temp
                        Siri: Outside temp is 21 degrees Celsius

                        You: Is Sophia's window open
                        Siri: Sophia's window is closed

                        Comment


                          #72
                          Yes, she will.

                          Comment


                            #73
                            @ Jumper

                            What is the username and password for the RPi. Name: pi pass: rasberry doesn't work
                            I did burn your image file and booted the Rpi so far so good, however I need the credentials to get in. Promise not to break anything.
                            Thanks

                            Comment


                              #74
                              Username: pi
                              Password: raspberry ( not rasberry)

                              Comment


                                #75
                                Thanks Kim.
                                Stupid me :-(

                                Comment

                                Working...
                                X