I have been fighting a problem for days now, I have learned a lot but I hope I can come to any conclusions with some help.
I installed an IR-sensor on my driveway which is connected to a Fibaro Universal Sensor. I want to use this sensor to trigger a bell (connected to a fibaro FGS 221 switch). The bell runs fine: if I switch it on it rings. It switches off automatically within a second, using the custom parameters 3 and 4 of the module. This way it switches off without using a scene. Also the IR-sensor with the Universal Binary Sensor (UBS) appears to function OK. If I trigger it, the vera user interface shows that it is triggered immediately. So I thought this is a piece of cake: make a scene with the UBS as trigger and switch the bell on and done. Unfortunately this didn’t work.
The problems:
First the bell didn’t ring at all when triggered by the UBS, while it still would ring when triggered from the interface. At this stage I still switched the Fibaro for the Bell on and off in a script, and the logs would tell me that the command to switch on was superseded by the command to switch off. I changed the script to what was described above: I only switch it on and it switches off automatically. Now the bell eventually rings, albeit with a delay of minutes. I have been searching for the cause of this delay for days now.
Some more info:
I also have a Mail and Prowl script with the UBS as trigger, and I get the messages pushed to my iphone in seconds. So this runs absolutely lovely. So the vera receives the status change almost instantly, as shown in the interface as well; the problem appears in the communication between the nodes after the notification. The problem does not appear if I use another sensor to trigger the bell scene.
I thought the problem might be related to unreliable communication between the nodes, so I started analysing the network structure. It appears that most nodes can talk to each other directly and to the vera (Vera II UI 5 with latest updates) directly. I have 7 mains powered nodes, mainly Fibaro switches, that should be able to relay. Furthermore I have 4 battery powered nodes that work fine, and finally, the 12V powered UBS also from Fibaro. The UBS was quite far away from the vera, so direct communication may have been unreliable. But there are 3 Fibaro switches about 10m away from the UBS with mainly air in between, just one thin wall of glass and wood. The reception should be fine. To take away all last doubts with regard to the reception I positioned an additional Fibaro switch between the UBS and the other switches and rebuild the network (heal). This made no difference at all. I also moved the vera closer to the UBS and the other switches (of course I rebuild the network with a heal). One more thing that I tried: I replaced the scene with an association between the UBS and the Bell switch. This did not solve the problem. The delay was still considerable, although it was nice to see that it still functioned without the vera being online… Associations with other sensor were very responsive. Finally I tried several configuration options for the z-wave network: I rebuild the network with: ‘limit neighbors to Z-Wave discovery (requries Vera routing)’ switched on. (If is off again now.) I also tried ‘Use Vera routing instead of Z-Wave (requires 4.5)’ switched off. Basically I tried many combinations of these settings and each time I rebuild the network. Under some settings I would get more trouble with devices but the delay problem never disappeared… Now I have the default setting under z-wave options again. The first three checked, the fourth unchecked and the fifth checked.
I have been studying the logs to see what is going right and wrong and here I’m hoping to get some help with these.
[ul][li]I have the feeling that some node may be jammed causing the delay. But I can’t really identify this from the logs.[/li]
[li]I think my network may not be relaying properly because all my routes look like 10.0.0.0 and I see a lot of NO ROUTES in the logs, but maybe this is meaningless.[/li]
[li]I think there may be some kind of memory leak, since I keep seeing LEAK, this appears when I trigger the UBS.[/li]
[li]I see that sometimes jobs are cancelled (or ‘superceded’)[/li][/ul]
When I experience the delay I see this:
04 12/27/12 13:00:32.593 <Job ID="9" Name="ON node 9" Device="30" Created="2012-12-27 13:00:26"
Started="2012-12-27 13:00:32" Completed="2012-12-27 13:00:32" Duration="5.595904000" Runtime="0.0"
Status="Aborted" LastNote="Superceded by job#28" Node="9" NodeType="ZWaveNonDimmableLight"
NodeDescription="Deurbel s2 DingDong"/> <0x803>
I attached three log files:
[ol][li]SeriousDelay.txt: Here the problem appears, it took two or three minutes for the bell to ring.[/li]
[li]TestBellwithKitchenSensor.txt: Here the UBS is replaced with another sensor and no problems appear[/li]
[li]ProwlFeedBackFine.txt: Here the UBS triggers a Prowl notification that is delivered within seconds[/li][/ol]
I commented the logs with ‘!!!’
Sorry for the long read, but I hope that giving a lot of information helps solving this problem. If this is solveable at all because I starting to consider the possibility that the Vera support of this UBS may be flaky.