Releases: devWaves/SwitchBot-MQTT-BLE-ESP32
v7.1 - Fix contact button HA and non continuous scan
v7.0 - Major Update - Plug Mini and ESP32 Meshing
v7.0 - Major Update
- Mesh multiple ESP32s together. Set one ESP32 as the primary and the others as secondary. View Readme and Examples folder for configurations
- Support for plug mini (with power monitoring)
- Curtain position will move as the curtain is moving
- Active Scanning VS Passive Scanning
- Better memory task management between BLE and WIFI/MQTT
v6.12 - Fix for NimBLE v1.3.8 , v1.4.0
v6.12 - Fix for NimBLE v1.3.8 , v1.4.0
v6.11 Support for Curtain firmware v4.6
v6.11 Support for Curtain firmware v4.6
v6.10 Support for Meter Plus and minor fixes
v6.10 Support for Meter Plus and minor fixes
v6.9 fix for in/out contact counter and assumedstate
v6.9 fix for in/out contact counter and assumedstate
- in/out contact sensor HA entities were expecting EXITED/ENTERED. Message sent was incorrect as EXITING/ENTERING
- update assumedstate topic immediately on STATEON/STATEOFF, incase esp32 loses power before next scan or control
v6.8 - Fix for continuous scan - Contact/Motion
v6.8 - Fix for continuous scan - Contact/Motion
An error was occurring after constant scanning for a long time, specifically when (multiple?) contact and motion sensors were included in the device list. The workaround applied will BLE scan for 30 min then stop and immediately restart scanning for another 30 min, instead of scanning indefinitely. This seems to solve the issue and does not affect use.
I have also shortened some json attributes and stop/restart the webserver on MQTT/WIFI reconnect
v6.7 - Get bot settings on boot only if not retained + binary contact
v6.7 - Get bot settings on boot only if not retained + binary contact
-
When the esp32 boots it will search for retained MQTT settings. If not available it will call request settings
-
This will saves battery on bots if the esp32 reboots because getting settings requires a connection
-
To get the latest settings values (firmware/hold/inverted/timers) you will need to manually called requestSettings (or holdPress)
-
New binary sensor for contact
v6.6 - Switch/Light/Button HA Entity for Bot and "controlling" esp32 status
- The bots can be added as a switch, or light, or button HA entity.
- The esp32 status will say "controlling" while sending commands
v6.5 lastMotion and lastContact for motion/contact sensors
collect the last motion and last contact values from motion and contact sensors. If a motion or contact was missed the ESP32 will publish a backup MQTT message if within X seconds defined by the missedDataResend value