Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team
Question
Guest muhmuh
Hello,
im looking for a HC3 Script which switch a Bathroom Fan on/off with dependency relative humindity.
I found a HC2 Script from kapitano1 (https://forum.siio.de/t/lua-taupunktlueftung-im-keller/5206)
My Lua skill is very low, so i tried to change the code to hc3 and add my ids.
The script will run correctly when humidInAbs - humidOutAbs > 1 but the switch off fan code is not correct.
And sorry for my english, but it is not my native language; i tried my best.
Can anyone correct it please?
Debug:
28.08.2020] [12:44:00] [DEBUG] [SCENE218]: - 28.08.2020 12:44:00 AußenTemp 21.59°C rel. Feuchtigkeit 57.0%
[28.08.2020] [12:44:00] [DEBUG] [SCENE218]: - 28.08.2020 12:44:00 absolute Luftfeuchtigkeit Außen 10.969697021231g/m³
[28.08.2020] [12:44:00] [DEBUG] [SCENE218]: - 28.08.2020 12:44:00 InnenTemp 25.4°C rel. Feuchtigkeit 51.0%
[28.08.2020] [12:44:00] [DEBUG] [SCENE218]: - 28.08.2020 12:44:00 absolute Luftfeuchtigkeit Innen 12.211619119493g/m³
[28.08.2020] [12:49:00] [ERROR] [SCENE218]:
Please login or register to see this code.
Top Posters For This Question
20
11
9
6
Popular Days
Nov 12
15
Nov 11
13
Aug 29
6
Sep 5
5
Top Posters For This Question
SmartHomeEddy 20 posts
10der 11 posts
ErikP 9 posts
ppeterr 6 posts
Popular Days
Nov 12 2022
15 posts
Nov 11 2022
13 posts
Aug 29 2020
6 posts
Sep 5 2020
5 posts
Popular Posts
SmartHomeEddy
With the help of InfluxDB and Grafana I got a great insight of a comparison of the humidity. Because I now can compare Absolute Humidity, it is more easy to get a better setpoints for my Fan
10der
@muhmuh do not forget setup Id's via variables pressure device - optional. default is Standard sea level pressure is 1013 hPa switch - also optional.. default only
SmartHomeEddy
Is the absolute humidity “kg/m3” or “g/m3” instead of “%” ?
Posted Images
62 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.