Discussions about RaZberry - Z-Wave board for Raspberry computer
pz1
Posts: 2053 Joined: 08 Apr 2012 13:44
Post
by pz1 » 29 Dec 2014 12:31
Not completely sure, but I guess
setVal. should be removed from line 191?
(broken since the beginning)
LOG
Code: Select all
[2014-12-29 04:21:33.454] [E] [8083] Callback execution error: TypeError: Cannot read property 'setVal' of undefined
at OpenRemote (automation/modules/OpenRemoteHelpers/index.js:191:73)
at WebServerRequestHandler (automation/main.js:85:10)
CODE
Code: Select all
190 if (mode !== null) {
191 return zway.devices[N].ThermostatSetPoint.data[mode].setVal.value;
192 }
193 return 0;
Since 29-12-2016 I am no longer a moderator for this forum
pofs
Posts: 688 Joined: 25 Mar 2011 19:03
Post
by pofs » 29 Dec 2014 20:19
No,
setVal is correct (at least it is a valid name), but it seems your device doesn't have thermostat mode you're requesting. Not sure what it requires to do in this case
pz1
Posts: 2053 Joined: 08 Apr 2012 13:44
Post
by pz1 » 29 Dec 2014 21:51
pofs wrote: Not sure what it requires to do in this case
I did not understand either, it was not part of my original RaZ-OR code. The only Thermostats I have are StellaZ with modes 0,1,11,31.
I did not notice problems with my devices. I was just scrutinising the logs for possible problems...
pz1
Posts: 2053 Joined: 08 Apr 2012 13:44
Post
by pz1 » 15 Jan 2015 15:06
pz1 wrote: Callback execution error: TypeError: Cannot read property 'setVal' of undefined
at OpenRemote (automation/modules/OpenRemoteHelpers/index.js:191:73)
at WebServerRequestHandler (automation/main.js:85:10)
Checked logs from today and yesterday, but did not find this error again.
Cured miraculously?
pz1
Posts: 2053 Joined: 08 Apr 2012 13:44
Post
by pz1 » 31 Jan 2015 12:55
pz1 wrote: Cured miraculously?
No, I still do see this once in a while. I don't undestand what triggers this to happen. In the meantime I've asked the module developer directly.
Since 29-12-2016 I am no longer a moderator for this forum