CT101 schedule and adjustment by smartphone


(ZRock) #1

I got Smartthings and CT101 recently, still learning.
What I want is: have a weekly schedule, but I can use smartphone to make adjustment once a while so I can remotely control the thermostat when something unexpected happens.

After I played with CT1010 for a while, I realized its weekly schedule feature is only supported when not connected to Z-wave network. After I connect it to smartthings, the program menu is gone, and I have to program with Smartthings.

Is there a simple and reliable way for this? like time/day based programming, Don’t want to manually toggle mode (e.g.home/night/away) every day.

Thanks


(www.rboyapps.com - Make your home your butler!) #2

You should consider using SmartApps to control the thermostat. If you have access to RBoy Apps check out this SmartApp, it has a temporary hold feature which allows to override the daily/weekly schedules for a temporary period.


(ZRock) #3

Hi RBoy,
Thanks for quick response.
I installed 5-2 Day thermostat app in website and tried to program it in my samsung S7 phone. After finish programming, and press save, I got an error message:
An unexpected error occurred.

I am not using outside temperature. As initial test, all heat temp is ~68, and cool is ~80.


(www.rboyapps.com - Make your home your butler!) #4

Probably a platform error, just uninstall and install it again. If enabled the remote sensor option make sure you’ve selected it in and set the temperature swing.


(ZRock) #5

Tried, does not solve the problem.
I read the other thread, and followed your suggestion to use simulator. It throws exception:

ad9f10ad-879e-43e9-af24-8f6b32bbab9a 5:46:52 PM: error java.lang.NullPointerException @line 144 (initialize)
line 144: def today = calendar.get(Calendar.DAY_OF_WEEK)

I comm


(ZRock) #6

I replaced this line with the following to continue debug
def today = calendar.FRIDAY

then the error becomes this line:
log.debug(“Current time is ${(new Date(timeNow)).format(“EEE MMM dd yyyy HH:mm z”, location.timeZone)}”)


(www.rboyapps.com - Make your home your butler!) #7

Looks like you haven’t set your hub location and consequently the time zone. The app itself is fine. The error is being thrown because it can’t get the time zone of your hub.

Did you set your hub location in your SmartThings mobile app?


(ZRock) #8

I remember I set the location when I created the account a few weeks ago. Now I check it and it does not feel right. After I clean up a few things and set location again, the app works now. Thanks for your help.