tonesto7 / nest-manager

NST Manager (SmartThings)
https://community.smartthings.com/t/release-nst-manager-v5-0/
Other
389 stars 2.18k forks source link

Feature Request: Add Humidity Control and Automation #407

Closed jdc0730 closed 7 years ago

jdc0730 commented 7 years ago

Verify the following before opening an issue:

About Your Setup:

Expected Behavior

I would like the ability to control the humidity from Nest Manager. Ideally, there would be an automation that would set the humidity based on the outside temperature (http://www.rmsab.com/articles/proper-indoor-humidity/). More flexibility could be added by allowing the user to add an adjustment (+ or -) and using a formula like (Outside Temp * 0.5 + 25 - Adjustment).

Current Behavior

Currently, no way to set humidity.

Context

I had previously used this (https://github.com/desertblade/device-type.nest/blob/With-Humidity-Controls/nest.devicetype.groovy) device type along with this (https://github.com/bmmiller/SmartThings/blob/master/smartapps/bmmiller/humidity-reset-schedule.src/humidity-reset-schedule.groovy) SmartApp to make adjustments to the humidity levels in order to control condensation in my home.

compmas2 commented 7 years ago

I would also love to see this feature implemented. Additionally the Nest thermostat has a setting for times during the day when the humidifier should not run and it would be great it that can be controlled too.

tonesto7 commented 7 years ago

The official API from desertblade was using a hack which emulated the Nest iOS mobile app which has access to the full controls used in the mobile app

tonesto7 commented 7 years ago

We are using the official API which does not allow access to control humidity.

imnotbob commented 7 years ago

Good ideas.

Few questions:

a) I assume you want us to "control" a switch (or set of switches) to turn on / off humidifier? I ask as I don't think Nest gives us api control to a humidifier it is controlling. (i.e. this is an external humidifier on its own smart switch/outlet)

Above is "adding humidity"

b) The other question is are you looking for something for drying? i.e. run the AC system some ? Nest has the build in cool-to-dry, but we have no api access to it...you can set it in your Nest, and it will just do its thing...

or is this like a) except turning on/off a dehumidifier that is on a switch?

This is "removing humidity"

FYI, I do a) right now, but it does require me to have other smartapps like CoRE. I like the idea of building this in, just trying to understand what controls have to be there.

jdc0730 commented 7 years ago

@imnotbob I am not sure I completely understand your question. I have a whole house humidifier that is controlled by the Nest. So what I was looking for was simply a way to set the humidity value on the Nest which @tonesto7 is indicating isn't possible (unfortunately). We have gas heat so it's generally a matter of not having the humidifier turn on as the gas heat tends to dry things out.

imnotbob commented 7 years ago

You are correct - what I describe is not what you want.

Tony is correct that the Nest API does not let us set humidity level. You can do this thru your Nest mobile or Nest web app. We are working to get Nest certification, so we cannot go outside Nest's published APIs.

Do you find you change your humidity setting regularly in Nest? I get the impression they left it out of their API perhaps because they believe it is set-it and forget-it...

In my case, I have external humidifiers (Venta), and putting them on a smartswitch let's me turn them on/off based on home/away, outdoor temp, and humidity level. This type of automation could be put in Nest Manager.

compmas2 commented 7 years ago

I personally change the humidity level often in the winter. I live in a cold area and the article referenced in the original request shows the proper humidity level for outside temperatures. If the humidity is too high, condensation forms on all my windows and around doorways. Instead of having manually adjust it each day based on the outside temperature it would great to automate the adjustments.

imnotbob commented 7 years ago

If you decide to reach out to Nest, do encourage them to allow setting humidity setting via API.

jdc0730 commented 7 years ago

@imnotbob My use is similar to @compmas2. The temperature changes here frequently here so I do adjust it almost daily. I've taken the old device code and stripped out everything that wasn't dealing with humidity and installed it as another device. That should work for the time being.

imnotbob commented 7 years ago

I Would be interested in seeing your code.

jdc0730 commented 7 years ago

@imnotbob I spent very, VERY little time on it. It is very easy to overload the API by rapidly adjusting the humidity. I don't ever do this, relying instead on the SmartApp to make the adjustment which works fine. All those caveats in place:

https://github.com/jdc0730/device-type.nest-humidity/blob/master/devicetypes/jdc0730/nest-humidity-control.src/nest-humidity-control.groovy

imnotbob commented 7 years ago

A thought that may help you on the commands, is instead of doing up/down by one (forcing a lot of commands), you just send a setHumidityLevel(nn), so you can make a change as a single command?

That would mean perhaps removing the up / down commands?

imnotbob commented 7 years ago

@jdc0730 , @compmas2 Can y'all contact me on ST forums - via a private message? I have a few things to ask.

tonesto7 commented 7 years ago

This should be good as it was added to v5.0

compmas2 commented 7 years ago

I see this was added but it looks like it only turns on or off the humidifier functionality. Does Nest still not expose the adjustment of what humidity level to set since that is what needs to be regularly adjusted during Winter months.

Thanks for the addition though since that will at least allow me to regulate my house from over humidifying by cycling it on and off periodically.

tonesto7 commented 7 years ago

I really wish Nest would allow control of humidity using the API. This works with the https://github.com/jdc0730/device-type.nest-humidity ;)

imnotbob commented 7 years ago

The automation now in NST manager does adjust the desired humidity setting based on outside temps.

This is described in: http://thingsthataresmart.wiki/index.php?title=NST_Manager#Humidifier_Control