homebridge-hue: bridge communication error ERR_INVALID_ARG_TYPE

Hi, since the last update of homebridge-hue, I can no longer find any of my Osram and/or Ikea lights. My hue bridge is on the latest firmware version: 1937045000 and API: 1.36.0.

My log shows this:

Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] npm registry: The "listener" argument must be of type function. Received an instance of Object Code Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] Philips hue: bridge request 1: get / Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] Philips hue: bridge communication error ERR_INVALID_ARG_TYPE on 192.***.***.7 Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] Philips hue: Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] Philips hue: 1 accessories Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] masked debug info dumped to /var/homebridge/homebridge-hue.json.gz Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] Initializing platform accessory 'Philips hue'... Feb 23 12:46:37 raspberrypi homebridge[9038]: [2/23/2020, 12:46:37] [Hue] Philips hue: 2 services

I tried to:

  • Restart homebridge
  • Restart my Raspberry Pi
  • Restart my hue bridge via App and with power cycling it
  • uninstalled and reinstalled homebridge-hue
  • updated node and NPM to the latest version to satisfy homebridge-hue
  • removed the host from my config.json and only left the user
  • removed the user as well to pair it again --> after that I was no longer able to connect to the bridge, because homebridge-hue never recognized, that I pressed the link button, even though iConnectHue and Hue itself recognized it immediately
  • removed homebridge-hue.json.gz and cachedAccessories

According to the error message “ERR_INVALID_ARG_TYPE” the issue should be already resolved in a previous version (v0.11.54) but not in my case.

Right now, I was able to restore my homebridge with the previous version homebridge-hue v0.11.52 and all my Osram and Ikea lights are exposed again. (I still have to redo my scenes and move them between rooms, but at least it is working.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 60 (21 by maintainers)

Commits related to this issue

Most upvoted comments

OT: @Nastras - are you the one from the smartapfel Forums?

yes I am

I followed your instructions on multiple instances then 😃