Add Bluetooth to Gladys 4

Good evening everyone,
a first testable version of the Bluetooth service is available: v4.0.0-bluetooth.1.

Only the « pure » Bluetooth service is available, the generic features defined by the recognized specifications are:

  • the battery level
  • the temperature sensor (in its 3 forms according to the GATT spec)

Here are the Bluetooth GATT specifications, do not hesitate to report a feature to me that is compatible with Gladys, I will try to add it.

In theory, Gladys should subscribe to devices that allow notifications, but for the moment only at the startup of Gladys.
This allows to receive the data sent directly by the device, rather than looping to ask the device for the data.

I have not been able to get the service to work under Windows, even via Docker, but Gladys still starts.

I continue to work on opening the service to other specific services (including AwoX and the migration of known modules in v3).

For the record, test images are available here:

Thank you, I look forward to your feedback.