This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
Stack trace:
TypeError: Cannot read property 'id' of undefined
at Object.module.exports.autocompleteActivity (/drivers/hub/driver.js:206:23)
at Object.<anonymous> (/app.js:28:63)
at emitTwo (events.js:87:13)
at Object.emit (events.js:172:7)
at /homey-app/manager/flow.js:23:37
at /homey-app/helpers/client.js:1:1077
at Array.forEach (native)
at process.<anonymous> (/homey-app/helpers/client.js:1:1046)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
Exit code: 1
Exit signal: null
Stack trace:
TypeError: Cannot read property 'id' of undefined
at Object.module.exports.autocompleteDevice (/drivers/hub/driver.js:243:23)
at Object.<anonymous> (/app.js:34:63)
at emitTwo (events.js:87:13)
at Object.emit (events.js:172:7)
at /homey-app/manager/flow.js:23:37
at /homey-app/helpers/client.js:1:1077
at Array.forEach (native)
at process.<anonymous> (/homey-app/helpers/client.js:1:1046)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
Exit code: 1
Exit signal: null
Don't mind installing 1.0.1 from git, but this doesn't look very promising
It doesn't look promising yet, but I'll have another look on Wednesday.
Yesterday I got fed up and did the following again:
- Remove hub as device
- uninstall the app
- PTP (this was new!)
- install the app
- add the hub
- repaired my flows
And now it hasn't crashed in 24 hours, so seems to work again :-)
BTW @brinkie
I just discovered that IF now also works!
Better to use a different AND card...:
If you could find a way to catch the unhandled connection error's by retrying to connect to the hub for a few tries all will be fine I guess
After that the app crashes
What I wonder the people who says that it is working did they use the APP store or GITHUB (version 1.0.0 or 1.0.1)
If there is something to test let me know!
Error:
Stack trace:
TypeError: Cannot read property 'id' of undefined
at Object.module.exports.autocompleteActivity (/drivers/hub/driver.js:206:23)
at Object.<anonymous> (/app.js:28:63)
at emitTwo (events.js:87:13)
at Object.emit (events.js:172:7)
at /homey-app/manager/flow.js:23:37
at /homey-app/helpers/client.js:1:1077
at Array.forEach (native)
at process.<anonymous> (/homey-app/helpers/client.js:1:1046)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
Exit code: 1
Exit signal: null
Stack trace:
No stack trace available
Exit code: null
Exit signal: SIGABRT
Ok, now we need to find out if this version is more stable (connection wise) than the one currently in the app store.
So for now it looks good! I will do some more testing tomorrow
Stack trace:
ReferenceError: device_data_id is not defined
at Object.module.exports.sendCommandToDevice (/drivers/hub/driver.js:332:15)
at Object.<anonymous> (/app.js:74:63)
at emitThree (events.js:97:13)
at Object.emit (events.js:175:7)
at /homey-app/manager/flow.js:12:37
at /homey-app/helpers/client.js:1:1077
at Array.forEach (native)
at process.<anonymous> (/homey-app/helpers/client.js:1:1046)
at emitTwo (events.js:87:13)
at process.emit (events.js:172:7)
Exit code: 1
Exit signal: null
When I use normal flows the app doesn't crash so not sure that this is a real harmony problem but the app is crashing
I haven't actually. This is an interesting case though. I have read somewhere Hub's ID can change over power cycles, which could mean the app might be able to find the hub after it has been powered off. I have tried to test this, but a quick PTP and replug didn't result in a different Hub ID. I'd be interested to here some more test results from people actually unplugging their hub on a daily basis.
I'm going to do some more testing with this use case myself as well.