Add API support for Home Assistant to nRF52 #3607
Replies: 4 comments 5 replies
-
|
🏷️ I've automatically added the |
Beta Was this translation helpful? Give feedback.
-
|
You can use zigbee already https://esphome.io/components/zigbee/ |
Beta Was this translation helpful? Give feedback.
-
|
+1 for the BLE support (apart from the mcumgr OTA, there is no way of using BLE for anything useful) |
Beta Was this translation helpful? Give feedback.
-
|
I think it might be valuable if the (OTA) API could be provided not only via a TCP socket, as is currently the case, but also via BLE L2CAP. For esphome, this would essentially just require implementing an additional socket type (zephyr_ble_l2cap) that maps the BSD-style API to https://docs.zephyrproject.org/latest/doxygen/html/structbt__l2cap__server.html. If I have time in the near future, I would also write a prototype for this. From the client’s perspective (aiohomeapi), this should be fairly easy to implement - not considering peering for now. L2CAP sockets are provided on Linux similarly to TCP / AF_INET sockets https://github.com/bluez/bluez/wiki/L2CAP |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Component name
nRF52
Link to component documentation on our website
https://esphome.io/components/nrf52/
Describe the enhancement
Currently there doesn't seem to be any way to add an nRF52 device to Home Assistant via BLE or Zigbee. Also not sure how OTA is supposed to be usable without having access to a controller like HA.
Use cases
Integrate nRF52 devices in HA for controls, sensor info, and OTA
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions