Trouble

RaZberry issues on Banana Pro

17 6609
jambel  
Edited by jambel at Wed May 6, 2015 06:57

Hello all, I'm looking for anyone who has experience with z-wave.me.

I have a RaZberry module attached to a Banana Pro. Installation was successful and I manage to start the web interface.
Unfortunately I got some errors and I will explain below what I get in each page.

1. <ip>:8083/exprertui
Error handling data from server

2. <ip>:8083/z-way-ha
Can not start Z-Wave binding: ReferenceError
in details...
Can not start Z-Wave binding: ReferenceError:
ZWaveBinding is not defined

3. <ip>:8083/blueui
Sorry, server has not completely started yet. Try reloading the interface later

I attach my config.xml and z-way-server.log

<config>
    <device>ttyS2</device>
    <automation-dir>automation</automation-dir>
    <log-file>/var/log/z-way-server.log</log-file>
    <log-level>0</log-level>
    <debug-port></debug-port>
</config>


Log file
https://drive.google.com/open?id ... 5V3M&authuser=0

Thanks in advance.
jambel  
Update:

bananapi@lemaker:~$ dmesg | grep -E 'uart|serial'
[    0.664546] [uart]: used uart info.: 0x95
[    0.669259] [uart]: serial probe 0 irq 33 mapbase 0x01c28000
[    0.695590] sunxi-uart.0: ttyS0 at MMIO 0x1c28000 (irq = 33) is a U6_16550A
[    1.369644] [uart]: serial probe 2 irq 35 mapbase 0x01c28800
[    1.401496] sunxi-uart.2: ttyS1 at MMIO 0x1c28800 (irq = 35) is a U6_16550A
[    1.413311] [uart]: serial probe 4 irq 49 mapbase 0x01c29000
[    1.445131] sunxi-uart.4: ttyS2 at MMIO 0x1c29000 (irq = 49) is a U6_16550A
[    1.456943] [uart]: serial probe 7 irq 52 mapbase 0x01c29c00
[    1.488752] sunxi-uart.7: ttyS3 at MMIO 0x1c29c00 (irq = 52) is a U6_16550A

A strange behavior is when I change the port from /z-way-ha page the config.xml remain the same. No changes happen when I change the port by editing the xml nor for the UI.

Can you post the logfile to pastebin or something similar? I don't have permission to view it on gmail.

jambel  
Here you are, thanks.
http://pastebin.com/aDLywu9J

Could you please run the server manually as described here and post the output?
Most probably you're missing a lib too.

jambel  
This is what I get:

bananapi@lemaker:/opt/z-way-server$ sudo ./z-way-server
./z-way-server: error while loading shared libraries: libzcommons.so: cannot open shared object file: No such file or directory

So, how can I install libzcommons.so?

Edited by pikitsan at Thu May 7, 2015 05:16

You need to define the lib folder of z-way-server. So as root run:
  1. LD_LIBRARY_PATH=libs ./z-way-server
Copy the Code
Make sure you're on /opt/z-way-server.

jambel  
  1. Z-Way version v2.0.0 from 2014-12-08 19:54:26 +0300 (build a064f5408850947aed035bc9170e1fa04f0fd2ec)
  2. Looking for modules in ./modules
  3. Module modhttp.so loaded
  4. Module modhomekit.so loaded
  5. Module moddhs.so loaded
  6. Module modenocean.so loaded
  7. Module modzwave.so loaded
  8. Module modws.so loaded
  9. Using default configuration file config.xml
  10. Error: 'debug-port' number is out of range. Skipping it.
Copy the Code
Still not running

jambel  
I edit config.xml and put 8083 as debug-port
  1. Z-Way version v2.0.0 from 2014-12-08 19:54:26 +0300 (build a064f5408850947aed035bc9170e1fa04f0fd2ec)
  2. Looking for modules in ./modules
  3. Module modhttp.so loaded
  4. Module modhomekit.so loaded
  5. Module moddhs.so loaded
  6. Module modenocean.so loaded
  7. Module modzwave.so loaded
  8. Module modws.so loaded
  9. Using default configuration file config.xml
  10. Running debugger on port 8083...
  11. Failed to open socket on port 8083, waiting 1000 ms before retrying
  12. Waiting for 5 seconds for debugger to reattach...
  13. Failed to open socket on port 8083, waiting 1000 ms before retrying
  14. Failed to open socket on port 8083, waiting 1000 ms before retrying
Copy the Code

jambel  
Edited by jambel at Thu May 7, 2015 05:26

Port changed to a random one, now what?
  1. bananapi@lemaker:/opt/z-way-server$ sudo LD_LIBRARY_PATH=libs ./z-way-server
  2. Z-Way version v2.0.0 from 2014-12-08 19:54:26 +0300 (build a064f5408850947aed035bc9170e1fa04f0fd2ec)
  3. Looking for modules in ./modules
  4. Module modhttp.so loaded
  5. Module modhomekit.so loaded
  6. Module moddhs.so loaded
  7. Module modenocean.so loaded
  8. Module modzwave.so loaded
  9. Module modws.so loaded
  10. Using default configuration file config.xml
  11. Running debugger on port 5757...
  12. Waiting for 5 seconds for debugger to reattach...
Copy the Code

You have to log in before you can reply Login | Sign Up

Points Rules