caseda / com.tkbhome

TKB Home devices for Homey
5 stars 17 forks source link

TSP01/TSM02 Continual crashes #39

Closed citizenxnz closed 5 years ago

citizenxnz commented 6 years ago

Hi

The app keeps crashing on motion and contact. The log is:

MaxListenersExceeded-Warning: Possible EventEmitter memory leak detected: 11 __appInit listeners added. Use emitter.setMaxListeners() to increase limit

[Err] [ManagerDrivers] [TSP01] [0] do not use getOnStart for battery devices, use getOnOnline instead [node:8870] UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Invalid card id [node:8870] [DEP0018] DepreciationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js proces with a non-zero exit code /drivers/TSP01/device.js:37
damianxd commented 6 years ago

It's the same for me, it happens whenever I add any of the multi sensor

caseda commented 6 years ago

I will add this fix somewhere this week into the app, having a little bit of difficulty with the "new" CLI of athom where the app currently not is validating correctly (even though the reason it fails on, it should just validate correctly), so need to work around that one. (also my spare time is a little bit restricted currently, so hopefully soon)

damianxd commented 6 years ago

Thanks for your work @caseda, I really appreciate it.

caseda commented 6 years ago

the fix is in the wait, but until i can validate the app i can't update te app in the store (https://github.com/athombv/homey/issues/2743)

caseda commented 5 years ago

This should be fixed in 2.0.3, if it still occurs, I'll probably receive the messages, but feel free to re-open