Razberry 7 Pro Issues

Discussions about RaZberry - Z-Wave board for Raspberry computer
harre
Posts: 95
Joined: 24 Nov 2020 02:22

Re: Razberry 7 Pro Issues

Post by harre »

Is there any other file for that? Because I thought it was that I already had set in config.

Code: Select all

% cat /opt/z-way-server/config.xml
<config>
    <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>
edit: I checked again and the old device I thought were still there was indeed another device and the device got the same id when got included again. Sorry for the confusion.

Now remains just the issue of not getting debug-logging eventhough I set 0 as log-level

edit2: Why doesn't the z-way server log to the journal? In that case I could just setup to export the logs easily to my syslog server.
seattleneil
Posts: 172
Joined: 02 Mar 2020 22:41

Re: Razberry 7 Pro Issues

Post by seattleneil »

Config file "config.xml" is read when the z-way-server process starts up. Did you forget to restart z-way-server?

Since the log file /var/log/z-way-server.log grows to be pretty large large on a busy Z-Way system (e.g., when there's frequent polling or device reporting) and generates a lot of disk write activity, I typically set the log level to 6 (silent).
harre
Posts: 95
Joined: 24 Nov 2020 02:22

Re: Razberry 7 Pro Issues

Post by harre »

It must have not gotten restarted somehow as I get loaded with debugging output in logfile now.

It was quite straightforward to add it to rsyslog btw.

Code: Select all

% l /etc/rsyslog.d/* 
-rw-r--r-- 1 root root  22 Apr 10 01:24 /etc/rsyslog.d/01-enable-remote-syslog.conf
-rw-r--r-- 1 root root 273 Apr 10 01:42 /etc/rsyslog.d/02-add-z-way-log.conf

Code: Select all

% cat /etc/rsyslog.d/01-enable-remote-syslog.conf
*.* @@staropramen:514
Note: staropramen is the hostname of the syslog host one @ is for using UDP, @@ for TCP% cat /etc/rsyslog.d/02-add-z-way-log.conf

Code: Select all

% cat /etc/rsyslog.d/02-add-z-way-log.conf
$ModLoad imfile

$InputFileName /var/log/z-way-server.log
$InputFileTag z-way
$InputFileStateFile z-way-state
$InputFileSeverity debug
$InputFileFacility local7
$InputRunFileMonitor

#Set how often you should poll for new events, default is 10sec
$InputFilePollInterval 1
Then just restart rsyslog:

Code: Select all

sudo service rsyslog restart
z-wavettaja
Posts: 41
Joined: 02 Nov 2017 18:49

Re: Razberry 7 Pro Issues

Post by z-wavettaja »

PoltoS wrote:
09 Apr 2022 13:13
@z-wavettaja powercycle your Raspberry. I think it will work
Thank you for a hint! Tried that and now I noticed that everything works good, until one scene with several devices is applied (example 9 devices). It seems that problems start after that, almost nothing works and I get those messages in log. Way to recover seems to be at least restart z-way.

It seems that using scenes with several devices have gone worse since 3.2.2. In that version some devices switched state as requested, some not. But it was not causing premanent jamming, like it now seems to cause.
Raspi 4(Buster), Zwave Version 4.0.2 (7.28), Raz 7 Pro
z-wavettaja
Posts: 41
Joined: 02 Nov 2017 18:49

Re: Razberry 7 Pro Issues

Post by z-wavettaja »

PoltoS wrote:
09 Apr 2022 13:13
@z-wavettaja powercycle your Raspberry. I think it will work
Thank you for a hint! Tried that and now I noticed that everything works good, until one scene with several devices is applied (example 9 devices). It seems that problems start after that, almost nothing works and I get those messages in log. Way to recover seems to be at least restart z-way.

It seems that using scenes with several devices have gone worse since 3.2.2. In that version some devices switched state as requested, some not. But it was not causing premanent problems, like it now seems to cause.
Raspi 4(Buster), Zwave Version 4.0.2 (7.28), Raz 7 Pro
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Razberry 7 Pro Issues

Post by PoltoS »

@z-wavettaja Please give me more info on your issue. I'm a bit confused
z-wavettaja
Posts: 41
Joined: 02 Nov 2017 18:49

Re: Razberry 7 Pro Issues

Post by z-wavettaja »

PoltoS wrote:
11 Apr 2022 05:27
@z-wavettaja Please give me more info on your issue. I'm a bit confused
I have new information of this.
It seems that everything works fine, until I trigger a scene. After that I'm not able to control any sockets and start see in log those "Wrong checksum" etc messages for anything I try to control.

But now I have find new information. I thought that triggering multiple switches (fibaro sockets) via scene is causing this problem, but it seems that it's one device on on scenes (one fibaro socket).

Everything works nicely, until I try to switch that socket on or of. After that I can not control anything anymore and see those error messages in log.

After realizing this, I excluded that device. It seemed in ui, that exlcuding was success. Elements for that device disappeared. But anyhow that device still appears in Explert UI Device/Status list.

https://drive.google.com/file/d/1cCkXou ... sp=sharing

Other tabs, like Configuration are empty. How would I get rid of this remain? It seems that if I example start network reorganization, it touches this device and I start to see those problems in log and nothing seems to work after that.
Raspi 4(Buster), Zwave Version 4.0.2 (7.28), Raz 7 Pro
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Razberry 7 Pro Issues

Post by PoltoS »

Try to control it. If it really fails to communicate, user Remove Failed. If it can communicate, try to exclude.
z-wavettaja
Posts: 41
Joined: 02 Nov 2017 18:49

Re: Razberry 7 Pro Issues

Post by z-wavettaja »

I don't understand what is happening. All actions I can do for device is Call for NIF and Force Interview. I tryed to remove all Fibaro sockets from power and got all of those as failed state, but not this one (node 61). All I get is in logs below, which shows these errors.
Does this mean that I have forgotten socket somewhere and it' data is somehow currupted or what could be reason for this situation? :shock:

Code: Select all

[2022-04-12 21:38:00.249] [I] [zway] Job 0x60 (Request NIF from a node to node 61): Request for node 61 information frame sent
[2022-04-12 21:38:02.453] [D] [zway] RECEIVED: ( 01 35 01 F8 08 02 01 11 07 05 00 00 00 00 00 00 00 00 38 ED 00 E0 DA 00 00 00 FB 5A 00 20 D9 00 00 00 7C 59 00 20 18 00 00 00 97 55 01 00 5E 3E 01 00 00 00 00 81 01 )
[2022-04-12 21:38:02.454] [D] [zway] Wrong checksum
[2022-04-12 21:38:02.454] [D] [zway] SENT NAK
[2022-04-12 21:38:02.454] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x10
[2022-04-12 21:38:02.454] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x00
[2022-04-12 21:38:02.454] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x0a
[2022-04-12 21:38:02.454] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x07
[2022-04-12 21:38:02.454] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x00
[2022-04-12 21:38:02.454] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x03
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x02
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x07
[2022-04-12 21:38:02.455] [D] [zway] RECEIVED ACK
[2022-04-12 21:38:02.455] [W] [zway] Received ACK, but there's no job awaiting ACK
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x5e
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x98
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x9f
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x6c
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x56
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x55
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0x00
[2022-04-12 21:38:02.455] [E] [zway] RECEIVED UNKNOWN PACKET TYPE: 0xd4
[2022-04-12 21:38:02.456] [D] [zway] RECEIVED: ( 01 10 00 0A 07 00 03 02 07 06 5E 98 9F 6C 56 55 00 D4 )
[2022-04-12 21:38:02.456] [D] [zway] SENT ACK
[2022-04-12 21:38:02.456] [W] [zway] No job of class 0x0a is waiting for callback 0x07
[2022-04-12 21:38:02.456] [I] [zway] Unhandled callback for function 0x00
[2022-04-12 21:38:02.456] [I] [zway] Removing job: Unknown function class
[2022-04-12 21:38:15.034] [D] [zway] Job 0x3b (Get background noise level): removing duplicate
[2022-04-12 21:38:16.753] [I] [core] [Astronomy] Calculate
[2022-04-12 21:38:16.793] [I] [core] Notification: device-info (device-status): {"dev":"Solar altitude","l":"-8.2 °","location":0}
[2022-04-12 21:38:16.817] [I] [core] Notification: device-info (device-status): {"dev":"Solar azimuth","l":"304.15 °","location":0}
[2022-04-12 21:38:16.848] [I] [core] [BaseModule-13] Set lastLevel to -8.2 for Astronomy_17_altitude (was -8.1)
[2022-04-12 21:38:16.850] [I] [core] [BaseModule-13] Set lastLevel to 304.15 for Astronomy_17_azimuth (was 303.92)
[2022-04-12 21:38:20.509] [I] [zway] Job 0x60 (Request NIF from a node to node 61): Job not removed after RESPONSE received
[2022-04-12 21:38:20.509] [W] [zway] Job 0x60 (Request NIF from a node to node 61) dropped: too many resends
[2022-04-12 21:38:20.509] [D] [zway] Job 0x60 (Request NIF from a node to node 61): fail
[2022-04-12 21:38:20.509] [I] [zway] Removing job: Request NIF from a node to node 61
Raspi 4(Buster), Zwave Version 4.0.2 (7.28), Raz 7 Pro
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Razberry 7 Pro Issues

Post by PoltoS »

hmm... from the log it is clear the board firmware has rebooted. Can you reproduce it? What do you do? Just request NIF? Only for device 61 or for any?
Post Reply