[RELEASE] Introducing ScheduleTstatZones: multi zoned heating/cooling solution for your home

Hi,

Just to let my contributors know and all ST users who would like to do targeted heating/cooling in their home that I have new version of my zoned Heating/Cooling smartapp available at my store :

  • I corrected the following minor issues in ecobeeSetZoneWithSchedule (v8.8.5), ScheduleTstatZones (v8.8.4) and ScheduleRoomTempControl (v4.6.3):
    • Made further changes to the icons path in MyVirtualZone v1.2.1 to display them in the latest version of ST classic mobile app (v1.18 and higher).
    • Corrected set_fan_mode() in ecobeeSetZoneWithSchedule & ScheduleTstatZones to override fan settings when a condition such as the temp differential in the zone is over a temp delta threshold (ex. 4F) and also when no conditions are applied for the schedule

For more details about the all use cases supported, refer to ST community wiki:

EcobeeSetZoneWithSchedule (for the main ecobee thermostat only - with some optional smart vents)

http://thingsthataresmart.wiki/index.php?title=EcobeeSetZoneWithSchedule#Look_.26_Feel

P.S. EcobeeSetZoneWithSchedule has a tight integration with My Ecobee device.

ScheduleTstatZones (for any ST connected main thermostat like the Nest, Honeywell, etc. - with some optional smart vents)

https://thingsthataresmart.wiki/index.php?title=ScheduleTstatZones#Look_.26_Feel

ScheduleRoomTempControl (for any ST connected main thermostat with smart vents).

https://thingsthataresmart.wiki/index.php?title=ScheduleRoomTempControl#Look_.26_Feel

P.S. For all ST users who have contributed to my support packages, the update has been done for you under your ST account (provided that I have your credentials), you don’t need to do anything: everything has been taken care of.

You can download the new version at my store using the original sellfy link.

The new code is available at my store.

www.ecomatiqhomes.com/store

I’ve updated to this latest version and now I can’t modify the smartapp. I’m using this with Flair vents and when I get to the final page it keeps generating:

java.lang.NumberFormatException @line 5311 (setVentSwitchLevel)

I’m not seeing anything out of the ordinary in the setup, but can’t seem to get around it. Suggestions?

Hi,

Very strange that you have a null value in currentLevel… And, it happens only with Flair vents as another contributor reported the same issue to me.

It looks like the Flair APIs are returning null values where it shouldn’t ever. Maybe, there is some kind of latency issue with the Flair servers.

Anyway, please download the latest version (v8.8.6) of ecobeeSetZoneWithSchedule using your sellfy download link, I’ve implemented a workaround.

Regards.

I think I may have found a clue. The Ecobee integration appears not to be properly refreshing tokens. I noticed this as some of my WebCore pistons started failing. After clearing the auth and re-entering it that app started working again. So, thought maybe the same issue is happening with the FlairManager, unfortunately I can’t clear the auth there as clicking the blue text generates a “bad token” error and does not allow me to re-login.

Hi, you’d need to force delete the Flair devices and restart from scratch the installation to create new Flair devices.

To do so, you may want to rename the old ones as old* and, after create new Flair devices with MyFlairServiceMgr. You’d need also to re-select the new ones in all your smartapps & routines.

After doing this, when no smartapps are assigned to the old Flair devices, you can force delete all old devices in the IDE and the old service manager smartapp.

That’s my solution for now as I cannot reproduce your issue at home. It looks like there is some data corruption and I don’t know if it’s a Flair or a Smarthings issue. To me, it looks more like a ST platform issue as both cloud-to-cloud integrations are affected (could be bad connections pool).

Regards

Without the work-around, removing the FlairServiceMgr (as you suggested) and re-adding solved the problem for about a day. Then I added the work around as errors started again. Now with the work around, every time a vent is attempted to be adjusted it generates "echobeeSetZoneWithSchedule>getCurrentVentLevel>Not able to get current vent level from ". So the work around doesn’t really work that well.

