Hi @eric_FR, can you please with the following command: avahi-browse _z-wave._udp -r.
Also, can you provide with which installation steps did you followed?
Feb 27 16:51:05 raspberrypi systemd[1]: Starting LSB: start Z/IP Gateway (zipgateway)…
Feb 27 16:51:06 raspberrypi zipgateway[449]: Starting Z/IP Gateway: zipgatewayRestarting DHCP relay agent:
Feb 27 16:51:06 raspberrypi zipgateway[449]: .
Feb 27 16:51:06 raspberrypi systemd[1]: Started LSB: start Z/IP Gateway (zipgateway).
lines 1-13/13 (END)
Also I just wanted to confirm that while setting up Z/IP Gateway I left it as default
Serial Port : /dev/ttyAMA0. (not default)
IPv6 for gateway - fd000:aaaa::3
IPV6 prefix for noed - fd00:bbbb::1
Now when I try to run
$ avahi-browse _z-wave._udp -r
to get the Z/IP Gateway IP address and list the services
I am not getting any response.
It just gets stuck in the bash shell
And when I try to run
$ ./reference_client -s fd00:aaaa::3
I keep getting error
PSK not configured - using default
connect: Network is unreachable
Error connecting
Could you please help me get pass this issue and connect to Z/IP gateway
Just for reference :
When I run
$ malos_zwave
I get below response
MALOS ZWave starting
You can query specific driver info using port 50000.
FLAGS_psk : 123456789012345678901234567890aa
I/O warning : failed to load external entity "ZWave_custom_cmd_classes.xml"
Could not load Command Class definitions
terminate called after throwing an instance of 'zmq::error_t’
what(): Address already in use
1- Raspberry Pi has just one serial port. The current MATRIX Creator FPGA firmware has connected this port to Zigbee Software. The Zwave port is an internal serial into the FPGA core. Now we are testing the Zwave serial port with our kernel modules: https://github.com/matrix-io/matrixio-kernel-modules. We are working on it now!
2- In order to use it easier, I will post tomorrow morning a recipe with a special FPGA firmware, that allows the Zwave serial port in the ttyS0 port.
1- Update README
2- Add blob directory with FPGA firmware and simple script to replace it.
You could check if malos-zwave is running:
1- Check if the zipgateway are working, check with:
~ $ more /tmp/zipgateway.log
14830 Opening config file /usr/local/etc/zipgateway.cfg
Starting Contiki
Opening eeprom file /usr/local/var/lib/zipgateway/eeprom.dat
Lan device tap0
LAN HW addr 6A:CF:88:CF:56:89
14854 Starting zipgateway ver2_61 build ver2_61
14854 Resetting ZIP Gateway
14854 Using serial port /dev/ttyS0
SerialAPI: Serial API version : 5.34
15030 500 series chip version 0
15060 I'am SUC
15540 Key class 80
F83C9C7888E766D743EA03DB7D97656B
15630 Key class 1
95F2E42BDE04EDEA8A3FAC9C4AB1339B
15700 Key class 2
0135D1F0BD3F692DAC03B98BAA009247
15760 Key class 4
690EB5CC6C6021418F29857142A5845F
15790 Network shceme is:15790 S2 ACCESS
15820 Resetting IMA
15820 I'm a primary or inclusion controller.
15820 Command classes updated
15822 nodeid=1 0
15823 Checking for new sessions
15823 We should send a discover
15850 Waiting for bridge
15880 Version: Z-Wave 4.61, type 7
15950 ................. the version 0 ...............16010 NVM version is 2
16040 L2 HW addr 00:1e:32:1b:5d:f2
16040
16040 ZIP_Router_Reset: pan_lladdr: fc:f7:ab:f7:00:01 Home ID = 0xf7abf7fc
16040 Tunnel prefix ::
16040
16040 Lan address fd00:aaaa::03
If you have an output like this, the zipgateway are working well.
2- Now you could use the ZM5202 module in the MATRIX Creator with the Zwave public documentation. http://zwavepublic.com/developer.
if want to use avahi-browser, install with: sudo apt-get install avahi-utils
i updated the FPGA firmware but i obtain an error of serial port opening:
13736 Opening config file /usr/local/etc/zipgateway.cfg
Starting Contiki
Opening eeprom file /usr/local/var/lib/zipgateway/eeprom.dat
Lan device tap0
LAN HW addr DA:62:D3:BB:2E:A9
13750 Starting zipgateway ver2_61 build ver2_61
13750 Resetting ZIP Gateway
13750 Using serial port /dev/ttyS0
SerialAPI: Retransmission 0 of 0x07
SerialAPI: Retransmission 1 of 0x07
SerialAPI: Retransmission 2 of 0x07
SerialAPI: Retransmission 3 of 0x07
SerialAPI: Retransmission 4 of 0x07
SerialAPI: Retransmission 5 of 0x07
SerialAPI: Retransmission 6 of 0x07
SerialAPI: Retransmission 7 of 0x07
SerialAPI: Reopening serial port
SerialAPI: Retransmission 8 of 0x07
SerialAPI: Retransmission 9 of 0x07
SerialAPI: Retransmission 10 of 0x07
SerialAPI: Retransmission 11 of 0x07
SerialAPI: Retransmission 12 of 0x07
SerialAPI: Retransmission 13 of 0x07
SerialAPI: Retransmission 14 of 0x07
SerialAPI: Retransmission 15 of 0x07
SerialAPI: Reopening serial port
SerialAPI: Retransmission 16 of 0x07
SerialAPI: Retransmission 17 of 0x07
SerialAPI: Retransmission 18 of 0x07
SerialAPI: Retransmission 19 of 0x07
SerialAPI: Unable to send frame!!!!!!
SerialAPI: SendFrameWithResponse() returning failure
SerialAPI: SendFrameWithResponse(FUNC_ID_SERIAL_API_GET_CAPABILITIES,...) failed in SerialAPI_Init()
SerialAPI: Assertion failed at /drone/src/bitbucket.org/admobilize/zipgateway/src/serialapi/Serialapi.c:43 5
62956 Error opening serial API
62956 Fatal error
We’d like do a projet with matrix et ZWAVE now but no idea how to get start to installation .Could you give us a step by step installation how you did that?
sudo apt install libmatrixio-creator-hal matrixio-creator-init matrixio-libzwaveip matrixio-zipgateway
** The serial port where z-wave controller is connected: /dev/ttyS0
** The IPv6 address of the Z/IP Gateway: fd00:aaaa::3
** IPv6 prefix of the Z-Wave network: fd00:bbbb::1
** Enable wireless configuration of Z/IP Gateway? wireless
** Wireless network interface where the ZIP Client will be connected: wlan0