Skip to content

Compile and install Tasmota

RalfJL edited this page Mar 5, 2023 · 2 revisions

With MI Flora; without SR04 ultrasonic distance sensor

Just flash tasmota32-bluetooth

Without MI Flora

Just flash tasmota32 for your language

With Mi Flora and SR04

You will have to compile tasmota yourselfe. Please follow these Compile Instructions

Add the following lines to your file user_config_override.h

 #ifndef USE_SR04<br>
 #define USE_SR04                            // Add support for HC-SR04 ultrasonic devices (+1k code)<br>
     #define SR04_MAX_SENSOR_DISTANCE  500   // Set sensor max detection distance    <br>
 #endif 

If compilation fails because NewPing is missing, add NewPing with PlatformIO means.

Clone this wiki locally