What's the exact use of an event

For Z-Wave related questions in Domoticz

Moderator: leecollings

Post Reply
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

What's the exact use of an event

Post by roblom »

I have a Fibaro smoke sensor. This gives a whopping 10 devices. Most of them have a switch and an alarm device. For example there is a smoke alarm with subtype switch but also a smoke alarm with subtype alarm.
What's the exact use of these? I've googled but cannot find a clear answer so maybe someone here can explain it to me.Image

Verstuurd vanaf mijn ELE-L29 met Tapatalk

nschoot
Posts: 27
Joined: Thursday 23 August 2018 23:28
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11590
Location: Delwijnen
Contact:

Re: What's the exact use of an event

Post by nschoot »

I am curious about this as well. I read before that device ending with 29 should be used. However, last night (always at night), my Domoticz system started rining the alarm because there was a smoke sensor ON.

And indeed, there was a smoke sensor in the system with device 29 set to ON. For just a moment. However, the physical smoke sensor itself did not trigger/sounded the alarm.

So, my guess is that the smoke sensor uses 29 as input, but only combined with other data.

I am considering to start using device 32 instead. This is a switch called "Alarm Level". But it would be great to get some sort of explanation of these devices.
Using Zwave, Philips Hue, Raspberry Pi, Machinon Theme
roblom
Posts: 408
Joined: Wednesday 26 February 2014 15:28
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: the Netherlands
Contact:

Re: What's the exact use of an event

Post by roblom »

Exact same questions here and also could not find an answer.
meal
Posts: 108
Joined: Monday 04 March 2019 14:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2025.1
Location: France
Contact:

Re: What's the exact use of an event

Post by meal »

Hello,
Here are some information I grabbed from websites

ALARM TYPE ENTITY
• Version 2 alarm_type:
o 0: General purpose
o 1: Smoke sensor
o 2: Carbon Monoxide (CO) sensor
o 3: Carbon Dioxide (CO2) sensor
o 4: Heat sensor
o 5: Water leak (flood) sensor
o 6: Access control
o 7: Burglar
o 8: Power management
o 9: System
o 10: Emergency
o 11: Clock
o 12: Appliance
o 13: Home Health

ALARM LEVEL ENTITY
The meaning of the alarm_level entity depends on the nature of the alarm sensor.
• 0: No event

Smoke, CO, and CO2
• 1: Detection - will include a Node Location Report
• 2: Detection (unknown location)
• 254: Unknown event
Heat
• 1: Overheat detected - will include a Node Location Report
• 2: Overheat detected (unknown location)
• 3: Rapid temperature rise - will include a Node Location Report
• 4: Rapid temperature rise (unknown location)
• 5: Underheat detection - will include a Node Location Report
• 6: Underheat detection (unknown location)
• 254: Unknown event
Water leak
• 1: Water leak detected - will include a Node Location Report
• 2: Water leak detected (unknown location)
• 3: Water level dropped - will include a Node Location Report
• 4: Water level dropped (unknown location)
• 254: Unknown event
Access control
• 1: Manual lock
• 2: Manual unlock
• 3: RF lock
• 4: RF unlock
• 5: Keypad lock - will include the User Identifier of the User Code Report
• 6: Keypad unlock - will include the User Identifier of the User Code Report
• 254: Unknown event
Burglar
• 1: Intrusion - will include a Node Location Report
• 2: Intrusion (unknown location)
• 3: Tampering (case opened)
• 4: Tampering (invalid code)
• 5: Glass break - will include a Node Location Report
• 6: Glass break (invalid code)
• 254: Unknown event
Power Management
• 1: Power applied
• 2: AC disconnected
• 3: AC re-connected
• 4: Surge detection
• 5: Voltage drop or drift
• 254: Unknown event
System Alarm
• 1: System hardware failure
• 2: System software failure
• 254: Unknown event
Emergency Alarm
• 1: Contact Police
• 2: Contact Fire Service
• 3: Contact Medical Service
• 254: Unknown event
Alarm Clock
• 1: Wake up
• 254: Unknown event
ACCESS CONTROL ENTITY
• access_control: These may vary between brands
o 22: Open
o 23: Closed
o 254: Deep sleep
o 255: Case open

And a template for use in LUA.

if (devicechanged[myAlarm]) then
if (otherdevices_zwavealarms[MyAlarm] == 2) then
....'
else
...'
end
end

Hoping it helps
BR
meal
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest