Jump to content

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


  • 0

Guest muhmuh

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.

 

 

Link to comment
Share on other sites

Recommended Posts

  • 0
On 11/12/2022 at 4:19 PM, ErikP said:

Indeed so version 6 or 7 you should use in usb mode. When on battery and with aerq you have only battery mode. To conserve battery reports to console are not realtime. So in this use case not ideal because I guess you want the fan to kick in directly when needed....
Thanks Sjakie for pointing out the difference 

 

After some research and a lot of settings tweaking i foud out that parameter 48 is important to set.

This enable's the treshold to function above the 60% humidity level. So, setting the treshold at 2 or 3%,

and sensor limit control on option 2. Makes it almost real time when using it with a battery.

 

These parameters are set by default if you use usb-mode. 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...