Control multiple radiator valves or thermostats using a virtual thermostat using advanced rules based on presence modes, time and day of week. The module will create a virtual thermostat device that allows manual overriding of the calculated setpoints. Additionally a switch will be created to entirely enable/disable thermostat control.
The module supports the creation of multiple schedules that trigger based on the presence state (provided by the Presence module), time of day and day of week.
Multiple radiator valves or thermostats may be grouped in a zone. These zones may have additional schedules that either override (absolute setpoints). or augment the global schedules (relative setpoints).
Tested with Z-Way version v2.2.4
Bug/Issue tracker at https://github.com/maros/Zway-ThermostatControl/issues
Documentation at https://github.com/maros/Zway-Thermosta ... /README.md
Download at https://github.com/maros/Zway-Thermosta ... l/releases
Installation can be done directly via git or via the the Zway App-Store. Install the BaseModule first.
[userModule] Thermostat Control (Updated 2016/10/06)
[userModule] Thermostat Control (Updated 2016/10/06)
Last edited by maros on 04 Feb 2017 15:20, edited 7 times in total.
Z-Way 2.2.4 on Raspi B | My Zway GitHub repos | Amazon Wishlist to support module development
Re: [userModule] Thermostat Control
This looks like a great module. What kind of thermostats do you use? I did have Danfoss, but they are horrible
v2.1.1 raspi2
Re: [userModule] Thermostat Control
Currently I'm using both Stella and Danfoss LC-13 with Vera Lite, and planning to switch to ZWay within the next couple of months. Usually after summer Danfoss valves will need one or two weeks to get back to normal operation, but then they mostly work fine.
Z-Way 2.2.4 on Raspi B | My Zway GitHub repos | Amazon Wishlist to support module development
Re: [userModule] Thermostat Control
With the Vera I assume? (I had the older Danfoss LC. I heard the newer LC13 is better)maros wrote: Usually after summer Danfoss valves will need one or two weeks to get back to normal operation, but then they mostly work fine.
v2.1.1 raspi2
Re: [userModule] Thermostat Control (Updated 2015/11/03)
I tried to use these module with Night mode only. But this works only when Presence status is also enabled. If Presence is set to OFF then Thermostat always sets default temperature and doesn't react to changes of Night mode.
Is it an expected behavior?
Is it an expected behavior?
Re: [userModule] Thermostat Control (Updated 2015/11/03)
Yes, this is the expected behaviour. I currently support four presence modes:
- Home/Day
- Home/Night
- Away (both day and night)
- Vacation (both day and night)
Z-Way 2.2.4 on Raspi B | My Zway GitHub repos | Amazon Wishlist to support module development
Re: [userModule] Thermostat Control (Updated 2015/11/03)
Thank you! I will try to configure this way.
-
- Posts: 10
- Joined: 25 Feb 2013 21:54
Re: [userModule] Thermostat Control (Updated 2015/11/03)
Schedules are not working with version 2.2.0. Possibly something to do with the cron issue.
Re: [userModule] Thermostat Control (Updated 2015/11/03)
Unfortunately I cannot investigate this issue since I'm running 2.1.1 and not going to upgrade as long as some major issues are still open. However ThermostatControl is not using the Cron module, but sets timeouts directly via setTimeout. However, i noticed that even in 2.1.1 sometimes the timeout callbacks are never called.
A quick hack to fix this would be to call the calculateSetpoint method every couple of minutes
self.interval = setInterval(_.bind(self.calculateSetpoint,self),1000*60*2);
And clean it up in the stop method
clearInterval(self.interval);
self.interval = undefined;
However this prevents you from setting manual setpoints via the virtual thermostat device.
A quick hack to fix this would be to call the calculateSetpoint method every couple of minutes
self.interval = setInterval(_.bind(self.calculateSetpoint,self),1000*60*2);
And clean it up in the stop method
clearInterval(self.interval);
self.interval = undefined;
However this prevents you from setting manual setpoints via the virtual thermostat device.
Z-Way 2.2.4 on Raspi B | My Zway GitHub repos | Amazon Wishlist to support module development
-
- Posts: 17
- Joined: 28 Mar 2016 21:30
Re: [userModule] Thermostat Control (Updated 2016/04/21)
Hi, thanks for this module. I tried to use it for scheduling with the Heatit Thermostat. But it only works when i uncheck all days. I don't use presence states. My Z-Way Version is 2.2.3. Is there a known issue when using the days in a heating plan? Thanks in advance.