I have been adding and removing the same device from Things Gateway to diagnose a bluetooth problem. The bluetooth has gone away however I have introduced a new error - as I seem to have partially deleted a thing.
I should have put the first error - I am trying to find where homekit is gathering its list of BLE’s as it is mistakenly finding the old one - which was not deleted completely:
Found BLE device: { CoID: 76,
2019-05-26 21:00:40.430 INFO : homekit: TY: 6,
2019-05-26 21:00:40.432 INFO : homekit: AIL: 49,
2019-05-26 21:00:40.434 INFO : homekit: SF: 0,
2019-05-26 21:00:40.436 INFO : homekit: DeviceID: ‘34:08:e0:46:3a:e9’,
2019-05-26 21:00:40.437 INFO : homekit: ACID: 10,
2019-05-26 21:00:40.439 INFO : homekit: GSN: 44,
2019-05-26 21:00:40.441 INFO : homekit: CN: 1,
2019-05-26 21:00:40.443 INFO : homekit: CV: 2 }
2019-05-26 21:00:40.445 INFO : homekit: Error loading device 34:08:e0:46:3a:e9: Key not found
ERROR : Failed to get thing: Error: Unable to find thing with id: homekit-41:3f:52:ff:8e:32
This is the old id of the eve device, the new one works perfectly.
Any clues as to which config / source file this relates to please - I have been into the database and can’t see anything obvious.
Full error below:
2019-05-26 18:35:33.727 ERROR : Failed to get thing: Error: Unable to find thing with id: homekit-41:3f:52:ff:8e:32
at /home/pi/mozilla-iot/gateway/build/webpack:/src/models/things.js:255:1
at
Thank-you in advance
Simon