nest-manager icon indicating copy to clipboard operation
nest-manager copied to clipboard

Schedules & Manual Mode

Open vserluco opened this issue 6 years ago • 0 comments

I love the feature that allows myself to make schedules based on remote sensors temperature. That feature is solid and works very well. But there are times when my SO wants to raise or lower the heat. So I created a button that activates a 'Manual Temp' mode that isn't part of the schedules. I even went one step further and added button must be OFF to enter schedule mode. I thought I had it working, but Watchdog feature of NST allows cancels out the temperature command with a "whomadechanges ".

Verify the following before opening an issue:

  • [x] You followed the Nest Developer documentation here? Nest Developer Account Creation
  • [x] That OAuth is Enabled for the SmartApp under the IDE.
  • [x] The SmartApps and ALL (5) Devices Handlers are using the latest code available.
  • [x] You have reviewed the NST Manager Wiki for potential fixes.
  • [x] That ALL SmartApps and Device Handlers have been Published for You in the IDE.

About Your Setup:

  • How many Thermostats?: 1
  • Using the Nest Presence Device? No
  • Using the Nest Weather Device? No
  • iOS or Android?: iOS
  • Mobile App Version: original

Expected Behavior

Be able to adjust the temperature to what I want when in manual temp' mode

Current Behavior

NST Automation cancels out temperature and resets it.

Steps to Reproduce (for bugs)

  1. Turn on Button to enter 'Manual Temp' mode
  2. Change the temperature
  3. NST Automation cancels out temperature

Context

I want to be able to manual adjust temperatures in my house without having to edit the current automation schedules for nst to allow the adjustment.

Please include a copy of your log under the IDE if possible bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:52 AM: info ||| NST Automation - Remote Sensor | setTstatAutoTemps() | Setting tstat [Nest Thermostat - Downstairs | mode: (heat) | heatSetpoint: (65.0°F)] bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:52 AM: info ||| NST Automation - Remote Sensor | setTstatAutoTemps: [tstat: Nest Thermostat - Downstairs | Mode: heat | coolSetpoint: null°F | heatSetpoint: 65.0°F] bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:52 AM: info ||| NST Automation - Remote Sensor | Remote Sensor: HEAT - Adjusting HeatSetpoint to maintain state bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:52 AM: trace | NST Automation - Remote Sensor | setTstatTempCheck: Schedule 5 (5) use Motion settings: false | isBtwn: false | previousBtwn: false | motionOn null bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:52 AM: debug NST Automation - Remote Sensor | scheduleAutomationEval: Eval Schedule Changed from (70sec) to (60sec) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:52 AM: trace | NST Automation - Remote Sensor | HEATINGSETPOINT Event | Device: Nest Thermostat - Downstairs | Value: (65) with a delay of 54ms 74fc382c-0d35-4b01-94b9-5b6041e7f430 6:06:52 AM: debug Nest Thermostat - Downstairs (v5.4.6) | UPDATED | Device Changes Made by (remSen: Set Nest Thermostat - Downstairs Heat Setpoint 65.0°F) at (Dec 13, 2019 - 6:06:52 AM) 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:52 AM: debug sending data to AT 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:52 AM: debug A sensor event occurred: [name:heatingSetpoint, deviceId:74fc382c-0d35-4b01-94b9-5b6041e7f430, isoDate:2019-12-13T14:06:52.621Z, unit:F, value:65] 74fc382c-0d35-4b01-94b9-5b6041e7f430 6:06:52 AM: debug Nest Thermostat - Downstairs (v5.4.6) | UPDATED | Heat Setpoint is (65°F) | Original Temp: (72°F) 74fc382c-0d35-4b01-94b9-5b6041e7f430 6:06:52 AM: debug Nest Thermostat - Downstairs (v5.4.6) | UPDATED | thermostatSetPoint Temperature is (65°F) | Original Temp: (72°F) 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:52 AM: info ||| NST Manager (v5.6.4) | schedNextWorkQ ALREADY PENDING │ RATE LIMITING ON queue: 0 │ schedTime: 64 │ recentSendCmd: 0 │ last seconds: 145 │ cmdDelay: 4 | runInActive: true | command proc: false | Api Limited: false 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:52 AM: info ||| NST Manager (v5.6.4) | Replacing Cmd to Queue 0 (qsize: 1): 3bDm2k8l7eaSLJdd8KzYXAmjIICHQ_Qb, devices/thermostats, target_temperature_f, 65, 3bDm2k8l7eaSLJdd8KzYXAmjIICHQ_Qb 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:52 AM: warn || NST Manager (v5.6.4) | Command Matches last in queue 0 - Replacing 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:52 AM: debug NST Manager (v5.6.4) | setTargetTemp | Setting Thermostat (Nest Thermostat - Downstairs - 3bDm2k8l7eaSLJdd8KzYXAmjIICHQ_Qb) Target Temp to (65°F) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:45 AM: debug NST Automation - Remote Sensor | scheduleAutomationEval: Skipping Schedule Change: (22sec) because (7sec) Left bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:06:45 AM: trace | NST Automation - Remote Sensor | HEATINGSETPOINT Event | Device: Nest Thermostat - Downstairs | Value: (72) with a delay of 45ms 74fc382c-0d35-4b01-94b9-5b6041e7f430 6:06:45 AM: debug Nest Thermostat - Downstairs (v5.4.6) | UPDATED | Heat Setpoint is (72°F) | Original Temp: (66°F) 74fc382c-0d35-4b01-94b9-5b6041e7f430 6:06:45 AM: debug Nest Thermostat - Downstairs (v5.4.6) | UPDATED | thermostatSetPoint Temperature is (72°F) | Original Temp: (66°F) 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:45 AM: info ||| NST Manager (v5.6.4) | schedNextWorkQ RUNIN │ RATE LIMITING ON queue: 0 │ schedTime: 64 │ recentSendCmd: 0 │ last seconds: 138 │ cmdDelay: 4 | runInActive: true | command proc: false | Api Limited: false 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:45 AM: info ||| NST Manager (v5.6.4) | Adding Cmd to Queue 0 (qsize: 1): 3bDm2k8l7eaSLJdd8KzYXAmjIICHQ_Qb, devices/thermostats, target_temperature_f, 72, 3bDm2k8l7eaSLJdd8KzYXAmjIICHQ_Qb 72805b41-b4c5-450e-a6fc-59fdf9081c0a 6:06:45 AM: debug NST Manager (v5.6.4) | setTargetTemp | Setting Thermostat (Nest Thermostat - Downstairs - 3bDm2k8l7eaSLJdd8KzYXAmjIICHQ_Qb) Target Temp to (72°F) 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:45 AM: debug command setHeatingSetpoint(72.0) executed successfully 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:45 AM: info executing '/device/74fc382c-0d35-4b01-94b9-5b6041e7f430/setHeatingSetpoint/72?argType=float' endpoint 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:45 AM: debug sending data to AT 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:45 AM: debug A sensor event occurred: [name:heatingSetpoint, deviceId:74fc382c-0d35-4b01-94b9-5b6041e7f430, isoDate:2019-12-13T14:06:45.616Z, unit:F, value:72] 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:45 AM: debug sending data to AT 6502a7e9-f727-4adf-b6f3-7a7acd9968e5 6:06:45 AM: debug A sensor event occurred: [name:thermostatSetpoint, deviceId:74fc382c-0d35-4b01-94b9-5b6041e7f430, isoDate:2019-12-13T14:06:45.571Z, unit:F, value:72] 6:06:33 AM: info Waiting on events... 6:06:33 AM: info For past logs for individual things go to the My Devices section


