zewelor / bt-mqtt-gateway

A simple Python script which provides a Bluetooth to MQTT gateway, easily extensible via custom workers. See https://github.com/zewelor/bt-mqtt-gateway/wiki for more information.
MIT License
548 stars 116 forks source link

Adds lywsd03mmc_homeassistant worker. #186

Closed lucboudreau closed 3 years ago

lucboudreau commented 4 years ago

Description

Adds a worker named lywsd03mmc_homeassistant. It's loosely based on the existing MiFlora worker, but also the original lywsd03mmc worker. It also integrates the connection enhancements in PR #173.

It creates all of the sensor entries for home assistant, as well as a binary sensor for the battery status.

Type of change

Please delete options that are not relevant.

Adriien-M commented 4 years ago

Thanks it works wery well, it should be merged by an administrator...

zewelor commented 3 years ago

Thanks ! It would be better to extract some code to common module, but lets merge this now, and tweak later

lucboudreau commented 3 years ago

Glad you liked it. Someone will have to do the refactoring for me though, I wrote it but didn't end up using it, so I'm not planning to work on it anymore. Cheers.