Announcement

Collapse
No announcement yet.

Sinope TH1300ZB Thermostat

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

    Sinope TH1300ZB Thermostat

    I just added one of these thermostats. The Hubitat plugin created only one device - TemperatureMeasurement. Can the additional options be added? I added Maker output and what I see in Hubitat and Homeseer at the end. Thanks.

    Code:
     [{"name":"Amy's iPhone","label":"Amy's iPhone","type":"Mobile App Device","id":"36","date":"2019-10-13T19:47:47+0000","model":null,"manufacturer":null,"capabilities":["PresenceSensor","Sensor","Notification"],"attributes":{"notificationText":null,"dataType":"ENUM","values":["present","not present"],"presence":"not present"},"commands":[{"command":"arrived"},{"command":"departed"},{"command":"deviceNotification"}]},{"name":"AnnaPhone","label":"AnnaPhone","type":"Mobile App Device","id":"6","date":"2019-08-24T14:08:20+0000","model":null,"manufacturer":null,"capabilities":["PresenceSensor","Sensor","Notification"],"attributes":{"notificationText":null,"dataType":"ENUM","values":["present","not present"],"presence":"not present"},"commands":[{"command":"arrived"},{"command":"departed"},{"command":"deviceNotification"}]},{"name":"Breakfast Room Lamp","label":"Breakfast Room Lamp","type":"Generic Zigbee Outlet","id":"12","date":"2019-10-12T20:05:31+0000","model":null,"manufacturer":null,"capabilities":["Switch","Configuration","PowerMeter","Sensor","Actuator","Outlet"],"attributes":{"power":null,"dataType":"ENUM","values":["on","off"],"switch":"off"},"commands":[{"command":"configure"},{"command":"off"},{"command":"off"},{"command":"on"},{"command":"on"},{"command":"refresh"}]},{"name":"Generic Zigbee Bulb","label":"Dad Bedside Light","type":"Generic Zigbee Bulb","id":"35","date":"2019-10-13T17:05:11+0000","model":null,"manufacturer":null,"capabilities":["Switch","Configuration","SwitchLevel","Refresh","Actuator","Light","ChangeLevel"],"attributes":{"level":"99","dataType":"ENUM","values":["on","off"],"switch":"off"},"commands":[{"command":"configure"},{"command":"off"},{"command":"off"},{"command":"on"},{"command":"on"},{"command":"refresh"},{"command":"setLevel"},{"command":"startLevelChange"},{"command":"stopLevelChange"}]},{"name":"Aeon Multisensor 6","label":"Dining Room Multi Sensor","type":"Aeon Multisensor 6","id":"41","date":"2019-10-12T00:09:21+0000","model":null,"manufacturer":null,"capabilities":["IlluminanceMeasurement","TemperatureMeasurement","RelativeHumidityMeasurement","Battery","MotionSensor","Configuration","AccelerationSensor","Sensor","UltravioletIndex"],"attributes":{"acceleration":null,"dataType":"NUMBER","values":null,"battery":"56","humidity":"25","illuminance":"0","motion":"active","temperature":"66.4","ultravioletIndex":null},"commands":[{"command":"configure"}]},{"name":"evie\u2019s iphone ","label":"evie\u2019s iphone ","type":"Mobile App Device","id":"37","date":"2019-10-13T20:09:13+0000","model":null,"manufacturer":null,"capabilities":["PresenceSensor","Sensor","Notification"],"attributes":{"notificationText":null,"dataType":"ENUM","values":["present","not present"],"presence":"not present"},"commands":[{"command":"arrived"},{"command":"departed"},{"command":"deviceNotification"}]},{"name":"Device","label":"Garage Door Lights","type":"Generic Zigbee Outlet","id":"38","date":null,"model":null,"manufacturer":null,"capabilities":["Switch","Configuration","PowerMeter","Sensor","Actuator","Outlet"],"attributes":{"power":null,"dataType":"ENUM","values":["on","off"],"switch":null},"commands":[{"command":"configure"},{"command":"off"},{"command":"off"},{"command":"on"},{"command":"on"},{"command":"refresh"}]},{"name":"Heartbeat","label":"Heartbeat","type":"Virtual Switch","id":"65","date":"2019-10-13T20:10:57+0000","model":null,"manufacturer":null,"capabilities":["Switch","Refresh"],"attributes":{"switch":"on","dataType":"ENUM","values":["on","off"]},"commands":[{"command":"off"},{"command":"on"},{"command":"refresh"}]},{"name":"Fibaro Motion Sensor ZW5","label":"Home Theater Sensor","type":"Fibaro Motion Sensor ZW5","id":"40","date":"2019-10-13T19:22:49+0000","model":null,"manufacturer":null,"capabilities":["IlluminanceMeasurement","TemperatureMeasurement","Battery","MotionSensor","Configuration","ThreeAxis","AccelerationSensor","Refresh","Sensor","TamperAlert"],"attributes":{"acceleration":"inactive","dataType":"VECTOR3","values":null,"battery":"100","illuminance":"16","motion":"inactive","pendingChanges":"0","tamper":"clear","temperature":"72.2","threeAxis":"[x:-2,y:-4,z:8]"},"commands":[{"command":"configure"},{"command":"refresh"}]},{"name":"Sinope TH1300ZB Thermostat","label":"Master Bathroom Floor","type":"Sinope TH1300ZB Thermostat","id":"98","date":"2019-10-13T19:55:37+0000","model":null,"manufacturer":null,"capabilities":["TemperatureMeasurement","Configuration","Refresh","Thermostat","Sensor","Actuator"],"attributes":{"coolingSetpoint":null,"dataType":"NUMBER","values":null,"heatingSetpoint":"75","schedule":null,"supportedThermostatFanModes":null,"supportedThermostatModes":null,"temperature":"74.1","thermostatFanMode":null,"thermostatMode":"heat","thermostatOperatingState":"idle","thermostatSetpoint":"75"},"commands":[{"command":"auto"},{"command":"configure"},{"command":"cool"},{"command":"emergencyHeat"},{"command":"fanAuto"},{"command":"fanCirculate"},{"command":"fanOn"},{"command":"heat"},{"command":"off"},{"command":"refresh"},{"command":"setClockTime"},{"command":"setCoolingSetpoint"},{"command":"setHeatingSetpoint"},{"command":"setSchedule"},{"command":"setThermostatFanMode"},{"command":"setThermostatMode"}]},{"name":"2","label":"MasterBedroomDad","type":"Lutron Fast Pico","id":"10","date":"2019-10-13T03:39:35+0000","model":null,"manufacturer":null,"capabilities":["Actuator","PushableButton","ReleasableButton"],"attributes":{"numberOfButtons":"5","dataType":"NUMBER","values":null,"pushed":"5","released":"5"},"commands":[{"command":"push"},{"command":"release"}]},{"name":"3","label":"MasterBedroomMom","type":"Lutron Fast Pico","id":"13","date":"2019-10-13T04:07:12+0000","model":null,"manufacturer":null,"capabilities":["Actuator","PushableButton","ReleasableButton"],"attributes":{"numberOfButtons":"5","dataType":"NUMBER","values":null,"pushed":"5","released":"5"},"commands":[{"command":"push"},{"command":"release"}]},{"name":"4","label":"MasterBedroomWall","type":"Lutron Fast Pico","id":"14","date":"2019-10-13T03:25:39+0000","model":null,"manufacturer":null,"capabilities":["Actuator","PushableButton","ReleasableButton"],"attributes":{"numberOfButtons":"5","dataType":"NUMBER","values":null,"pushed":"1","released":"1"},"commands":[{"command":"push"},{"command":"release"}]},{"name":"Generic Zigbee Bulb","label":"Mom Bedside Light","type":"Generic Zigbee Bulb","id":"34","date":"2019-10-13T17:05:11+0000","model":null,"manufacturer":null,"capabilities":["Switch","Configuration","SwitchLevel","Refresh","Actuator","Light","ChangeLevel"],"attributes":{"level":"100","dataType":"ENUM","values":["on","off"],"switch":"off"},"commands":[{"command":"configure"},{"command":"off"},{"command":"off"},{"command":"on"},{"command":"on"},{"command":"refresh"},{"command":"setLevel"},{"command":"startLevelChange"},{"command":"stopLevelChange"}]},{"name":"SimonPhone","label":"SimonPhone","type":"Mobile App Device","id":"1","date":"2019-10-13T01:56:29+0000","model":null,"manufacturer":null,"capabilities":["PresenceSensor","Sensor","Notification"],"attributes":{"notificationText":null,"dataType":"ENUM","values":["present","not present"],"presence":"present"},"commands":[{"command":"arrived"},{"command":"departed"},{"command":"deviceNotification"}]},{"name":"Device","label":"Tessa Bedroom Lights","type":"Generic Zigbee Outlet","id":"15","date":"2019-10-05T18:41:07+0000","model":null,"manufacturer":null,"capabilities":["Switch","Configuration","PowerMeter","Sensor","Actuator","Outlet"],"attributes":{"power":"0","dataType":"ENUM","values":["on","off"],"switch":"on"},"commands":[{"command":"configure"},{"command":"off"},{"command":"off"},{"command":"on"},{"command":"on"},{"command":"refresh"}]},{"name":"Tessa\u2019s iphone","label":"Tessa\u2019s iphone","type":"Mobile App Device","id":"8","date":"2019-10-13T19:47:33+0000","model":null,"manufacturer":null,"capabilities":["PresenceSensor","Sensor","Notification"],"attributes":{"notificationText":null,"dataType":"ENUM","values":["present","not present"],"presence":"not present"},"commands":[{"command":"arrived"},{"command":"departed"},{"command":"deviceNotification"}]}]
    Click image for larger version  Name:	Screen Shot 2019-10-13 at 4.17.00 PM.png Views:	0 Size:	62.1 KB ID:	1332752Click image for larger version  Name:	Screen Shot 2019-10-13 at 4.16.46 PM.png Views:	0 Size:	159.4 KB ID:	1332753Click image for larger version  Name:	Screen Shot 2019-10-13 at 4.18.28 PM.png Views:	0 Size:	48.4 KB ID:	1332754

    #2
    I'm looking to add support. Time is a luxury at the moment so it's going to be a bit before an update is done.

    Comment


      #3
      Looking forward to it. Setting temp is all that’s holding me back from controlling this. Thanks.

      Comment


        #4
        FYI - I created a virtual thermostat and connected that to Homeseer. Did the same thing as the Sinope thermostat. So it appears that this connected to the Thermostat type - only temperature is created as a device in Homeseer.

        Comment


          #5
          Originally posted by simonmason View Post
          FYI - I created a virtual thermostat and connected that to Homeseer. Did the same thing as the Sinope thermostat. So it appears that this connected to the Thermostat type - only temperature is created as a device in Homeseer.
          Until the forum owner is transferred you may want to tag Michael McSharry so he'll be notified.

          Comment


            #6
            Originally posted by simplextech View Post

            Until the forum owner is transferred you may want to tag Michael McSharry so he'll be notified.
            ok, thanks.

            Comment


              #7
              I understand what is missing is the ability to control the thermostat. Hubitat indicates that it supports six capabilities and the first of these now exist in the plugin to be mapped into HS.
              Code:
              ["TemperatureMeasurement",
              "Configuration",
              "Refresh",
              "Thermostat",
              "Sensor",
              "Actuator"],
              I doubt if any of the other capabilities need to be mapped to HS except "Thermostat", but it may be the case that multiple HS devices will be needed for the "Thermostat" capability. I have never used a Thermostat via HS, but I suspect there is some standard that may exist for how devices are setup for a Thermostat. Do you have any pointers for this?

              I can see from your screenshot Hubitat will support several commands and this is reflected in the Maker API data
              Code:
              "command":"auto"},{
              "command":"configure"},{
              "command":"cool"},{
              "command":"emergencyHeat"},{
              "command":"fanAuto"},{
              "command":"fanCirculate"},{
              "command":"fanOn"},{
              "command":"heat"},{
              "command":"off"},{
              "command":"refresh"},{
              "command":"setClockTime"},{
              "command":"setCoolingSetpoint"},{
              "command":"setHeatingSetpoint"},{
              "command":"setSchedule"},{
              "command":"setThermostatFanMode"},{
              "command":"setThermostatMode"}]},{
              I suspect that not all 16 commands disclosed by Maker API will be desired in the HS UI such as "configure" or "refresh". There are some that likely do not need a HS interface such as "setSchedule". There are some commands that are related so likely will be shown as options on a single HS device such as perhaps "(cool, heat, off and perhaps auto)". What set of devices would you like created and which of the Maker API commands are associated with each device?

              In the debug output of the plugin I added the same type of data that you posted as the Maker output. How did you get the Maker output? Perhaps I do not need the debug I added to the plugin if there are alternate or better ways to get the data.

              Comment


                #8
                Here is my Nest thermostat options. This is also a 3rd party plugin but its pretty straight forward. In my case the Sinope thermostat is actually only controlling a heated floor so I only need the heat functions but I imagine you want to implement all possibilities.
                Attached Files

                Comment


                  #9
                  You can get the data from the hubitat web interface. Go to apps, Maker, Click on Get all devices with full details and voila. I wasn't sure if you were getting something different through the homeseer side.

                  Comment


                    #10
                    I propose adding five Thermostat devices Cool Setpoint, Heat Setpoint, Fan Mode, HVAC Mode, and HVAC Status. This will map into Hubitat with the following relationships.

                    Code:
                    "attributes":{"coolingSetpoint":null,     Thermostat-Cool Setpoint - setCoolingSetpoint
                    "dataType":"NUMBER",                       not used
                    "values":null,                                        not used
                    "heatingSetpoint":"75",                        Thermostat-Heat Setpoint - setHeatingSetpoint
                    "schedule":null,                                    not used
                    "supportedThermostatFanModes":null,not used
                    "supportedThermostatModes":null,      not used
                    "temperature":"74.1",                           TemperatureMeasurement
                    "thermostatFanMode":null,                  Thermostat-Fan Mode - (fanAuto,fanCirculate,fanOn, ? no off command observed from Maker)
                    "thermostatMode":"heat",                    Thermostat-HVAC Mode - (auto,cool,heat,off)
                    "thermostatOperatingState":"idle",      Thermostat-HVAC Status
                    "thermostatSetpoint":"75"},                  not used
                    Can you confirm the states for FanMode and ThermostatMode that are showing in Hubitat? My guesses are in the (..) above. This information is used to setup the Value/Status pairs in Homeseer.

                    I will also need to see the debug output for the Thermostat events. i.e. change the Fan mode, change the Thermostat mode, change the setpoints and post what is in the debug. This is needed to align the event attribute with the attributes shown above and keep HS showing the same as Hubitat.

                    Comment


                      #11
                      Fan mode is on, circulate, auto. Thermostat mode is auto, off, heat, emergency heat and cool

                      Comment


                        #12
                        I implemented the thermostat in attached 3.0.4.0. If you have other icons or if you want the order of the devices changed then let me know.
                        I do not have any data that shows what happens when the thermostat mode, fan mode or setpoints change so likely HS will not get updated. This data should appear in the debug log when the changes occur. For testing need to assess if the controls work from HS and when changes are made to the physical thermostat for each type of control. Post or email to mcsSolutions at CenturyTel dot net the \Data\hubitat\hubitat_debug.txt file for the test.

                        Click image for larger version

Name:	Capture.PNG
Views:	261
Size:	51.3 KB
ID:	1336826
                        Attached Files

                        Comment


                          #13
                          The only controls on the thermostat are set point up and down and they update in Homeseer. I then set all of the other controls from Hubitat and the thermostat updated but nothing showed in Homeseer - as you expected. I captured the log file and sent it through. It seems like a lot is in there. If it is easier I could clear our the file and then activate each command? Thanks.

                          Comment


                            #14
                            I believe I have the event updates from Hubitat for the thermostat working. If you change something with the physical thermostat or from Hubitat then it should be reflected in the HS device.

                            The commands from HS should be working as well, but based upon the debug it is not clear if they are working or not.

                            The full debug is easy to navigate since I know what keywords to search. Same test and if something does not work then be explicit as to what your test was, what was expected and what happened.
                            Attached Files

                            Comment


                              #15
                              Any feedback on Thermostat or the Fan controller?

                              Comment

                              Working...
                              X