gruijter / com.plugwise.smile

Athom Homey app to integrate Plugwise Smile P1 energy meter
GNU General Public License v3.0
0 stars 4 forks source link

Crash on opening card #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

The app crashes on opening card and gives the following stack trace:

`TypeError: Cannot read property '0' of undefined at storeNewReadings (/drivers/smilep1/driver.js:380:66) at /drivers/smilep1/driver.js:330:17 at Parser. (/node_modules/xml2js/lib/xml2js.js:484:18) at emitOne (events.js:77:13) at Parser.emit (events.js:169:7) at Object.onclosetag (/node_modules/xml2js/lib/xml2js.js:445:26) at emit (/node_modules/xml2js/node_modules/sax/lib/sax.js:640:35) at emitNode (/node_modules/xml2js/node_modules/sax/lib/sax.js:645:5) at closeTag (/node_modules/xml2js/node_modules/sax/lib/sax.js:905:7) at Object.write (/node_modules/xml2js/node_modules/sax/lib/sax.js:1449:13)

Exit code: 1 Exit signal: null`

gruijter commented 7 years ago

New version 1.0 should resolve the issue

ghost commented 7 years ago

.

gruijter commented 7 years ago

doh, still not with the formatting I need....

ghost commented 7 years ago

modules.zip

gruijter commented 7 years ago

got it!