Author Topic: [12.04] OpenZWave Aeon ZStick Issue  (Read 18801 times)

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
[12.04] OpenZWave Aeon ZStick Issue
« on: October 13, 2014, 06:20:17 pm »
I started having an issue this morning with my Zwave setup where I lost communication to my network. In trying to debug I decided to update my install to get the latest changesets which effect OpenZWave.

Following the Zwave log there seems to be communication with the controller as there are polling requests being sent out to all the nodes and responses coming back.

If I send a command to the device via webadmin (e.g download configuration) there is no corresponding action in the log.

Also I'm seeing these which I never noticed before:

Code: [Select]
2014-10-13 12:15:41.262 Info, Node006, Sending (Poll) message (Callback ID=0x13, Expected Reply=0x04) - SwitchMultilevelCmd_Get (Node=6): 0x01, 0x09, 0x00, 0x13, 0x06, 036     10/13/14 12:15:41.287           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:15:46.317           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:15:51.349           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:16:01.389           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:16:06.420           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:16:11.451           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:16:16.481           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
36      10/13/14 12:16:21.625           ZWInterface::OnNotification() : unhandled/ignored notification = 3 <0xb63ffb40>
x02, 0x26, 0x02, 0x25, 0x13, 0xf3

All loglevels are enabled.

I deleted my zwave device, restarted, went through config, and the parent ZWave device is added but none of the nodes get auto-added to the config.

Any ideas?


davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #1 on: October 13, 2014, 09:50:28 pm »
I couldn't get LinuxMCE to reset my Zstick so I had to do so via a trial homeseer install on another machine.

I re-added one of my nodes to the network and seems to be working now. Will update once the rest of my network is added back.

RayBe

  • Guru
  • ****
  • Posts: 315
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #2 on: October 14, 2014, 12:43:45 pm »
hi davegravy,

In order to get Lmce to reset your controller, you must send a reset command to the ZWave device, with the argument set to "ResetController".
These links discribe in detail how to use the Lmce 12.04 open-zwave implementation:
http://wiki.linuxmce.org/index.php/Open_Zwave
http://wiki.linuxmce.org/index.php/Advanced_ZWave

br,
Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #3 on: October 15, 2014, 07:25:30 am »
Thanks Raybe.

I haven't added back all my other nodes yet, so I still just have the one test node in my network.

This morning I couldn't control that test node anymore. From the logs it looks like overnight my CORE decided that the node was dead after several attempts to reach it. I tried a router reload but that wouldn't bring it back. A reboot fixed it however.

The node represents a lamp module which is 5ft away from the Zstick so it shouldn't have trouble communicating to it. I mistakenly deleted the log which shows the point last night where the communication died, but I'll wait to see if it happens again and post the log if it does.

RayBe

  • Guru
  • ****
  • Posts: 315
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #4 on: October 15, 2014, 12:18:55 pm »
davegravy,

Recently i used a extension cable to get my aeon-labs z-stick away from my core, more towards my z-wave network, so there was no interference from my core on the stick.
Before it was plugged in the back of my core. I also positioned the z-stick vertikal.
I found a article online, discribing this as the recommended way.

After some testing i found out that my z-wave network responded much better.
Even a battery operated sensor, which previously responded every now and then, now responce great.

br,
Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #5 on: October 15, 2014, 04:10:44 pm »
davegravy,

Recently i used a extension cable to get my aeon-labs z-stick away from my core, more towards my z-wave network, so there was no interference from my core on the stick.
Before it was plugged in the back of my core. I also positioned the z-stick vertikal.
I found a article online, discribing this as the recommended way.

After some testing i found out that my z-wave network responded much better.
Even a battery operated sensor, which previously responded every now and then, now responce great.

br,
Raymond

Hi RayBe,

Thanks for the suggestion, I think it's already vertically oriented however. This test node, as well as the 30 or so others that I have in my house, have been behaving beautifully over the last year in their current config / placement /etc.  I don't know if it is my Zstick that is failing, or recent changes to the LMCE Zwave implementation, a prankster hacker, or something else that is to blame, but something is definitely up.

The test node survived the night this time, and has about 12 hours of uptime now. I'll keep an eye on it.


RayBe

  • Guru
  • ****
  • Posts: 315
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #6 on: October 16, 2014, 04:54:47 am »
Davegravy, FYI,
Please keep in mind that the z-wave implementation in Lmce 12.04 (based on open-zwave) is a lot different than the one in Lmce 10.04.
In comparison, the open-zwave based version has a lot more features and is very well maintained, but is also much pickier when it comes to its zwave-network setup.
Open-zwave needs a very good and stable z-wave network to work good, so if things worked in Lmce 10.04, that does not necessary mean they work as good in Lmce 12.04.

br,
Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

davegravy

  • Addicted
  • *
  • Posts: 551
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #7 on: October 17, 2014, 04:21:38 am »
Davegravy, FYI,
Please keep in mind that the z-wave implementation in Lmce 12.04 (based on open-zwave) is a lot different than the one in Lmce 10.04.
In comparison, the open-zwave based version has a lot more features and is very well maintained, but is also much pickier when it comes to its zwave-network setup.
Open-zwave needs a very good and stable z-wave network to work good, so if things worked in Lmce 10.04, that does not necessary mean they work as good in Lmce 12.04.