Additionally, there definitely appears to be a problem with the token refresh algorithms. Flair is generating:

refresh_tokens>warning: local tokens still expired after refresh_tokens() call

and ecoBee thermostat is generating:

isTokenExpired>auth token buffer time expired (5 min.), countdown is -2 minutes, need to refresh tokens now!

I can stop the second one, by re-entering my credentials but that only lasts about 12 hours.

I tried to send an email to the address you provided, but received this in response:

Your message wasn’t delivered to support@maisonsecomatiq.com because the address couldn’t be found, or is unable to receive mail.

550 5.1.1 The email account that you tried to reach does not exist. Please try double-checking the recipient’s email address for typos or unnecessary spaces. Learn more at https://support.google.com/mail/?p=NoSuchUser w19sor230864ill.36 - gsmtp

Sorry, it’s services@maisonsecomatiq.com.

You’d need first to contribute to my support package ($20) at my store.

P. S. You understand that’s 2 cloud to cloud integrations and by such you’d need to follow all prerequisites and installation steps at the Readme (as indicated in the downloaded zip file).

Regards

Yes. The issue is that everything was working fine for quite some time, then I upgraded to the latest code. That’s when everything started failing.

Hi, I just checked all your Flair and ecobee devices under your ST account, and everything is working fine after the upgrade!

I don’t know why you’re saying that nothing works as your devices are responding to all commands, and there is no notifications or log entry that suggest that a problem had occurred in the past 3 days…

The messages that you posted above about the refresh tokens logic are sometimes issued but that doesn’t mean that you’ve lost your auth tokens.

As I have your credentials, I will monitor the situation, but for the moment, everything is working fine.
Regards.

Hi,

Just to let my contributors know and all ST users who would like to do targeted heating/cooling in their home that I have new version of my zoned Heating/Cooling smartapp available at my store :

  • I corrected the following minor issues in ecobeeSetZoneWithSchedule (v8.8.8), & ScheduleTstatZones (v8.8.7) :
    • Made some changes to better control the Flair vents when Switch value=off
    • Removed some logic related to room tstats to avoid conflict with the Virtual Zone’s setpoints

For more details about the all use cases supported, refer to ST community wiki:

EcobeeSetZoneWithSchedule (for the main ecobee thermostat only - with some optional smart vents)

http://thingsthataresmart.wiki/index.php?title=EcobeeSetZoneWithSchedule#Look_.26_Feel

P.S. EcobeeSetZoneWithSchedule has a tight integration with My Ecobee device.

ScheduleTstatZones (for any ST connected main thermostat like the Nest, Honeywell, etc. - with some optional smart vents)

https://thingsthataresmart.wiki/index.php?title=ScheduleTstatZones#Look_.26_Feel

ScheduleRoomTempControl (for any ST connected main thermostat with smart vents).

https://thingsthataresmart.wiki/index.php?title=ScheduleRoomTempControl#Look_.26_Feel

P.S. For all ST users who have contributed to my support packages, the update has been done for you under your ST account (provided that I have your credentials), you don’t need to do anything: everything has been taken care of.

You can download the new version at my store using the original sellfy link.

The new code is available at my store.

www.ecomatiqhomes.com/store

Regards

Hi,

Just to let my contributors know and all ST users who would like to do targeted heating/cooling in their home that I have new version of my zoned Heating/Cooling smartapp available at my store :

  • I corrected the following minor issues in ecobeeSetZoneWithSchedule (v8.8.9), & ScheduleTstatZones (v8.8.9) :
    • Made some changes in setRoomTstatSettings & turn_off_room_tstats_outside_zones() to avoid any conflicts when the master tstat is also included in the rooms (as a slave thermostat) for the scheduled zones.

For more details about the all use cases supported, refer to ST community wiki:

EcobeeSetZoneWithSchedule (for the main ecobee thermostat only - with some optional smart vents)

