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

davegravy

  • Addicted
  • *
  • Posts: 525
    • 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: 525
    • 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: 286
    • 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: 525
    • 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: 286
    • 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: 525
    • 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: 286
    • 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: 525
    • 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: 286
    • 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: 447
    • 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