Hello @1technophile , et al.
Long time reader, first time poster.
I’ve just purchased a BLE enabled smart lock model Eqiva eQ-3 and i’ve been able to get some info while using theengsgw running in stand alone mode.
I have home assistant core install on a RPi4, with mosquitto (which is working fine with zigbee2mqtt)
Running theengsgw with
python3 -m TheengsGateway -H localhost -P 1883 -u mqttuser -p mqttpasswd -ll DEBUG -a hci0 -pt "home/keylock/frontdoor" --publish_all 1 --discovery 1 --discovery_name frontlock
I have the following output:
INFO:BLEGateway:Sent `{"manufacturerdata": "001a2218a65c", "name": "KEY-BLE", "id": "00:11:22:33:44:55", "rssi": 0}` to topic `home/keylock/frontdoor/001122334455`
DEBUG:BLEGateway:00:11:22:33:44:55 RSSI:-68 AdvertisementData(local_name='KEY-BLE', manufacturer_data={6656: b'"\x18\xa6\\'}, service_uuids=['777fe34e-afcc-4d47-851d-8bcbf30f7a9b'])
I can see theengsgw connecting to mosquitto
1664833956: New connection from 127.0.0.1:37895 on port 1883.
1664833956: New client connected from 127.0.0.1:37895 as auto-A1563A7A-9F42-A02C-04F9-8646F29876A3 (p2, c1, k60, u'mqttuser').
But then i get no new devices on the mqtt integration.
I am able to subscribe topic “home/keylock/frontdoor/001122334455” on the mqtt integration settings page, which then outputs
{
"manufacturerdata": "001a2218a65c",
"name": "KEY-BLE",
"id": "00:1A:22:18:A6:5C",
"rssi": -67
}
So, i believe i’m getting the signal strength, and something is working.
Some additional info about this KET-BLE device and BLE support can be found here GitHub - lumokitho/esp32-keyble: ESP32 port of the keyble library, which is what i first had in mind (use an ESP32 as gateway), but then i thought about using the already existing RPi4.
What i would like to be able to to, for starters:
Be able to publish a payload so that i could lock/unlock/etc the keylock.
Would love to be able to have your add-on available as a custom_component, since core install does not support HA Addons.
Any pointers would be greatly appreciated!
… and great job with this integration!
Hugo.