Aeroverra / StreamDeck-Nest-Control

Control your nest thermostat from the Stream Deck
6 stars 2 forks source link

[Feature Request] Fan control #3

Open walkertr0n opened 1 year ago

walkertr0n commented 1 year ago

Someone else requested this on the Discord already... I'd love to be able to turn on my fan for N minutes like you can from the Google Home app.

I can't write the code but here's the API guide if someone else wants to try :)

MVP:

  1. Turn on the fan for N minutes a. Set fan_timer_active = true; Set fan_timer_duration = int value of 15, 30, 45, 60, 120, 240, 480, or 720

Nice to have:

  1. Fail the button setup if user's HVAC does not support fan control (has_fan will return false)
  2. Turn off the fan a. I'm not actually sure if this is supported via the API but I suppose it might work by setting fan_timer_active = false?
  3. Show a countdown timer a. fan_timer_timeout returns a string timestamp in ISO 8601; subtract current time from that, once per second until it ends
Aeroverra commented 1 year ago

Thanks for this. I will add this as soon as I can. Good chance it will be within the next week or two but not sure.