I've updated to the latest 2.3.5 firmware, and updated the razberry firmware itself to the latest available 5.22 as well.
This resulted in a new tab showing up in the expert-ui "Analytics".
However the added functionality there isn't very stable yet, I've managed to crash the z-wave chip repeatably by going to the "Background Noise" tab, the only way to recover is by completely powering down the raspberrypi. A reboot won't cut it.
After recovering, everything is working fine, as long as I don't mess with the "Analytics" tab. Exploring my log file shows an error related to the Background Noise function.
I'm wondering if anyone can point me in the right direction on how to resolve this, a number of screenshots showing the versions I'm running:
The error message showing up in the z-way-server.log file
Error
Code: Select all
[2017-08-10 09:26:46.937] [I] [zway] Adding job: Get background noise level
[2017-08-10 09:26:46.945] [D] [zway] SENDING: ( 01 03 00 3B C7 )
[2017-08-10 09:26:46.947] [D] [zway] RECEIVED ACK
[2017-08-10 09:26:46.947] [D] [zway] RECEIVED: ( 01 05 01 3B A2 A5 C7 )
[2017-08-10 09:26:46.948] [D] [zway] SENT ACK
[2017-08-10 09:26:46.948] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel1 = 162 (0x000000a2)
[2017-08-10 09:26:46.948] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel2 = 165 (0x000000a5)
[2017-08-10 09:26:46.949] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel3 = 127 (0x0000007f)
[2017-08-10 09:26:46.949] [I] [zway] Job 0x3b (Get background noise level): RSSI Ch#1: -91 dBm, Ch#2: -91 dBm, Ch#3: invalid
[2017-08-10 09:26:46.949] [D] [zway] Job 0x3b (Get background noise level): success
[2017-08-10 09:26:46.950] [I] [zway] Removing job: Get background noise level
[2017-08-10 09:26:46.974] [E] [core] Callback execution error: TypeError: Cannot read property 'push' of null
at automation/modules/ZWave/index.js:463:10
at Function.<anonymous> (automation/modules/ZWave/index.js:4962:3)
Code: Select all
// check if controller supports background rssi
if (this.zway.controller.data.capabilities.value.indexOf(59) > -1) {
// set timer that will request RSSI stats every 30 s
this.rssiTimer = setInterval(function() {
try {
self.updateRSSIData(function(newValue) {
var data = self.loadObject("rssidata.json");
data.push(newValue);
// remove values older than 24h
if (data.length > 1440) {
var lastDay = now - 86400;
data = _.filter(data, function(entry){
return entry.time > lastDay;
});
}
self.saveObject("rssidata.json", data);
});
} catch (e) {
console.log('Cannot fetch background RSSI. Error:', e.message);
}
}, 1000*30);
}