br,
Raymond

I appreciate it's different but I assumed that the goal is for openZwave to be just as robust if not more robust than the proprietary driver. I don't know where they are in development, and it's totally understandable if the trouble I'm having is a bug that hasn't been worked out or something, but I'm surprised and I guess a bit disappointed if the design of openZwave is such that it requires a more stable network to work well.

RayBe

  • Guru
  • ****
  • Posts: 315
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #8 on: October 17, 2014, 10:02:33 pm »
Hi davegravy,

IMHO your zwave-network should always be at the best it can be.
If it is, open zwave will rock and do a better job than the old driver.
AFAIK the old driver is better at "masking" network flaws, but that doesn't mean it's better performing.
IIRC the log messages you are talking about in your first post are debug messages, implemented by Sambuca, the developer who folded open-zwave into LMCE 12.04.
Maybe he can shed a light on this.

Br,
Raymond
When you were born, you were crying and everybody else was laughing.
Live your life so when you die, you are laughing and everybody else is crying.

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #9 on: October 18, 2014, 11:30:12 am »
Hi davegravy,

As RayBe said, the log messages you posted are only informational, and can be disregarded in cases like this.

The Aeon stick can be a bit difficult, and there are a few reports around the net that it can lock up and require a power-cycle to bring back (unplug and replug the stick will do). I have also experienced this. This problem seem to happen on other zwave stacks beside OpenZWave also.
I'm not concluding that this is your problem, but if things lock up, please try to unplug it and replug the stick.

If you have communications problem where a node is considered dead, you should use the new Advanced ZWave page (under Automation in the web-admin) to troubleshoot the issue.
See the wiki page for more information about it.
If a node is dead, the node will have a red color in that page. To bring back a single dead node, use the "Test node" command on the node.

br,
sambuca

rebelkiller

  • Veteran
  • ***
  • Posts: 77
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #10 on: October 30, 2014, 05:50:27 pm »
I'm using Aeon ZStick (EU), too.

Under 10.04. Zwave network was reliable, but my motion detector (Fibaro FGMS) did not route any information.

Under 12.04. (openzwave) my FGMS does report information to the router (motion detected, temperature, luminance). But ZWave network in general is sometimes a bit slow and non-responsive (RTT values above 400 and even 1200!). Sometimes nodes become dead.

I too sometimes observed a big time lag when sending commands to the Stick over webadmin, although the RTTs of the adressed nodes are <50, e.g.

If I unplug the ZStick und plug it in again (e.g. when adding nodes), ZWave does not work anymore (no bubbles in webadmin>Advanced>Automation). A router-reload does not bring it back. Only a complete reboot of the core brings it back.
In openzwave my network is far more unreliable. Yet I did not find out the reasons for that.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #11 on: October 30, 2014, 06:43:00 pm »
Most of the time, the openzwave based device template makes Z-Wave network errors more obvious. If your Z-Wave network is working worse under 1204, check your Z-Wave networks routing, modify the placement of your USB dongle etc.

tompin2

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #12 on: December 31, 2014, 03:36:07 pm »
Hi to all, this is my two cents,

Since I migrated to 1204 I have no zwave available.  The aeonlab zstick is behaving as rebelkiller mentioned.  I was able to do a resetcontroller and wipes all out if I take the zstick out and plug it back again after adding at least one light, LMCE doesn’t detect any light added, although, if I plug the zstick to a windows computer with a testing software, I can see the light added and it works.  I’ve seen that when this "lock up" happens LMCE also reports that the controller is not responding and if I use "top" at the console I see a zwave app taking 100% cpu.  The only way around this is to reboot the core (killing the app does not make the magic),  If I go to webadmin devices/core/zwave it does not appear the ZWave Embedded lights Interfa, only    ZWave Embedded Climate and security.
 I have very little experience on troubleshooting but I'm working my way to read other post's and learn to read the logs in order to be more helpful to the lmce community.  Not to put salt on any wound, this same setup with 1004 had no issues at all, but 1004 had issues in other ways that make me migrate anyways hahahahahaha.  Any hints on the logs Ill deeply appreciate it
Cheers,
T
« Last Edit: December 31, 2014, 03:54:41 pm by tompin2 »

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #13 on: December 31, 2014, 05:48:48 pm »
Did you do a new install to 1204 or did you upgrade your install from 1004

tompin2

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: [12.04] OpenZWave Aeon ZStick Issue
« Reply #14 on: January 01, 2015, 03:35:06 pm »
Did you do a new install to 1204 or did you upgrade your install from 1004
Hi Posde,
Happy New Year!.  It was a new install.  Is it possible with the zstick s2 to add nodes without taking the usb out, via api mode?.  It seems to be a issue with OZW about it. Check this out, issue 111 from OpenZwave page.  https://code.google.com/p/open-zwave/issues/detail?id=111&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Modified
It appear that this 100% issue still a bug in the implementation.
Cheers,
T