Announcement

Collapse
No announcement yet.

Remote Sensor support?

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

    Remote Sensor support?

    Any plans to support the remote sensors?

    #2
    Yes I plan to support remote sensors. However I don't own any, so I would need one of you guys to let me access your ecobee data so that I can implement and test this feature. Please contact me at spud.webb.4@gmail.com if you are willing to help.

    Comment


      #3
      I added remote sensors in version 3.0.0.6.
      Thanks to the users who helped me!

      In addition of the devices for the thermostat itself, the plugin creates a group of devices for each remote sensor:

      Click image for larger version

Name:	remote_sensors.jpg
Views:	1
Size:	110.4 KB
ID:	1182235

      here is what the API docs says about occupancy:
      The remote sensor data will only show computed occupancy, as does the thermostat. Definition - For a given sensor, computed occupancy means a sensor is occupied if any motion was detected in the past 30 minutes.

      Comment


        #4
        Thanks for implementing this. I think I sent you my .ini file right when I was leaving for my office and by the time I got there and settled in 1.5 hours later you had it implemented!

        Comment


          #5
          I have two Ecobee3s. When I installed 3.0.0.5 both were recognized fine.

          Each Ecobee3 has two remote probes.
          I upgraded to 3.0.0.6 and only one of the Ecobee3s is showing its remote probes.

          Comment


            #6
            I think I know where is the problem, but to confirm could you set the log level to Debug, and send me the json data that is logged every 4 minutes.
            Thanks

            Comment


              #7
              Originally posted by tamu View Post
              I have two Ecobee3s. When I installed 3.0.0.5 both were recognized fine.

              Each Ecobee3 has two remote probes.
              I upgraded to 3.0.0.6 and only one of the Ecobee3s is showing its remote probes.
              can you test version 3.0.0.7 attached, you will need to delete the existing device for remote sensors, then install and start the new version, they should be recreated correctly.
              Attached Files

              Comment


                #8
                Thank you, that version corrected the issue.

                Comment


                  #9
                  If I was to add an additional probe at a later date, what would be the correct order of operations? Delete all current probes and then disable/enable the plugin for it to rediscover them all?

                  Comment


                    #10
                    Originally posted by tamu View Post
                    If I was to add an additional probe at a later date, what would be the correct order of operations? Delete all current probes and then disable/enable the plugin for it to rediscover them all?
                    you shouldn't have to do anything, the plugin should discover it and create the appropriate devices as soon as the remote sensor is associated with one of your thermostats.

                    Comment


                      #11
                      Issue with remote sensor support

                      Hi Spud,

                      Great plugin! Unfortunately I have noticed an issue (and perhaps this has been addressed but I did not see it on the forum):

                      I have one thermostat and 3 remote sensors.

                      Each remote sensor obviously supports "occupancy", "temperature", and then has a basic name.

                      The actual thermostat itself supports "occupancy" as well; but from what I can tell you are not currently displaying the Thermostat's occupancy sensor.

                      You are displaying "Ambient Temperature" on the Thermostat itself. Unfortunately, when you have sensors, "Ambient Temperature" is an averaged amount across all the external sensors and the thermostat's internal sensor (well, based on your ecobee occupancy settings.)

                      I would like to suggest a future change - if the thermostat has any external sensors attached, create one "sensor" entry per external sensor plus an additional entry for the thermostat itself. Then you can display the occupancy and temperature for the thermostat as a separate item.

                      This would allow you to leave the "Ambient temperature" under the thermostat itself (which is the averaged temperature, as mentioned), but also allow me to get the exact temperature of the thermostat itself (which I cannot do at the moment). It would also solve the occupancy issue not showing for the Thermostat.

                      P.S., from what I can tell, looking at the JSON dump, ecobee's API does support what i'm talking about - they show the thermostat as a separate sensor and show the occupancy and temperature for it.

                      I hope this all makes sense.

                      Thanks!

                      Comment


                        #12
                        Originally posted by oztiks View Post
                        Hi Spud,

                        Great plugin! Unfortunately I have noticed an issue (and perhaps this has been addressed but I did not see it on the forum):

                        I have one thermostat and 3 remote sensors.

                        Each remote sensor obviously supports "occupancy", "temperature", and then has a basic name.

                        The actual thermostat itself supports "occupancy" as well; but from what I can tell you are not currently displaying the Thermostat's occupancy sensor.

                        You are displaying "Ambient Temperature" on the Thermostat itself. Unfortunately, when you have sensors, "Ambient Temperature" is an averaged amount across all the external sensors and the thermostat's internal sensor (well, based on your ecobee occupancy settings.)

                        I would like to suggest a future change - if the thermostat has any external sensors attached, create one "sensor" entry per external sensor plus an additional entry for the thermostat itself. Then you can display the occupancy and temperature for the thermostat as a separate item.

                        This would allow you to leave the "Ambient temperature" under the thermostat itself (which is the averaged temperature, as mentioned), but also allow me to get the exact temperature of the thermostat itself (which I cannot do at the moment). It would also solve the occupancy issue not showing for the Thermostat.

                        P.S., from what I can tell, looking at the JSON dump, ecobee's API does support what i'm talking about - they show the thermostat as a separate sensor and show the occupancy and temperature for it.

                        I hope this all makes sense.

                        Thanks!
                        I know that the occupancy for the thermostat itself was missing and I plan to add it.
                        Regarding ambient temperature, according to the API docs what the plugin shows is the actual temperature displayed on the thermostat, but I didn't know it was an average across all the sensors. Could you point me where you learn about this?
                        Each sensor also shows a humidity value so I supposed there is the same problem for this device?

                        Comment


                          #13
                          Originally posted by spud View Post
                          I know that the occupancy for the thermostat itself was missing and I plan to add it.
                          Regarding ambient temperature, according to the API docs what the plugin shows is the actual temperature displayed on the thermostat, but I didn't know it was an average across all the sensors. Could you point me where you learn about this?
                          Each sensor also shows a humidity value so I supposed there is the same problem for this device?
                          Thanks for the quick response. Unfortunately, the remote sensors do not currently (nor do I think they have the ability) to report humidity. Just the main thermostat.

                          Here is the excerpt from the API, I believe "actualTemperature" is the temperature value you are returning for "Ambient temperature", as the value of "77.5F" matches the "Ambient temperature" display in Homeseer.

                          Code:
                          "runtime": { "runtimeRev": "151120124108", "connected": false, "firstConnected": "2013-01-01 00:00:00", "connectDateTime": "2015-11-20 12:27:45", "disconnectDateTime": "2016-01-21 00:00:00", "lastModified": "2015-11-20 12:36:21", "lastStatusModified": "2015-11-20 12:41:08", "runtimeDate": "2015-11-20", "runtimeInterval": 151, "actualTemperature": 775, "actualHumidity": 64, "desiredHeat": 651, "desiredCool": 780, "desiredHumidity": 20, "desiredDehumidity": 60, "desiredFanMode": "auto" }, "events": [ { "type": "hold", "name": "auto", "running": true, "startDate": "2015-10-25", "startTime": "19:26:04", "endDate": "2035-12-29", "endTime": "19:26:34", "isOccupied": true, "isCoolOff": false, "isHeatOff": false, "coolHoldTemp": 780, "heatHoldTemp": 651, "fan": "auto", "vent": "off", "ventilatorMinOnTime": 20, "isOptional": true, "isTemperatureRelative": false, "coolRelativeTemp": 0, "heatRelativeTemp": 0, "isTemperatureAbsolute": true, "dutyCyclePercentage": 255, "fanMinOnTime": 5, "occupiedSensorActive": false, "unoccupiedSensorActive": false, "drRampUpTemp": 0, "drRampUpTime": 3600, "linkRef": "", "holdClimateRef": "" },
                          However, here is the API response pertaining to the sensors (I have removed the sensor code and replaced it with XX[1-3]):

                          Code:
                          "remoteSensors": [ { "id": "rs:102", "name": "Sensor 1", "type": "ecobee3_remote_sensor", "code": "XX1", "inUse": true, "capability": [ { "id": "1", "type": "temperature", "value": "692" }, { "id": "2", "type": "occupancy", "value": "false" } ] }, { "id": "rs:100", "name": "Family Room", "type": "ecobee3_remote_sensor", "code": "XX2", "inUse": true, "capability": [ { "id": "1", "type": "temperature", "value": "752" }, { "id": "2", "type": "occupancy", "value": "true" } ] }, { "id": "rs:101", "name": "Master Bed", "type": "ecobee3_remote_sensor", "code": "XX3", "inUse": true, "capability": [ { "id": "1", "type": "temperature", "value": "726" }, { "id": "2", "type": "occupancy", "value": "true" } ] }, { "id": "ei:0", "name": "My ecobee3", "type": "thermostat", "inUse": false, "capability": [ { "id": "1", "type": "temperature", "value": "691" }, { "id": "2", "type": "humidity", "value": "63" }, { "id": "3", "type": "occupancy", "value": "false" } ] } ] } ], "status": { "code": 0, "message": "" } }
                          As you can see - only the remote sensors show humidity, but the thermostat itself ("My ecobee3") does not. Also, you can see that none of the "remotesensors" section have a temperature of "775" (the actualTemperature listed above). The "My ecobee3" "sensor" shows a temperature of "69.1", though. I am 99% sure the "mysensors" -> "My ecobee3" -> "temperature" is the value you have to depend on when remote sensors are installed, in order to get the actual temperature of the thermostat itself. The "actualTemperature" becomes an average (depending on which sensors are active for the climate setting at the time).

                          I know this sounds bizarre, but it was a learning process for me as well. When I go and look at the LCD on my thermostat, it doesn't actually display the temperature at the thermostat. It displays the "averaged" temperature above. If i want to see the actual thermostat temperature I have to use the ecobee app on my phone or the web interface to see what the "actual" reading from the thermostat is.

                          I know this was poorly worded but I hope it offers some assistance. Let me know if I can help any further.

                          Thanks

                          Comment


                            #14
                            Hi spud,

                            Just curious if you plan to implement the fixes?

                            Thanks!

                            Comment


                              #15
                              Originally posted by oztiks View Post
                              Hi spud,

                              Just curious if you plan to implement the fixes?

                              Thanks!
                              Done, in version 3.0.0.9 I have added an occupancy device and a temperature device for the thermostat. The temperature device only shows up if you have at least one remote sensor, and the Ambient temperature device remains the "average" temperature.

                              Please test and let me know.

                              Comment

                              Working...
                              X