grover / homebridge-ranger

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

2 of 3 Eve Energy OK, 3rd: HAP-BLE request failed with status 5 #25

Closed SFKV closed 5 years ago

SFKV commented 5 years ago

I have performed a clean install on a raspberry zero W. Everyting working as expected, was able to pair all three Eve Energy that I have, however one is always failing. Unpaired and paired again, the failing device is always a different one.

Any suggestions? Grep syslog for dev ID:

Jun 26 18:35:01 piW homebridge[17679]: [2019-6-26 18:35:01] [Ranger] Found device in config: "Eve Energy 293C"
Jun 26 18:35:02 piW homebridge[17679]: [2019-6-26 18:35:02] [Ranger] Waiting for accessory: Eve Energy 293C
Jun 26 18:35:02 piW homebridge[17679]: [2019-6-26 18:35:02] [Ranger] Waiting for accessory: Eve Energy 293C
Jun 26 18:35:02 piW homebridge[17679]: [2019-6-26 18:35:02] [Ranger] Accessory 'Eve Energy 293C' found.
Jun 26 18:35:25 piW homebridge[17679]: [2019-6-26 18:35:25] [Ranger] Discovered GATT services and characteristics of Eve Energy 293C
Jun 26 18:35:25 piW homebridge[17679]: [2019-6-26 18:35:25] [Ranger] Connected to Eve Energy 293C
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.649Z ranger:Eve Energy 293C:reads Reading 0000003e0000100080000026bb765291:000000200000100080000026bb765291
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.720Z ranger:Eve Energy 293C:errors Failed to read 0000003e0000100080000026bb765291:000000200000100080000026bb765291 - Error: HAP-BLE request failed with status 5 at HapExecutor.\
_getResponsePayload (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js:143:13) at HapExecutor._executeCommand (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js\
:72:34) at <anonymous>
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.730Z ranger:Eve Energy 293C:reads Reading 0000003e0000100080000026bb765291:000000210000100080000026bb765291
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.791Z ranger:Eve Energy 293C:errors Failed to read 0000003e0000100080000026bb765291:000000210000100080000026bb765291 - Error: HAP-BLE request failed with status 5 at HapExecutor.\
_getResponsePayload (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js:143:13) at HapExecutor._executeCommand (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js\
:72:34) at <anonymous>
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.802Z ranger:Eve Energy 293C:reads Reading 0000003e0000100080000026bb765291:000000230000100080000026bb765291
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.866Z ranger:Eve Energy 293C:errors Failed to read 0000003e0000100080000026bb765291:000000230000100080000026bb765291 - Error: HAP-BLE request failed with status 5 at HapExecutor.\
_getResponsePayload (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js:143:13) at HapExecutor._executeCommand (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js\
:72:34) at <anonymous>
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.876Z ranger:Eve Energy 293C:reads Reading 0000003e0000100080000026bb765291:000000300000100080000026bb765291
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.941Z ranger:Eve Energy 293C:errors Failed to read 0000003e0000100080000026bb765291:000000300000100080000026bb765291 - Error: HAP-BLE request failed with status 5 at HapExecutor.\
_getResponsePayload (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js:143:13) at HapExecutor._executeCommand (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js\
:72:34) at <anonymous>
Jun 26 18:35:30 piW homebridge[17679]: 2019-06-26T16:35:30.962Z ranger:Eve Energy 293C:reads Reading 0000003e0000100080000026bb765291:000000520000100080000026bb765291
Jun 26 18:35:31 piW homebridge[17679]: 2019-06-26T16:35:31.043Z ranger:Eve Energy 293C:errors Failed to read 0000003e0000100080000026bb765291:000000520000100080000026bb765291 - Error: HAP-BLE request failed with status 5 at HapExecutor.\
_getResponsePayload (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js:143:13) at HapExecutor._executeCommand (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js\
:72:34) at <anonymous>
Jun 26 18:35:31 piW homebridge[17679]: 2019-06-26T16:35:31.054Z ranger:Eve Energy 293C:reads Reading 0000003e0000100080000026bb765291:000000530000100080000026bb765291
Jun 26 18:35:31 piW homebridge[17679]: 2019-06-26T16:35:31.121Z ranger:Eve Energy 293C:errors Failed to read 0000003e0000100080000026bb765291:000000530000100080000026bb765291 - Error: HAP-BLE request failed with status 5 at HapExecutor.\
_getResponsePayload (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js:143:13) at HapExecutor._executeCommand (/opt/node-v9.3.0-linux-armv6l/lib/node_modules/homebridge-ranger/src/hap/HapExecutor.js\
:72:34) at <anonymous>
SFKV commented 5 years ago

Tried to unpair "293C", getting the message Remove pairing failed: {} TypeError: Cannot read property 'rangerPairingID' of undefined. Assuming that something (maybe due to timing) failed during the last pairing, I reset the device and paired it again. Seems to work for now.