Yeelight module

#1

Bonjour,

Installation de Gladys toute fraiche (bug sur raspberry) du coup je mets à jour et j’installe tout bien. Premier module premier bug.

Moyen de me dire ce que ca peut être ?

 Yeelight - Device found, IP: 192.168.1.32, type: undefined
0|gladys   | Yeelight - Error while discovering!
0|gladys   | Sending 500 ("Server Error") response: 
0|gladys   |  TypeError: Cannot read property 'includes' of undefined
0|gladys   |     at Promise.mapSeries (/home/pi/gladys/api/hooks/yeelight/lib/setup.js:43:30)
0|gladys   |     at tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release/util.js:16:23)
0|gladys   |     at Object.gotValue (/home/pi/gladys/node_modules/bluebird/js/release/reduce.js:155:18)
0|gladys   |     at Object.gotAccum (/home/pi/gladys/node_modules/bluebird/js/release/reduce.js:144:25)
0|gladys   |     at Object.tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release/util.js:16:23)
0|gladys   |     at Promise._settlePromiseFromHandler (/home/pi/gladys/node_modules/bluebird/js/release/promise.js:512:31)
0|gladys   |     at Promise._settlePromise (/home/pi/gladys/node_modules/bluebird/js/release/promise.js:569:18)
0|gladys   |     at Promise._settlePromiseCtx (/home/pi/gladys/node_modules/bluebird/js/release/promise.js:606:10)
0|gladys   |     at Async._drainQueue (/home/pi/gladys/node_modules/bluebird/js/release/async.js:138:12)
0|gladys   |     at Async._drainQueues (/home/pi/gladys/node_modules/bluebird/js/release/async.js:143:10)
0|gladys   |     at Immediate.Async.drainQueues (/home/pi/gladys/node_modules/bluebird/js/release/async.js:17:14)
0|gladys   |     at runCallback (timers.js:789:20)
0|gladys   |     at tryOnImmediate (timers.js:751:5)
0|gladys   |     at processImmediate [as _immediateCallback] (timers.js:722:5)
0|gladys   | Server Error:
0|gladys   | TypeError: Cannot read property 'includes' of undefined
0|gladys   |     at Promise.mapSeries (/home/pi/gladys/api/hooks/yeelight/lib/setup.js:43:30)
0|gladys   |     at tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release/util.js:16:23)
0|gladys   |     at Object.gotValue (/home/pi/gladys/node_modules/bluebird/js/release/reduce.js:155:18)
0|gladys   |     at Object.gotAccum (/home/pi/gladys/node_modules/bluebird/js/release/reduce.js:144:25)
0|gladys   |     at Object.tryCatcher (/home/pi/gladys/node_modules/bluebird/js/release/util.js:16:23)
0|gladys   |     at Promise._settlePromiseFromHandler (/home/pi/gladys/node_modules/bluebird/js/release/promise.js:512:31)
0|gladys   |     at Promise._settlePromise (/home/pi/gladys/node_modules/bluebird/js/release/promise.js:569:18)
0|gladys   |     at Promise._settlePromiseCtx (/home/pi/gladys/node_modules/bluebird/js/release/promise.js:606:10)
0|gladys   |     at Async._drainQueue (/home/pi/gladys/node_modules/bluebird/js/release/async.js:138:12)
0|gladys   |     at Async._drainQueues (/home/pi/gladys/node_modules/bluebird/js/release/async.js:143:10)
0|gladys   |     at Immediate.Async.drainQueues (/home/pi/gladys/node_modules/bluebird/js/release/async.js:17:14)
0|gladys   |     at runCallback (timers.js:789:20)
0|gladys   |     at tryOnImmediate (timers.js:751:5)
0|gladys   |     at processImmediate [as _immediateCallback] (timers.js:722:5)
#2

Il faudrait voir avec le créateur du module Yeelight… (il y a un post sur le forum)

C’est clairement un bug du module.

#3

Ok merci :slight_smile:

Je me disais bien je prends ton image en plus et la bim ça fonctionne pas :confused: mdr

1 Like