This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Alarms
Homey as Alarm, any suggestions/experiences
MarcelTimmermans
Member
Hi,
During the years I have Homey, I collected a lot of sensors and now I have on every window/door a alarm contact. Now the question is I would like to to test Homey as an Alarm because I am not sure if it is reliable as an Alarm.
I end up with a homey script that check if there is any open contact:
The problem of this is:
* max delay of 10 seconds (of course I could run it every second, but I am not sure if homey can handle this)
* I prefer to have it event driven
* would like to know which alarm contact triggert
So I am wondering, can any one from you share his/her thoughts and experiences?
During the years I have Homey, I collected a lot of sensors and now I have on every window/door a alarm contact. Now the question is I would like to to test Homey as an Alarm because I am not sure if it is reliable as an Alarm.
I end up with a homey script that check if there is any open contact:
let devices = await Homey.devices.getDevices();
return _.some(devices, device => {
if(device.class != 'sensor') return false;
if(!device.state.alarm_contact) return false;
console.log(device.name);
return true;
});
and connected to a flow that checks every 10 seconds.The problem of this is:
* max delay of 10 seconds (of course I could run it every second, but I am not sure if homey can handle this)
* I prefer to have it event driven
* would like to know which alarm contact triggert
So I am wondering, can any one from you share his/her thoughts and experiences?
Tagged:
Comments
https://apps.athom.com/app/com.uc.heimdall
If you would have mentioned it has no backup power and alernative for wifi when that is down you would have made a better point.