@erilaj, the new version now produces the following error :
dev:302 2020-11-09 09:41:08.145 error java.lang.NullPointerException: Cannot get property 'rawOffset' on null object on line 298 (configure)
dev:302 2020-11-09 09:41:08.133 info Sensor type is 10k
dev:302 2020-11-09 09:41:08.131 info Set to Floor mode
dev:302 2020-11-09 09:41:08.129 info Set to 24h
dev:302 2020-11-09 09:41:08.112 info configure()
dev:302 2020-11-09 09:41:07.071 info updated() : re-scheduling configure() every 3 hours, and once within a minute.
dev:302 2020-11-09 13:07:46.825 info heatingSetpoint: 21.5
dev:302 2020-11-09 13:07:46.660 info heatingSetpoint: 21.5
dev:302 2020-11-09 13:07:46.366 info refresh()
dev:302 2020-11-09 13:07:46.344 info Clock total seconds = 47266
dev:302 2020-11-09 13:07:46.342 info Set Clock : Mon Nov 09 13:07:46 EST 2020
dev:302 2020-11-09 13:07:46.339 info Sensor type is 10k
dev:302 2020-11-09 13:07:46.336 info Set to Floor mode
dev:302 2020-11-09 13:07:46.334 info Set to 24h
dev:302 2020-11-09 13:07:46.306 info configure()
dev:302 2020-11-09 13:07:45.268 info updated() : re-scheduling configure() every 3 hours, and once within a minute.
Hello, @erilaj, @scoulombe, @kris2k2, a really HUGE thank you for all your development and explanations. I have 20 Sinope TH1123ZB. I used SmartThings, but since being forced to use the new App, I wanted to change (too much lags, "offline", no way to set by .5 C) - horrible.
With your great work, I can pilot it better and actually send the outside temperature from my Netatmo outdoor module. Really, really great! Thanks again.
I have the sinope hub, but currently looking to change my hub for Hubitat. My older zigbee thermostat from Sinope does not show the word "Out" and my recent one shows it. So, you probably have a version that does not have the capability to show that word.
Are they both on the same firmware? This is something that was debated but no one could confirm since no one had the Sinope Hub. Would you mind checking if they are both up to date just in case it's just a firmware version thing?
Not sure if that will answer your question, but both are TH1124ZB with the software version 0.6.4. But the recent one, are material version 2 and the older one material version 1. At least this is the information that I can easily access from my sinope hub in the "info" section on the thermostat.
Not sure if this is the right place to ask my question and I'm still a newby with hubitat. But so far, I've succesfully installed the driver of @kris2k2 and succesfully notify all my thermostats to show the outside temperature with openweathermap. However, I know that it is possible to monitor the energy consumption with these thermostats , but I don't find how to do it as @scoulombe seems to have done. Anyone can help me?
When I'm trying to install that energy meter, it is written "unknown" for me. More on a long shot, I would like to create a dashboard that will show graph of the energy consumption for all my thermostats. But on my learning curve, I'm not there yet!
I did implement something to measure energy consumption ... I didn't share this code because it's kind of experimental... It was crashing my Zigbee network! I've made some changes and it seems stable now. Contact me in private to get the code. (I guess you also speak french ? )
I went back and forth with Sinope's support on this for a few months. They stated that it was firmware related and by purchasing the GT130, moving the devices to the GT130 and allowing the firmware to update (software updates within 24hrs, firmware takes about a week before it pulls down the update). So I did exactly this, and they still do not show the word OUT. So with software and firmware being the same, the only other thing it can be is hardware, but support could not confirm this.
From the driver source code of @scoulombe and @kris2k2, I have added a new capability which is the energy meter, which I believe allows easier energy monitoring of your electricity consumption for your heating.
That driver is strongly inspired by a driver code that @scoulombe has shared with me privately, but with some improvement. It must be understood that to calculate the energy consumption, the power of the thermostat needs to be read frequently. So depending on how robust is your Zigbee network and how many thermostats you have, it may be overloaded. So, if you are realizing that your Zigbee network is sometimes crashing (or unresponsive), you can adjust the reporting interval (min and max) in the preferences. Larger values with also a larger difference between the min and max value for the reporting will reduce the probability of making your Zigbee network crash, but will also reduce the precision of the energy meter, On my side, with 10 thermostats, values of 60 and 90 seconds, for the minimal interval and maximal interval of reporting works perfectly.
Similar to @kris2k2, the outside temperature is sent to the thermostat by notification. How to do it is explained somewhere in this thread.
So, you can find the driver that I used here:
Also, for the outside temperature, I used that virtual thermometer (will works only in Canada).
It is the first time for me to share publicly a code and my programming skill were acquired almost all by self-learning. So if you see something that can be improved in my code, don't hesitate to bring change.
I know that the heating season is almost finish, but it may be a interesting driver for you for the next winter
@samuel.c.auclair I was at the cottage this weekend (where I have my Sinope Thermostats) and when I came back I saw this new driver variation, I'll give it a try next time I go there for sure and will report back. But at least you have @Sebastien trying it out, he's real good at reporting problems and all, so if you have bugs, I'm sure he will find them before I have a chance to try it out.
Ok, Second try. The first code that I share was having some issues when it was not on my hub. So thank to @Sebastien, we went through them. Throughout the process, I've also added a small new feature that will indicate the power capacity of all the heating devices connected to your thermostat. That feature will be in the state variable (your thermostat needs to heat at 100% for at least one time for the variable to appear). Moreover, I believe that my code is now more organized compared to before, which will make it easier if some of you would like to make some changes for your own needs.
The link is the same as before: