/tasmota-blerry

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Blerry - BLE Driver for Tasmota written in Berry

Requires a build with BLE and Berry (ESP32 devices only).

To use:

  • Upload blerry.be, blerry_main.be, and each blerry_model_xxxx.be model driver file you may need to the file system of the ESP32.
  • Edit blerry.be as needed for your device configuration, HA discovery choices, etc...
  • Create and enable (Rule1 1) the following Tasmota Rule and Restart Tasmota (Some of the commands used in blerry.be are not initialized by the time autoexec.be is run. So, you must load blerry.be as part of a rule.)
Rule1 ON System#Boot DO br load('blerry.be') ENDON

Supported Sensors

Model String Mac Example Description
'ATCpvvx' 'A4C138XXXXXX' Xiaomi sensors on ATC or pvvx firmware with "Custom" advertisement
'GVH5075' '494207XXXXXX' Govee H5075. Should work for H5072 as well (untested).
'IBSTH2' '494208XXXXXX' Inkbird IBSTH2 with and without humidity. Should work for IBSTH1 as well (untested).
'WoSensorTH' 'D4E4A3XXXXXX/1' Switchbot temperature and humidity sensor.
'WoContact' 'D4BD28XXXXXX/1' Switchbot contact sensor (also has motion, binary lux, and a button).
'WoPresence' 'FC7CADXXXXXX/1' Switchbot motion sensor (also has binary lux).

Intro Video by @digiblur (Thanks Travis!)

video thumbnail

Contributing

Feel free to fork and PR any new drivers, better code, etc.!

If you like my project

Buy Me A Coffee