unparagoned / njsTuya

Openhab interface for Tuya home automation devices sold under various names
27 stars 11 forks source link

Problem with Emylo SS-8839-03 and njstuya local #24

Closed Fiftiz closed 4 years ago

Fiftiz commented 5 years ago

Hello,

Hello, I tried Njstuya, it work fine with teckin in local, but with Emylo SS-8839-03 there is an error :

When I launch this command :

node njstuya.js -mode local -ip 192.168.1.XX -id 4620XXXXXXX0029 -key f7edXXXXXX2b ON

I received this error :

(node:2189) UnhandledPromiseRejectionWarning: undefined

(node:2189) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:2189) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

But when i try with cloud mode and device id, it work fine. Any ideas please ?

Also with this command node node_modules/njstuya , njstuya detect all Teckin devices in local, but never Emylo device.

Thank you