Hi,
Your tutorials and the ebook on Home automation is excellent! It gives step by step guidance which is a must for people who are new. Thanks for the excellent tutorials.
I am building a project with ESP8266 for switching off and on a bulb or any device over Wifi. In some parts I have fund that many times there is no wifi which makes it difficult to use this wifi switch. As a result I want to add either bluetooth or IR or any other suitable mode as a backup in case the wifi fails. Is it possible to do?
What would be a simple solution? Thought of manual override. However if the Wifi switch is at aheight not many people are tall enough to access it. Thats’ why I am thinking of Bluetooth or IR or any other.
Can you suggest?
Thanks in advance .
Regards
Amit
Hi.
Those are alternative methods that you can use.
In the Home Automation using ESP8266 course, there is a project that uses IR to control a lamp (with IR receiver). You can take a look at that project and see how the IR works and if it is suitable for your project.
I haven’t tried using the HC-05 with the ESP8266. But it should be simple to use. Connect RXD and TXD of ESP8266 with TXD and RXD of HC05 and it communicates via serial. The ESP8266 needs to be programmed using the serial port, you need to upload the code before connecting the bluetooth module.
I think you should be able to use commands such as: Serial.available(), Serial.read(), Serial.print(), etc.
I hope this helps
Regards,
Sara
Hi Sara,
Thanks for your reply.
Thanks for sharing the link. Can i use the same with ESP-01 alongwith the Relay control?
Thanks
Best
Amit
Yes.
I think you should be able to do that.
RX and TX connected to the Bluetooth module, and one GPIO to control the relay.
Regards,
Sara