-
-
Notifications
You must be signed in to change notification settings - Fork 29k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zwave flood sensor #1145
Comments
I also just set one of these up in HA. Very nice looking device. Afraid I use Vera - so can't help out on the issue I'm afraid. |
@pavoni : can you give me some advice in order to try debugging by myself ? |
@BornTKill Integrating zwave devices into Vera (as long as they are supported) is just a matter of adding them to Vera and re-starting HA. I expected that I might have to change the HA vera code for the flood sensor - but turns out it just worked. So afraid I can't do much to help (except to suggest that for the moment Vera seems like an easier way to integrate zwave devices that OpenZwave). Haven't been brave enough to try OZW yet. |
That's interesting. I implemented a handler for the Can you see in your OZW_log what command class is being sent? |
@partofthething & @pavoni : Thank you for your answers. --> Detect flood (sensor is placed on a sponge) : --> Send Event Notification : --> Detect no flood (sensor is removed from the sponge) --> Send Event Notification : --> Movement détection : I hope it help. |
Ok, interesting. With this log, and additionally with the config file for your device, it appears that the alarms are communicated using a Try to get into your z-wave configuration system and read configuration parameter number 5. The default is either 255 or -127, I'm not sure which and you probably have it set to that. If you set it to 0, then I'm pretty sure your device will send EDIT: Though it's weird that your log is also showing alarm reports. I guess I'm not entirely sure what's going on. |
Hi! Sorry for my late answer but i was quite busy :/ Any suggestions ? |
param #5 :
|
So I have an AEOTEC water sensor which defaults to the BASIC from what I can tell. I see the event notifications within the OZW_Log.txt:
From what I can tell the COMMAND_CLASS_BASIC would act identical to how COMMAND_CLASS_ALARM has been implemented. I was going to implement it but I'm guessing my assumption is wrong. Is there something I am missing? I am very new to ZWave and HA so I'm sure I am missing something important and that is why it hasn't been added. |
Well, in the spirit of testing, I implemented a handler for One concern I have about this commit is that I think most devices send Anyway, worth a try. Let me know. |
Thank you @partofthething ! So, I manually modify the 2 files from your fork https://github.com/partofthething/home-assistant/commits/zwave-basic (Added z-wave sensor for COMMAND_CLASS_BASIC devices Do I miss something ? |
@partofthething Ah, you beat me to it! I was implementing the Aeotec Water Sensor in openzwave. I'll test it out soon. |
I tried the patch without success. Perhaps I'm missing something, but I can't get it to update any of the badges. I see the change occur within the OZW log. I don't see any events occur within the HA log which is likely the issue with the badges not updating. I think I might have to just configure the device to use the Alarm or Binary. Perhaps it has something to do with my sensor being on a battery. On a side note, I end up with 5 badges (value): Should I have a badge for each? |
For testing it's nice that you have all of them (it'll be more likely to see one start working if we figure it out). In production, you can hide all the ones except for the one or two you actually care about. You probably both aren't missing something... I guess the test just didn't work. I don't fully grok how the zwave signals get passed down to the components yet so I'm going to have to study it a bit more. But your logs clearly show 2016-02-15 13:12:20.400 Detail, Node002, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x02, 0x03, 0x20, 0x01, 0xff, 0x2d 0x20 -- Sorry it didn't work. |
No worries. I'm trying to figure out an easy way to manage the nodes. I was originally going to write up a python script or use something like openzwave control panel. I figure if I can get it to work with alarm or binary then I can work on the basic. |
I finally got my nodes working. I have the AEOTEC Water Sensors. I sent the config param with the following to turn on Alarm, Binary, Basic and Battery. (With python-openzwave) One issue I hit was that the config wouldn't update until I pressed the zwave button on the back. This was after I sent the config param. Hopefully this helps anyone else with a similar issue. Now to finally get these integrated! |
For anyone still having issues with this, try finding the configuration entry in OpenZWave for your device and adding |
@robbiet480 Thanks for adding to this. I have the AEOTEC Water sensor, but I'm not sure exactly where to add the line item. I'm editing |
You shouldn't be replacing the CommandClass. Put my line above yours and I believe it will work @joemcmonagle |
@robbiet480 Thanks for the quick response. I've now got http://hastebin.com/laxexopudu.xml |
@joemcmonagle May need to do |
I had to send the device itself the command I posted above to change what
|
I have a A flood event shows up as can be seen here in the OZW_log.txt The important part of zwcfg_*.xml is here I don't know how to follow @brianpanneton suggestion and set |
You use the |
I have the same problem, with the Fibaro Flood sensor.
So did adding
to
resolved the issue? |
interestingly I changed the sensors config in z-wave.me (for example LED behaviour) but when switching back to hass the LED behaviour returned to the old way. Is the configuration of the sensor updated by hass? |
Using Fibaro Flood Sensor. Added and I'm seeing the same as @snizzleorg in OZWCP logs. But no values change in HA. |
I got frustrated with the z-wave stuff and switched to veraedge. The home-assistant binding for veraedge is not perfect but the z-wave stuff works more reliably. |
@snizzleorg sorry, that's not an acceptable answer I added:
to fgfs101.xml In both cases I still do not have an change in state from any of the sensors that show up other than temperature. The sensor is correctly identified in HA and in ozwcp. |
Again, changing xml files does not change the configuration of the device. Those files are just caches of the configurations. To change the settings of a device, you must go into a python3 command line, import openzwave libraries, and send configuration-editing commands through the z-wave network. An example on a multisensor is done on this blog. . You can also try using the command-line control panel that comes with python-openzwave. |
@devdelay, sorry I know it won't help with this issue. but I'm happy now and the thing just works as expected with home-assistant via vera. I now have other problems but the z-wave config is much much easier this way. |
@snizzleorg 😜 I ended up using domoticz to add this device for now. @partofthething I understand but is it possible to change a device to use a command class it doesn't support? ozwcp shows this device supports alarm and basic command classes... I'm not sure how to make it use another command class that is not listed. I've tried adding the basic command class support to the zwave and zwave/sensor components with no luck either. HA wants to recognize it as alarm and binary sensor regardless of the settings changed in ozwcp. |
This is working now. Tested by @ktpx |
@turbokongen What is parameter 5? I have no idea how to find it or change it. |
Check the device's manual 😉 |
I was able to find the parameter 5 and I changed it from 255 to 0, but still nothing happens when the device is in a simulated flood. None of the sensor values that are displayed in the HA dashboard are ever updated actually. |
Hello!
I've just purchased Fibaro z-wave flood sensor. Flood alarm works well with domoticz but not with HA.
None of this entities states change during flood simulation :
Here is OZW_Log.txt when I simulate flood :
Thank you for you big help.
The text was updated successfully, but these errors were encountered: