Z-Wave the public standard

Errors in zipgateway.log


#1

Hello!

In my zipgateway.log contains lots of repeated errors related with SerialAPI and I would like to know what’s happening.

Below is a part of /tmp/zipgateway.log file.

18259065 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18259065 create failed, will retry
18259065 queue_send_done to node 4 queue 1
18259065 DTLS for Classic node
18260066 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18260066 create failed, will retry
18261066 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18261066 create failed, will retry
18262066 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18262066 create failed, will retry
18262346 DHCP Timeout
18262346 Sending DISCOVER
18262346 DHCP pass completed
18262346 update flag 1 135
18263066 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18263066 create failed, will retry
18264068 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18264068 create failed, will retry
18265068 Creating virtual node
 SerialAPI: Command: 0xa4 is not supported by this SerialAPI
 SerialAPI: Assertion failed at /var/lib/jenkins/jobs/Full_S2_Gateway_release/workspace/src/serialapi/Serialapi.c:600
 SerialAPI: SendFrameWithResponse() returning failure
18265068 create failed, will retry

#2

Hi Alexander,

Creating virtual nodes is one of the usual behaviours when Z/IP gateway starts and it’ll try to create repeatedly if creating also keeps failing since virtual node is necessary for gateway to operate normally.

You might want to check the version of z-wave bridge controller and gateway here. It seems, from the log, the command cannot be recognised by the SerialAPI.

Anta


#3

Anta thank you for your reply!

Worth to mention that despite this errors I can connect to the controller, list, add and remove nodes.

$ ./reference_client -p 123456789012345678901234567890aa -s fd00:aaaa::3
(ZIP) list
List of discovered Z/IP services:
---   zwC6A173A705.local: "Switch Binary [c6a173a70500]"
---   zwC6A173A701.local: "Static Controller [c6a173a70100]"

But when I try to switch my device on/off the command terminates with fail:

(ZIP) send "Switch Binary [c6a173a70500]" COMMAND_CLASS_SWITCH_BINARY SWITCH_BINARY_SET 00
(ZIP)
Transmit attempt timed out

And at the end nothing happens. I mean the device does not change its state. (When I communicate with this device through Z-Wave directly everything works fine.)

I also noticed that the above mentioned errors starts as soon as I send commands to the switch (see the attached gif - on the left side is the client console, on the right side is zipgateway.log).

Alternative source (gif): https://i.imgur.com/9lEhEIR.gifv

P.s. I’m using the latest versions of the firmware and Z/IP Gateway.


#4

That’s exactly what should happen with 0 virtual nodes being created.

The virtual node is being used as interfaces communicating with Z-Wave nodes so even the client is able to connect to gateway, the command won’t arrive to Z-Wave side, and gateway fails to operate normally.

Now I would say the issue is most probably in your Bridge controller (Z-Wave chip) or could also be the interface like USB.

If the issue persists for you, you may also contact Z-Wave support (z-wavesupport@silabs.com) or post in Hardware category.

Anta


#5

@anta.huang Thank you. Yes, it’s probably hardware issue.


#6

Hi @Alexander ,Sorry to interrupt you in the middle, but I am really in need of help.

According to README of libzwaveip, I have written everyting in the right order but unfortunately I did not get any suggestion after “./reference_client”.

I have given the same commands as you have given , but I dont receive any Z/IP Services.You can see the result below.

To explain you my problem:

Z/IP Gateway is know successfully in RUNNING modus, but i dont know how to continue.

I only know that i have to use the IP adresses of the Z-wave devices in my terminal but

  1. How can i find out the IP adresses of Z-Wave devices and the Z/IP Gateway itself?
  2. Which kind of commands do i need to work with in my terminal?
  3. when the communication of Z/ip Gateway und my Z-wave devices is successful, how can i exchange Information between them?

Thank you very much for your help in advance.


#7

Hi @stteshak

To check the connectivity to Z/IP Gateway you can use one of two official clients: PyZ/IP Client or Reference Z/IP Client . PyZ/IP is a GUI application written in python which is included to the Z/IP Gateway SDK archive. Reference Z/IP Client is the command line tool available on GitHub.

As I know zipgateway announces the Z-Wave devices it manages as mDNS services (see this section). So that you can use the avahi-browse tool to locate, and determine the IP address of, all the Z-Wave devices that Z/IP Gateways in your local network are advertising by running:

$ avahi-browse _z-wave._udp -r

This command continues running in the background, looking for more services, until you stop it with Ctrl+C.

By the way reference_client also uses some avahi client to discover nodes. In other words it does not use specific Z-Wave commands for this purpose. Here I was recommended NetworkManagementProxy/NODE_LIST_GET command.


#8

HI @Alexander , Thank You very much for the help .After following your suggestions I am able to connect my PyZ/IP with Ubuntu. I have run the application with python2 gui.py and now I want to setup the network.

I want to start adding nodes to the network. How can i find the nodes of my z wave devices?

You can see below in which step I am trying to find the nodes of my devices.


#9

Hi @stteshak

You should switch your gateway and a device to the inclusion mode. In PyZ/IP utility you can find appropriate buttons on the toolbar (’+’ and ‘x’). How to switch a device to the inclusion mode depends on the device (it can be a button on the device or something else). After it the gateway will give an IP address to the device and it will be shown in the list of nodes.