Thermostat Scheduler [RELEASED]

When can we expect 2.2.4 to be released :smiley:

The "RC HVAC Manager" app does just what you describe. Unfortunately, @cybrmage seems to have left the community and withdrawn public distribution of his code. In the absence of a copyright statement or license, it would be inappropriate to create derivative works (and HE staff probably shouldn't look at the code, if HE is planning to produce & distribute a 'clean room' version that has similar functionality).

Having said all of that, there are plenty of examples of how RC HVAC Manager works in the [WITHDRAWN - Use the new Broadlink integration by @tomw] NATIVE Broadlink RM/RM Pro/RM Mini/SP driver thread, and a close reading will point to the source code for the last released version.

Refresh Error using Thermostat Scheduler with a Virtual Thermostat.

Checking the Virtual Thermostat Device: it does not have a Refresh command.

Please add a dummy refresh command to the Virtual Thermostat device, or verify the target device has a Refresh command prior to issuing the Refresh command in the Thermostat Scheduler.

Setting the "Thermostat Refresh Interval" to No Selection, stopped the error.

Usage Note: The virtual thermostats are set by the Average Temperature app, controlling five dumb Mini-Split Inverters (AC/Heat/Fan) using IR blasters with the withdrawn Broadlink user app.

Why don't you just turn off the refresh in the app?

Refresh() is meaningless for a virtual device. All that feature is there for is because some physical thermostats don't report temperature changes, so the display in the app is not kept current. Giving a refresh command causes the physical thermostat to report it's current state. The virtual thermostat doesn't have real temperature changes to report, and for the one's that it is commanded to do, it does report.

As mentioned in my prior post, doing that stopped the error.

While setting up the Thermostat Scheduler, I wondered what Refresh would do on a Virtual device? Lacking any insight I set up a 10 minute interval.

Anyhow, it's reported, and is a simple fix should anyone want to fix the app's code.

And giving praise where praise is due, the Thermostat Scheduler is a great app.

This is easily done using the existing public Average Temperature app, then changing the app created child device driver to a Virtual Thermostat or simply change the created device type in the app's code.

Hello,
from last update I have a problem with Thermostat Scheduler. Right now I'm using 8x TS (I have 12 trvs). When it switch to away mode on one TS there is an error java.lang.NullPointerException: Cannot execute null+0 on line 845 (timeAwayHandler) - it is only one that is using time period with away temperature (yes I have set away temperature) - other TS are using mode to change temperature and there are no problems with them:


@bravenel

Could you post the setup page for it?

I'm pretty sure I know what the problem is, and a fix will be out in the next release -- soon.

this setup?

Yes, thanks. It's barfing on the absent cool setting. Fix is in....

1 Like

ok, thank you :slight_smile:

Another picture in my mind I'll never be able to unsee...
:wink:

Oddly enough, I don’t have an Away mode. I customized my modes to have ‘Away Day’ and ‘Away Night’. How do I know which mode the Thermostat Scheduler is using for ‘Away’?

You won't be able to use that functionality. Away is a 'special' mode, and by doing away with it you lose the functionality associated with. It is only special in so far as it has such dedicated functionality in some apps.

OK. If I rename a mode back to ‘Away’, will I regain the functionality?

How do I duplicate/clone a Thermostat Scheduler?

There is no way to do that at this time.

Is there a way to enable/disable or pause/resume a Thermostat Scheduler?

Not specifically. There are settings you can set from Rule Machine, including putting it on Hold.

can you add more refersh intervals (for eg. 60, 90, 120 minutes)? I'm using Thermostat Scheduler for controlling temp via trvs and sometimes somebody (my daughter) change temp via push button on the trv and it wound be nice if it will refresh temp setpoints once per hour (I've got 11 trvs so every 30 minutes is to much for me)

eidt:
ok now I see that it "only" send refresh command to device. Is it possible to add function that will refresh but scheduler?