Hi @talz13,
Please update to version 3.2, I made some changes to use refresh() instead of poll() (which is supported by your thermostat). Just grab the new code at my github and save&publish in the IDE.
Now, you need to be aware the the smartapp will use your temp sensors throughout the house to
average out your main thermostatâs temperature reading. This is similar the ecobee3âs follow me
feature. It will not take one reading over the other.
To answer your set up questions:
1a- In the 1st page, you need to specify that you want to configure at least 3 rooms, 2 zones (Ground Floor & Upstairs), and 3 schedules: Home, Night, Away (you can change the number later if needed)
1b- As you want in 2a to optionnally adjust the cooling & heating setpoints according the basement rec
temperature, you need to set the following parameter to true:
section("Enable temp adjustment based on indoor temp/motion sensor(s) [optional, default=false]") {
input (name:"setAdjustmentTempFlag", title: "Enable temp adjustment based on avg temp collected at indoor sensor(s)?", type:"Boolean",
metadata: [values: ["true", "false"]],required:false)
}
1c- In Rooms setup, just configure the 3 rooms as desired.
2a- In the Basement Rec Room setup, you need to specify the motion sensor for that room and
its temp sensor by using these input parameters:
section("Room ${indiceRoom}-TempSensor [optional]") {
input "tempSensor${indiceRoom}", title: "Temp sensor for better temp adjustment", "capability.temperatureMeasurement",
required: false, description: "Optional"
}
section("Room ${indiceRoom}-MotionSensor [optional]") {
input "motionSensor${indiceRoom}", title: "Motion sensor (if any) to detect if room is occupied", "capability.motionSensor",
required: false, description: "Optional"
}
2b- For that room, you need to set the following flag parameter to âtrueâ and the number of minutes (or time window) used to determine whether the room is occupied or not.
section("Room ${indiceRoom}-Do temp adjustment when occupied room only [optional]") {
input "needOccupiedFlag${indiceRoom}", title: "Will do temp adjustement only when Occupied [default=false]", "Boolean", metadata: [values: ["true", "false"]],
required: false
}
section("Room ${indiceRoom}-Do temp adjustment with this occupied's threshold [optional]") {
input "residentsQuietThreshold${indiceRoom}", title: "Threshold in minutes for motion detection [default=15 min]", "number",
required: false, description: "Optional"
}
3- For your Master Bedroom, you need to only indicate your temp sensor (with the same parameter as above), but no motion sensor during the Night Schedule as there is no motion anyway.
4-[quote]Use the thermostat reading when the mode is set to âAwayâ, and have the setback changed
[/quote]
Answer: This is done by default with the proper âAwayâ Schedule settings.
5- The way I see it (I can only assume here), you have at least 2 zones in your home: Ground Floor (including the basement), and Upstairs (for the Night Schedule) and include the rooms in the proper zones that you want to control later with your schedules.
6- You need to configure at least 3 schedules for all your routines (Home, Away, Night). The time slots (begin & end times) and the heating/cooling setpoints associated to these Schedules are up to you: I donât know your day-to-day habits, and it really depends on your own requirements.
You can even define some specific schedules for the weekend vs. weekdays using the same zones/rooms. Then, you need to configure the HomeWeekDays, HomeWeekend, NightWeekEnd, NightWeekDays, etc. schedules.
7- You then need to associate your newly configured schedules to your ST hello modes or routines by using the following input parameter:
section("Schedule ${indiceSchedule}-Set for specific mode(s) [default=all]") {
input (name:"selectedMode${indiceSchedule}", type:"enum", title: "Choose Mode", options: enumModes,
required: false, multiple:true,defaultValue:settings."selectedMode${indiceSchedule}", description: "Optional")
}
8- In the last page (Notifications & Other Settings), set the following input parameter to true (at least at the beginning) to get detailed notifications on what the smartapp does:
section("Detailed Notifications") {
input "detailedNotif", "Boolean", title: "Detailed Notifications?", metadata: [values: ["true", "false"]], required:
false
}
Thatâs it⊠You should be allset, this is the basic configuration for your use case.
Please support the developer
!!