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

Simple Bathroom Exhaust Fan Scence


JamieSonegoAus

Question

Hi there,

 

Does anyone have a simple scene for the following:

 

Exhaust Fan can be controlled (and overridden) buy press button. On/Off

 

If exhaust fan is running for more than 10min, turn off..

 

 

Cheers

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

The topic has been moved from "

Please login or register to see this link.

" to "

Please login or register to see this link.

".

 

Temat został przeniesiony z "

Please login or register to see this link.

" do "

Please login or register to see this link.

".

Link to comment
Share on other sites

  • 0

@JamieSonegoAus I don't see you have a condition to automate fan operation except turn if off.  Do you mean you want to manually turn it on, and after a period of time it automatically turns off?

 

I use McoHome on/off switch together with McoHome Co2 sensor to do the exhausted fan automation, here is the code.

 

Please login or register to see this code.

The above code checks if the ppm reading is over 800 from Co2 sensor (ID 93), then trigger on/off switch to turn on (ID 86), else keep it off. Also I have restricted the scene trigger action to run only between 08:00 and 23:59.

 

If you want to count 10 minutes after an action change (turn on fan in your case), you can use follow code as reference. Make sure the switch can be seen by your fibaro gateway.  You didn't mention how is your exhausted fan wiring.

 

local lastMod = fibaro:getModificationTime(SwitchID, 'value')

if ((os.time() - lastMod) >= 600000 ) -- more then 10 mins

then

fibaro:call(SwitchID, "TurnOff");

end

Edited by Sirhideo
Link to comment
Share on other sites

  • 0
On 10/01/2018 at 4:23 AM, Sirhideo said:

@JamieSonegoAus I don't see you have a condition to automate fan operation except turn if off.  Do you mean you want to manually turn it on, and after a period of time it automatically turns off?

 

I use McoHome on/off switch together with McoHome Co2 sensor to do the exhausted fan automation, here is the code.

 

Please login or register to see this code.

The above code checks if the ppm reading is over 800 from Co2 sensor (ID 93), then trigger on/off switch to turn on (ID 86), else keep it off. Also I have restricted the scene trigger action to run only between 08:00 and 23:59.

 

If you want to count 10 minutes after an action change (turn on fan in your case), you can use follow code as reference. Make sure the switch can be seen by your fibaro gateway.  You didn't mention how is your exhausted fan wiring.

 

local lastMod = fibaro:getModificationTime(SwitchID, 'value')

if ((os.time() - lastMod) >= 600000 ) -- more then 10 mins

then

fibaro:call(SwitchID, "TurnOff");

end

On 10/01/2018 at 4:23 AM, Sirhideo said:

@JamieSonegoAus I don't see you have a condition to automate fan operation except turn if off.  Do you mean you want to manually turn it on, and after a period of time it automatically turns off?

 

I use McoHome on/off switch together with McoHome Co2 sensor to do the exhausted fan automation, here is the code.

 

Please login or register to see this code.

The above code checks if the ppm reading is over 800 from Co2 sensor (ID 93), then trigger on/off switch to turn on (ID 86), else keep it off. Also I have restricted the scene trigger action to run only between 08:00 and 23:59.

 

If you want to count 10 minutes after an action change (turn on fan in your case), you can use follow code as reference. Make sure the switch can be seen by your fibaro gateway.  You didn't mention how is your exhausted fan wiring.

 

local lastMod = fibaro:getModificationTime(SwitchID, 'value')

if ((os.time() - lastMod) >= 600000 ) -- more then 10 mins

then

fibaro:call(SwitchID, "TurnOff");

end

What is ppm? i was planning on doing something similar but use the the humidity sensor if over 70% turn fan on for x minutes after

Link to comment
Share on other sites

  • 0

@Al3x ppm (parts per million) is the measurement of co / co2 density, 1000 is the maximum acceptable level for indoor environment.

 

Please login or register to see this link.

Edited by Sirhideo
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...