To control the winter humidity in my house, I use a relay to turn on/off the humidifier on my furnace. Using the external temperature, it calculates a target interior humidity level. If the indoor humidity read in one of my humidity sensors is less than the target, it turns on the humidifier. If it is higher, it turns off the humidifier. The webcore piston is:
Custom Math Expressions are at the top of our shortlist! It’s one of our top requested features, so once we finish up the SmartThings Next Gen work, we plan to revisit it!
Here’s a quick example of some of the neat things you can do with expressions. I was moving pretty quick to keep it under a minute so feel free to pause as needed, but the video includes some basic math with variables, date manipulation, logic and more!
You can find some documentation on the features and functions here:
That was my thought, but with a 200 automation limit… It also makes it very mucha a step function rather than a smooth applicaiton. I doubt it would be noticed, but my engineering brain doesn’t like approximations when an actual value could be calculated.
Even if 200 routines were not an issue, the indexing of, and creating them is tedious.
I keep telling myself I’m going to have a long sit-down and figure out the Rules API, but until I have an absolute requirement, I’m hesitant to make that commitment. Or maybe I fear that my brain isn’t quite as sharp as it used to be.
Also hoping routines evolve to a place where it won’t be necessary, eventually.