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


Door and window monitoring 0.2.5

   (1 review)

1 Screenshot

About This File

Door and window monitoring


Here is a simple script that will help you ventilate your rooms and monitor doors and windows

and keep you informed if windows or doors remain open for too long.

Therefore you save heating cost in winter and in summer your rooms will not overheat.
It can detect your doors and windows automatically, but you can also enter the IDs of the relevant sensors manually.

Scene description:
The script reads the temperature of an outdoor sensor to extend or shorten the message interval.

The status of windows and doors is checked every minute. The shortest reporting interval ist 5 minutes.

It's also possible to use the temperature of a plugin like Yahoo or Yr Weather. In this case, the variable has to look like this:

local TempOutType = 'Temperature' --IMPORTANT 'Temperature' or 'value'

 

If it's a physical sensor that supplies the temperature value, the variable has to be set to 'value'.

If no correct temperature value is received, the script aborts with an error message and you have to check

the value of the variable is set to one of the two values mentioned above.

 

Furthermore windows or doors can be excluded from the review or they can be skipped for a certain time of day.

Of course you can also entirely exclude windows or doors from the review.

You can affect the number of messages as well as their interval with the corresponding variables. It's also

possible to pause the messages for a while.
 

With this scene running you can always be sure that your doors and windows will never stay open for too long.

The handling / settings for all variables used in the scene can be looked up in the attached pdf manual. 

 

 

Thanks @Cannon_82 for being so nice to share an icon for this scene.


What's New in Version 0.2.5   See changelog

Released

No changelog available for this version.

  • Thanks 1

Other Files from jwi


User Feedback

You may only provide a review once you have downloaded the file.


Bodyart

   1 of 1 member found this review helpful 1 / 1 member

Hi @jwi,

 

thanks for your nice work.

i woul'd make some small changes in order to display the scene header first like this:

devices moved up

local manually    = false -- | true
local devices = {48, 122, 123, 127} --enter your device IDs here
local interval    = 15      -- Interval after which the first push message is sent.

manual check modified to:

Debug('cyan', "Check open doors and windows version "..version)
if manually then
   Debug('green', 'Checking in manual mode.')
else  
   devices = hc:getDevicesId({ enabled = true, visible = true, baseType = "com.fibaro.doorWindowSensor"})
   Debug('green', 'Checking in automatic mode.')
end 

Also scene "header" moved up to be displayed first :-)

See the debug window

image.png.4e8cf5c45d22c1697fb23d925e016f7e.png

Keep up the good work :-)

 

Response from the author:

Hi @Bodyart ,

 

Thanks for the praise and that you took time to look at this script.
Your suggestions make sense and I will consider them in the next version.

Thank you,

jwi

Link to review
×
×
  • Create New...