So last month I got a Fibaro flood sensor. The interview succeeds and I get an AlarmSensor command among others. However I can't seem to figure out which value changes when I soak it in water. At that point, the sensor detects it and does a visual & audio alarm. But, sensorState under AlarmSensor for the "Water" instance doesn't change.
Has anyone got this to work? Are there folks from Fibaro on this board or should I email them directly?
Thanks!
Getting data from Fibaro flood sensor
Re: Getting data from Fibaro flood sensor
I too have one of these but have not completely setup (I was a little upset at device and am debating returning it due to it not really having telescoping probes and a outlet plug. The manual says "Drill holes in it and attach wires for this functionality"). Just messing with it a little though I noticed the same thing.
From looking through the directions if I remember correctly you have to set one of the configuration params for the device to send alarm notifications to the controller (i.e. you'll have to go into the expert commands and set the param manually to have it notify the controller).
Once it is setup to notify the controller I'm not sure if the current interface has some way to visualize any alarms sent to it.
I'm not at home currently to mess with it at the moment, but later this evening I'll see if I can get any more specifics for you.
From looking through the directions if I remember correctly you have to set one of the configuration params for the device to send alarm notifications to the controller (i.e. you'll have to go into the expert commands and set the param manually to have it notify the controller).
Once it is setup to notify the controller I'm not sure if the current interface has some way to visualize any alarms sent to it.
I'm not at home currently to mess with it at the moment, but later this evening I'll see if I can get any more specifics for you.
Re: Getting data from Fibaro flood sensor
So I was able to mess with it a little tonight, but wasn't able to get things working exactly how I think they should be working. I think it's possible, but I'm not sure if it's a currently being limited by the U.I. or the the hardware. I managed to kill the battery tonight while messing with it before I could get everything 100% confirmed and worked out so I'll have to stop by the store tomorrow and get one to get everything worked out. The battery died in only about 15 to 20 minutes; I think the audible alarm must drain it really quickly.
Buuuuut here's what I've figure out so far, and what I believe will fix everything (and some tests I'll do tomorrow assuming I can get a battery).
The default value for the alarm cancellation delay is 0 (no delay, immediate alarm cancellation). I think (again, I'll do more testing tomorrow to confirm) going into the expert commands and setting the param (param 1) to a higher value will make the water sensor send out the alarm notification for longer so it will be picked up by zway. I noticed if the sensor is going off when the razpberry gets it's updates every 5 minutes the U.I. does show that the device is on, or the alarm was triggered. This makes me think that setting the alarm notification for 10 minutes or so will give the alarm enough time to be retrieved from the pi.
"But I want to be notified when the alarm goes off, not 5 minutes later," is what I was thinking when I figured this out. I think (again, more testing to come) by either setting the alarm broadcast config param (param 13) to a value of 1 will force the device to notify the pi board when the alarm happens instead of when the pi pulls the status. The other issue might be that alarm is notifying the pi board, but the notification gets ignored. Luckily the developers are awesome and included a way to watch the z-wave stack so tomorrow this should be pretty easy to test and see.
Just thought I'd give an update to my findings thus far.
Buuuuut here's what I've figure out so far, and what I believe will fix everything (and some tests I'll do tomorrow assuming I can get a battery).
The default value for the alarm cancellation delay is 0 (no delay, immediate alarm cancellation). I think (again, I'll do more testing tomorrow to confirm) going into the expert commands and setting the param (param 1) to a higher value will make the water sensor send out the alarm notification for longer so it will be picked up by zway. I noticed if the sensor is going off when the razpberry gets it's updates every 5 minutes the U.I. does show that the device is on, or the alarm was triggered. This makes me think that setting the alarm notification for 10 minutes or so will give the alarm enough time to be retrieved from the pi.
"But I want to be notified when the alarm goes off, not 5 minutes later," is what I was thinking when I figured this out. I think (again, more testing to come) by either setting the alarm broadcast config param (param 13) to a value of 1 will force the device to notify the pi board when the alarm happens instead of when the pi pulls the status. The other issue might be that alarm is notifying the pi board, but the notification gets ignored. Luckily the developers are awesome and included a way to watch the z-wave stack so tomorrow this should be pretty easy to test and see.
Just thought I'd give an update to my findings thus far.
Re: Getting data from Fibaro flood sensor
Thanks for the reply and info. Good point about battery running out, it's surprising that the speaker drains it so quickly. I turned off the audio alarms for now.
Per your suggestions, and looking at the manual for this device (http://www.fibaro.com/manuals/en/FGFS-1 ... .1-2.3.pdf), I set "Alarm cancellation delay" to 600. I also set "Alarm BROADCAST" to 1. I kept it on water and it flashed, but the AlarmSensor command always had 0 for sensorState of the water sensor.
I'm not sure where to see logs from z-way? Is this on the logs on the raspberry, or is there somewhere on the UI?
Per your suggestions, and looking at the manual for this device (http://www.fibaro.com/manuals/en/FGFS-1 ... .1-2.3.pdf), I set "Alarm cancellation delay" to 600. I also set "Alarm BROADCAST" to 1. I kept it on water and it flashed, but the AlarmSensor command always had 0 for sensorState of the water sensor.
I'm not sure where to see logs from z-way? Is this on the logs on the raspberry, or is there somewhere on the UI?
Re: Getting data from Fibaro flood sensor
To watch what is on the z-way stack if you go to the new expert UI (version 2.0.0rcX) and go to the network->network management tab there is a debugging section at the top. Clicking "Inspect Queue" shows the z-wave queue. I think this is all z-wave commands on the network in order, and not just issues for the controller to send out, but I haven't really used it yet.
When it was placed in water did the device update? For me it was reading 0 until the next time the controller pulled the status from the sensor. I was hoping setting broadcasting on would fix that, but I could be wrong. I also didn't have time to manually get the values stored for the config params before it died to make sure the settings I was giving it were saved internally on the device. In the expert UI I could click "get," but all I got back was a success response. I didn't immediately see the returned values, but I might have missed those by not digging through the responses enough.
When it was placed in water did the device update? For me it was reading 0 until the next time the controller pulled the status from the sensor. I was hoping setting broadcasting on would fix that, but I could be wrong. I also didn't have time to manually get the values stored for the config params before it died to make sure the settings I was giving it were saved internally on the device. In the expert UI I could click "get," but all I got back was a success response. I didn't immediately see the returned values, but I might have missed those by not digging through the responses enough.
Re: Getting data from Fibaro flood sensor
/var/log/z-way-server.logjohnm wrote:I'm not sure where to see logs from z-way? Is this on the logs on the raspberry, or is there somewhere on the UI?
Since 29-12-2016 I am no longer a moderator for this forum
Re: Getting data from Fibaro flood sensor
After much messing around I have found that it's a limitation of the U.I.
I just read in another thread one of the developers mention they are working on the alarm command for the newer versions.
Sadly if I had been more thorough in reading up I may have saved myself a bit of a headache, buuuuut I can confirm the hardware supports it (docs also say this). I was able to install homegenie just to mess around with a bit for comparison and when the alarm went off in that environment I got an immediate pop-up indicating an alarm was triggered and for which device.
So hopefully by the time v2.0 is finalized and released they support will be there.
Also since rc28 was released earlier today I went ahead and tried the alarms in that version with no luck as well.
I just read in another thread one of the developers mention they are working on the alarm command for the newer versions.
Sadly if I had been more thorough in reading up I may have saved myself a bit of a headache, buuuuut I can confirm the hardware supports it (docs also say this). I was able to install homegenie just to mess around with a bit for comparison and when the alarm went off in that environment I got an immediate pop-up indicating an alarm was triggered and for which device.
So hopefully by the time v2.0 is finalized and released they support will be there.
Also since rc28 was released earlier today I went ahead and tried the alarms in that version with no luck as well.