OpenMQTTGateway icon indicating copy to clipboard operation
OpenMQTTGateway copied to clipboard

Feature: add write characteristic to BLE

Open animavitis opened this issue 6 years ago • 3 comments

Is your feature request related to a problem? Please describe. I want to be able to control BLE thermostat from MQTT

Describe the solution you'd like Send from HA MQTT message: { 'action': 'writeCharacteristic', 'uuid': '47e9ee2b-47e9-11e4-8939-164230d1df67', 'value': [ 128, 40, 128, 128, 128, 128, 128 ] }

in result OMG send write chatacteristic to uuid and send confirmation message

Describe alternatives you've considered https://github.com/seidler2547/ble-mqtt-bridge this is ready and working solution, but it need to be run from my HA server and not all thermostats are in BLE range

animavitis avatar Nov 08 '18 12:11 animavitis

Did anything happen here in the meantime?

fightforlife avatar Nov 09 '20 17:11 fightforlife

Did anything happen here in the meantime?

We are now able to connect to BLE devices (LYWSD03MMC) so we are closer to the implementation of this kind of functionality, but nobody did it yet for this particular device.

1technophile avatar Nov 09 '20 17:11 1technophile

@animavitis @fightforlife Isn't what you were looking for what was introduced in 0.9.7 and extended with the immediate parameter in 0.9.9?

https://docs.openmqttgateway.com/use/ble.html#read-write-ble-characteristics-over-mqtt-esp32-only

DigiH avatar Feb 06 '22 02:02 DigiH

Done, feel free to reopen if any questions

1technophile avatar Jun 12 '23 18:06 1technophile