http://thingsthataresmart.wiki/index.php?title=EcobeeSetZoneWithSchedule#Look_.26_Feel

P.S. EcobeeSetZoneWithSchedule has a tight integration with My Ecobee device.

ScheduleTstatZones (for any ST connected main thermostat like the Nest, Honeywell, etc. - with some optional smart vents)

https://thingsthataresmart.wiki/index.php?title=ScheduleTstatZones#Look_.26_Feel

ScheduleRoomTempControl (for any ST connected main thermostat with smart vents).

https://thingsthataresmart.wiki/index.php?title=ScheduleRoomTempControl#Look_.26_Feel

P.S. For all ST users who have contributed to my support packages, the update has been done for you under your ST account (provided that I have your credentials), you don’t need to do anything: everything has been taken care of.

You can download the new version at my store using the original sellfy link.

The new code is available at my store.

www.ecomatiqhomes.com/store

Regards

Very interesting issue. I went to set up my schedule and I dont see where to set up the day of the week. I set up my first tstat was able to enter the information in. went to do the second and it was not there. So I went back to my first one that I was successful on and it was missing from there also. What am I missing

Hi, I’ve already responded to you via email.

You have 2 zoning smartapps under your ST account :

  1. ecobeeSetZoneWithSchedule is exclusively designed for ecobee tstats and follows the ecobee schedules (so it doesn’t have day & times input values) ;

  2. ScheduleTstatZones is for all ST connected thermostats and , as such, asks for day & time input values, as most ST connected tstats rely on ST for scheduling.

IF you have ecobee tstats, you should use ecobeeSetZoneWithSchedule as it has many more features for the ecobee.

Regards.

For those that are pondering getting this application, I give it 5 stars. Not only is it a good application the customer service is outstanding. I ran into a few issues and he worked with me to resolve them and he responded quickly. I was looking at other apps and actually tried a few after I already installed this and it was not a day and I went right back to this. Great work!

1 Like

Can someone advise me on how to add the radiator thermostats to the rooms with this app.
I’ve created Zones and rooms but can’t see where you put the actual thermostat.

Hi, I’ve already responded to your emails. The Danfoss DTH that you’re using is not compliant to the ST thermostat & Actuator capabilities.

To add those capabilities would require some minor changes to the code in the header.

I can do it for you provided that you contribute to the 6-month support package at my store.

Regards

Hi, Yes you did thanks, I was just wondering if any one else had any input. As I saw your original comments promoting your app in a danfoss thread I thought it must work.
I don’t have a main thermostat that works with smart things either so It looks like your app won’t be suitable. I may be worth stating that on your website.
I think what I’m looking for is much simpler than your offering. Thanks anyway.
It surprising Smart things don’t have these apps in place, seems like it requires programming, surprisingly Fibaro has an advantage over smart things with its interface in this case.

Yes, as I wrote to you, any code under SmartThings will fail after a while if the author doesn’t keep up with the ST platform’s changes and new requirements…

What was working 6 or even 3months ago may not be working anymore due to the Samsung Connect app and other changes…

Hi,

Just want to inform my contributors that new major versions of ScheduleTstatZones (v9.0) & MyVirtualZone (v2.0) * can be downloaded at my e-commerce solution provider (sellfy) using the original download link.

  • If you’re a contributor and interested in the new major version (v3), let me know and I can directly send the code to you for beta testing the upgrade. All you need to do is to copy &paste the new code over the existing one for MyVirtualZone DTH (Device Handler Type) and the zoning smartapp.
  • You’d probably need to refresh the Samsung connect app’s cache in order to see the UI changes. There are some instructions to do so in the release notes.
  • The new UI presentation amongst others adds a custom capability (setZoneSetpoint see image below).

You can also refer to the 1st post of this thread for all the use cases supported.

The zoning smartapps (ecobeeSetZoneWithShedule, ScheduleTstatZones, ScheduleRoomTempControl) are available at my store:

Regards