Created
March 31, 2018 13:01
-
-
Save thinkjson/c9277f824741e7bbb5a34a280156577e to your computer and use it in GitHub Desktop.
Comfort ratio
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias( | |
| multiplySeries( | |
| scale(nest_metrics.current_humidity, 0.016), | |
| scale(nest_metrics.current_temperature, 0.0128) | |
| ), | |
| "indoor" | |
| ) | |
| alias( | |
| multiplySeries( | |
| scale(stats.gauges.weather.dewpoint, 0.018), | |
| multiplySeries( | |
| scale(stats.gauges.weather.relative_humidity, 0.016), | |
| scale(stats.gauges.weather.temperature, 0.0128) | |
| ) | |
| ), | |
| "outdoor" | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment