homebridge-hue: homebridge-hue v0.13.1 crashes Homebridge v1.3.3

Issue

homebridge-hue v0.13.1 crashes Homebridge v1.3.3 See log Homebridge then tries to restart, crashes again, and loops forever in this cycle.

Log Messages

TypeError: configJson.hosts is not iterable
    at HuePlatform.maskConfigJson (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:387:33)
    at HuePlatform.accessories (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:205:40)
    at /usr/lib/node_modules/homebridge/src/bridgeService.ts:529:24
    at new Promise (<anonymous>)
    at BridgeService.loadPlatformAccessories (/usr/lib/node_modules/homebridge/src/bridgeService.ts:523:12)
    at /usr/lib/node_modules/homebridge/src/server.ts:445:42
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:159:29)
TypeError: configJson.hosts is not iterable
    at HuePlatform.maskConfigJson (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:387:33)
    at HuePlatform.accessories (/usr/lib/node_modules/homebridge-hue/lib/HuePlatform.js:205:40)
    at /usr/lib/node_modules/homebridge/src/bridgeService.ts:529:24
    at new Promise (<anonymous>)
    at BridgeService.loadPlatformAccessories (/usr/lib/node_modules/homebridge/src/bridgeService.ts:523:12)
    at /usr/lib/node_modules/homebridge/src/server.ts:445:42
    at Array.forEach (<anonymous>)
    at Server.loadPlatforms (/usr/lib/node_modules/homebridge/src/server.ts:372:27)
    at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:159:29)

Debug Files

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 23 (10 by maintainers)

Most upvoted comments

Hm, looks like, last Friday, my Hue bridge updated to api v1.43.0 (firmware 1943185030) as well. As I’ve sadly come to expect from them, no mention in the firmware release notes nor in the API changelog.

Published v0.13.2.

Beta is working.

Child bridge shouldn’t matter, but fix for #950 introduced this bug. Sorry.

Could you try beta v0.13.2-0? Install through Install Previous Version in the UI or through sudo npm -g i homebridge-hue@beta.