ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
899 stars 91 forks source link

Sensors not showing up in Home.app "Add Accessor" or in Elgato. #56

Closed sapiosaurus closed 7 years ago

sapiosaurus commented 7 years ago

The sensors appear to be working in homebridge (and in debug), showing the lux/temperature states. These sensors however do not show up in either the Home app for iOS or Elgato when choosing "Add Accessory"

Config file: "platforms": [ { "platform": "Hue", "name": "Sensors", "host": "192.168.0.86", "users": { "REDACTED": "REDACTED" }, "heartrate": 5, "timeout": 5, "lights": false, "philipslights": false, "groups": false, "sensors": true, "schedules": false, "rules": false }, Log file:

[2/3/2017, 12:08:20 PM] Loaded plugin: homebridge-camera-ffmpeg [2/3/2017, 12:08:20 PM] Registering platform 'homebridge-camera-ffmpeg.Camera-ffmpeg' [2/3/2017, 12:08:20 PM] --- [2/3/2017, 12:08:21 PM] Loaded plugin: homebridge-http [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-http.Http' [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loaded plugin: homebridge-hue [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-hue.Hue' [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loaded plugin: homebridge-legacy-plugins [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.AD2USB' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.Carwings' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.ELKM1' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.FileSensor' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.GenericRS232Device' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.HomeMatic' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.HomeMaticThermo' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.HomeMaticWindow' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.HttpGarageDoorOpener' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.HttpHygrometer' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.HttpThermometer' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.Tesla' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.X10' [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-legacy-plugins.mpdclient' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.Domoticz' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.HomeAssistant' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.HomeSeer' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.ISY' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.LIFx' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.SmartThings' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.TelldusLive' [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-legacy-plugins.ZWayServer' [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loaded plugin: homebridge-platform-wemo [2/3/2017, 12:08:21 PM] Registering platform 'homebridge-platform-wemo.BelkinWeMo' [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loaded plugin: homebridge-readablehttp [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-readablehttp.Http' [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loaded plugin: homebridge-wemo [2/3/2017, 12:08:21 PM] Registering accessory 'homebridge-wemo.WeMo' [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loaded config.json with 0 accessories and 2 platforms. [2/3/2017, 12:08:21 PM] --- [2/3/2017, 12:08:21 PM] Loading 2 platforms... [2/3/2017, 12:08:21 PM] [Sensors] Initializing Hue platform... [2/3/2017, 12:08:21 PM] [Sensors] homebridge-hue v0.1.14, node v4.2.2, homebridge v2.1 [2/3/2017, 12:08:21 PM] [Sensors] probing bridge at 192.168.0.86 [2/3/2017, 12:08:21 PM] [Sensors] 192.168.0.86: hue bridge request #1: get /config [2/3/2017, 12:08:21 PM] Initializing Camera-ffmpeg platform... [2/3/2017, 12:08:21 PM] Front Camera is running on port 54885. [2/3/2017, 12:08:21 PM] [Sensors] 192.168.0.86: hue bridge request #1: ok [2/3/2017, 12:08:21 PM] [Sensors] Philips hue: BSB002 bridge, api v1.16.0 [2/3/2017, 12:08:21 PM] [Sensors] Philips hue: hue bridge request #2: get / [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: hue bridge request #2: ok [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: 0 lights [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: 0 groups [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Daylight: Daylight sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: XFDani[1]sn:state: CLIPGenericStatus sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: XFDani[1][1]sn:step: CLIPGenericStatus sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Matt's iPhone 6: Geofence sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: HomeAway: CLIPPresence sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Hue temperature sensor 1: ZLLTemperature sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Living Room sensor: ZLLPresence sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Hue ambient light sensor 1: ZLLLightLevel sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: MotionSensor 7.Companion: CLIPGenericStatus sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Hue temperature sensor 2: ZLLTemperature sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Kitchen sensor: ZLLPresence sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: Hue ambient light sensor 2: ZLLLightLevel sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: MotionSensor 11.Companion: CLIPGenericStatus sensor [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: 13 sensors [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: 0 schedules [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: 0 rules [2/3/2017, 12:08:22 PM] [Sensors] Philips hue: 14 accessories [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Philips hue'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Daylight'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'XFDani[1]sn:state'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'XFDani[1][1]sn:step'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Matt's iPhone 6'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'HomeAway'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Hue temperature sensor 1'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Living Room sensor'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Hue ambient light sensor 1'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'MotionSensor 7.Companion'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Hue temperature sensor 2'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Kitchen sensor'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'Hue ambient light sensor 2'... [2/3/2017, 12:08:22 PM] [Sensors] Initializing platform accessory 'MotionSensor 11.Companion'... Scan this code with your HomeKit App on your iOS device to pair with Homebridge:

REDACTED

[2/3/2017, 12:08:22 PM] Homebridge is running on port 51826. [2/3/2017, 12:08:23 PM] [Sensors] Philips hue: hue bridge request #3: get / [2/3/2017, 12:08:23 PM] [Sensors] Philips hue: hue bridge request #3: ok [2/3/2017, 12:08:25 PM] Got SIGINT, shutting down Homebridge..

ebaauw commented 7 years ago

They're not supposed to. Homebridge bridges the sensors (and any other resources) exposed by homebridge-hue (or other plugins). You cannot add (or remove) these accessories individually, they appear automatically in the default room when you add (or previously added) the homebridge bridge accessory to HomeKit.

I don't have any experience with legacy plugins, but I understand homebridge used to expose their accessories separately (unbridged), requiring each accessory to be added separately.