I have bought [Order #78373] (December 16, 2020)\”Home Automation using ESP8266 | 4th Edition (eBook + mini video course) \”I\’m a newbie in esp8266, Could you provide me with a template for using Wifi and another for BLE, where I can insert my code?I have a code of moisture sensor where I got string values\”dry\”, \”very wet\”and \”wet\”. I use RGB led for each value but when I remove the sensor for soil or water, red led keep turning on for dry. I want the led to be turned off. Could you help me?
Hi.
Due to time constrains, we can’t create custom code for our readers.
The ESP8266 doesn’t support BLE.
As for the wi-fi template you are asking, can you better explain what you want to build? The course provides several different examples to display sensor readings.
Additionally, are you following any specific project? Or have you crated the project on your own?
You have to check which values do you get when the sensors are removed, and add a condition to your code to turn the LED off when that happens.
Regards,
Sara