Logs bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: trace | NST Automation - Remote Sensor | getCurrentSchedule: mySched: 2 noSched: false ccnt: 2 res1: null bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: info ||| NST Automation - Remote Sensor | remSenCheck: Thermostat Info - ( Temperature: (70.0) | HeatSetpoint: (62.0) | CoolSetpoint: (0) | HvacMode: (heat) | OperatingState: (idle) | FanMode: (auto) ) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: trace | NST Automation - Remote Sensor | schMotCheck Execution Time: (614 milliseconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: trace | NST Automation - Remote Sensor | setTstatTempCheck: [Current Schedule: (Second Level Home) | Previous Schedule: (5 - Schedule 5) | None: (false)] bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: info ||| NST Automation - Remote Sensor | remSenCheck: Sensor Temp: 66.5 bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: info ||| NST Automation - Remote Sensor | remSenCheck: Thermostat Info - ( Temperature: (70.0) | HeatSetpoint: (62.0) | CoolSetpoint: (0) | HvacMode: (heat) | OperatingState: (idle) | FanMode: (auto) ) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: trace | NST Automation - Remote Sensor | checkRestriction:( 2 ) restriction: null bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: info ||| NST Automation - Remote Sensor | remSenCheck: Desired Temps - Heat: 68.0 | Cool: 0.0 bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:33:24 AM: trace | NST Automation - Remote Sensor | schMotCheck bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: debug NST Automation - Remote Sensor | scheduleAutomationEval: Eval Schedule Changed from (52sec) to (43sec) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastAutomationSchedSec': (18 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastschMotEvalSec': (17 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: trace | NST Automation - Remote Sensor | TEMPERATURE Event | Device: Nest Thermostat - Downstairs | Value: (70) with a delay of 58ms bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: debug NST Automation - Remote Sensor | scheduleAutomationEval: Eval Schedule Changed from (52sec) to (43sec) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastAutomationSchedSec': (18 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastschMotEvalSec': (17 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:41 AM: trace | NST Automation - Remote Sensor | THERMOSTATOPERATINGSTATE Event | Device: Nest Thermostat - Downstairs | Value: (Idle) with a delay of 74ms bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:40 AM: debug NST Automation - Remote Sensor | scheduleAutomationEval: Eval Schedule Changed from (53sec) to (44sec) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:40 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastAutomationSchedSec': (17 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:40 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastschMotEvalSec': (16 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:40 AM: trace | NST Automation - Remote Sensor | MODE Event | Device: Home | Value: (Manual - Home) with a delay of 48ms bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:37 AM: debug NST Automation - Remote Sensor | scheduleAutomationEval: Eval Schedule Changed from (56sec) to (47sec) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:37 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastAutomationSchedSec': (14 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:37 AM: trace | NST Automation - Remote Sensor | [GetTimeDiffSeconds] Results for 'getLastschMotEvalSec': (13 seconds) bb4b9765-f1fb-4505-bdad-a96b8b061a26 6:32:37 AM: trace | NST Automation - Remote Sensor | SWITCH Event | Device: Temp Override | Value: (Off) with a delay of 186ms

vserluco avatar Dec 13 '19 14:12 vserluco