grover / homebridge-ranger

A HomeKit range extender for Bluetooth Low Energy (BLE) accessories.
MIT License
73 stars 15 forks source link

Ranger can't find eve after battery change #6

Closed ceraz68 closed 6 years ago

ceraz68 commented 6 years ago

Hello, I replaced the battery of an eve door contact and relaunched homebridge. The device was unpowered for a month and now the plugin can't re-discover the eve.

I checked the homebridge server is working on IOS, deleted homebridge persist and accessories sub-folders to refresh. I checked the mac is using the external BLE bluetooth adapter. Reset the Eve.

I tried a skeleton config.json and the previous config.son with the eve contact BT details. For some reason the plugin does not seem to launch the BT scan. See below message "Not all accessories have their devices. Not publishing yet."

The eve app can see the eve after its scan.

Any ideas? Thanks

$ DEBUG=homebridge,ranger:* homebridge [2018-6-4 22:26:30] Loaded plugin: homebridge-ranger [2018-6-4 22:26:30] Registering platform 'homebridge-ranger.Ranger' [2018-6-4 22:26:30] --- [2018-6-4 22:26:30] Loaded config.json with 0 accessories and 1 platforms. [2018-6-4 22:26:30] --- [2018-6-4 22:26:30] Loading 1 platforms... [2018-6-4 22:26:30] [Ranger] Initializing Ranger platform... [2018-6-4 22:26:30] [Ranger] Ranger Platform Plugin Loaded [2018-6-4 22:26:30] [Ranger] Found device in config: "Eve Door" [2018-6-4 22:26:30] [Ranger] Waiting for accessory: Eve Door [2018-6-4 22:26:30] [Ranger] Not all accessories have their devices. Not publishing yet. [2018-6-4 22:26:30] Loading 0 accessories... [2018-6-4 22:26:30] [Ranger] DidFinishLaunching

ceraz68 commented 6 years ago

Fixed. My BLE dongle wasn't properly set as primary bluetooth.

Couldn't find a way to delete this message.