humidity status (hum_status) for temp+hum sensors
Moderator: leecollings
-
- Posts: 3
- Joined: Sunday 13 March 2016 10:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
humidity status (hum_status) for temp+hum sensors
I wonder, whether it is possible not to pass hum_status parameter for temp_hum sensor. Most of the scripts on the web for DHT22 have the hum_status hardcoded, as DHT22 does not provide the value. But it seems to be mandatory in API. How do you guys solve this issue? Do you hardode the status for 0 - Normal, or somehow calculate it based on the humidity?
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: humidity status (hum_status) for temp+hum sensors
hi,
Humidaty Status is based on an algorithem.
I resently asked the same question howto get it into Domoticz.
For an example search my post, about 2-3 weeks ago, for BME280 or someon4 else about BMP280.
A reply on my post is supplied with a script and a link to how the calculate the prediction.
Myself needs to look and addapt that specific part into the example script of Adafruit which i already modified a bit.
In sort: need to get 3 baro-samples over a period of time and store them in memory, and depending on the difference in those time frames, you can set the humidity-status.
Grtz,
Stephan
Humidaty Status is based on an algorithem.
I resently asked the same question howto get it into Domoticz.
For an example search my post, about 2-3 weeks ago, for BME280 or someon4 else about BMP280.
A reply on my post is supplied with a script and a link to how the calculate the prediction.
Myself needs to look and addapt that specific part into the example script of Adafruit which i already modified a bit.
In sort: need to get 3 baro-samples over a period of time and store them in memory, and depending on the difference in those time frames, you can set the humidity-status.
Grtz,
Stephan
-
- Posts: 3
- Joined: Sunday 13 March 2016 10:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: humidity status (hum_status) for temp+hum sensors
just to understand - i have only dht22. it returns temperature and humidity. I am passing it to domoticz with additional '0' for humidity status "normal". I cold somehow calculate the right status from these (Normal, Dry, Wet, Comfortable) but I don't know the algorithm. Is it based only on humidity (e.g hum>60% => Wet) etc? If yes, what are the good values? or is this algorithm more sophisticated? Your posts about BME280 are about forecast, not hum_status, right?
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: humidity status (hum_status) for temp+hum sensors
Sorry just noticed my mistake.
As far as i can find, and thats what i added to the example script, is indeed the ranges from about 70% wet, below 30 Dry, between 30 and 45 Normal, and 45 and 70 comfortable.
Not exactly sure if it has to be depended on temperature as well. But this comes close to the Alecto WeatherStation and Oregon devices i use also.
I have dropped my modified example under weather or scripts subforum where you can find the modification for hum-status. And also posted a question how to make the prediction on pressure.
Grtz,
Stephan
As far as i can find, and thats what i added to the example script, is indeed the ranges from about 70% wet, below 30 Dry, between 30 and 45 Normal, and 45 and 70 comfortable.
Not exactly sure if it has to be depended on temperature as well. But this comes close to the Alecto WeatherStation and Oregon devices i use also.
I have dropped my modified example under weather or scripts subforum where you can find the modification for hum-status. And also posted a question how to make the prediction on pressure.
Grtz,
Stephan
Who is online
Users browsing this forum: No registered users and 1 guest