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

How to get notified when battery for vision siren is low?


Question

Posted

Hi all,

Today I had the following issue - in the module view of the HC2 my vision siren showed an almost full battery. And then while implementing a scene for it, I noticed that it isn´t working. I was not able to turn it on and after exchanging the batteries it worked again! So the battery indicator is not really reliable and I don´t know if the siren is still working or not!

Please login or register to see this image.

/emoticons/default_icon_sad.gif" alt=":-(" />

Do you have an idea how to check the device or to get notified if the battery is low? (I don´t want to turn on and of the siren manually every week(?!). Could this be checked by some coding or by a scene configuration - within the advanced configuration for the siren there is no default option to get notified if the battery is low as it is for fibaro devices!

Thanks and cheers,

alkorsi

1 answer to this question

Recommended Posts

  • 0
Posted

I guess you could create a VD to check all your battery devices and then run that device in a scene eg. one per hour/day.

--[[

%% properties

%% globals

--]]

local isBatteryOperated = "1"

local minbattLevel = 20 -- Alarm battery level

local i = 0

local maxNodeID = 250 -- Max no of devices

for i = 0, maxNodeID do

local type = fibaro:get (i, 'isBatteryOperated');

x , y = string.find (type, isBatteryOperated )

local batterylevel = tonumber(fibaro:getValue (i, 'batteryLevel'))

if x ~= nill and batterylevel ~= nill and (batterylevel <= minbattLevel or batterylevel == 255) then

local name = fibaro:getName(i)

fibaro:debug("Device "..i.."="..name.." bat. level="..batterylevel)

fibaro:call(2, "sendEmail", "Low battery on: "..name)

end

end

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...