I am working on home automation system with raspberry pi, esp8266 and openhab application. Raspberry pi is working as server here and openhab is giving commands to esp8266 through raspberry pi and turning on and off lights.
I have done that part successfully and then we added the door sensor part in out project. The wired door sensor part is completed and we are getting the notifications and status of door as well.
But now i want to convert my wired door sensor into wireless door sensor.
But when i connect my esp8266 with the battery it gets turned on but the wi-fi part does’t work so the door sensor part as well.
Please help me in this if anyone had done this type of work before. Any help will be really appreciated.
This has nothing to do with openHAB. You need to search the arduino forum or search “ESP8266 door sensor” or google. Then implement the deep sleep as well in your code.
Here is a tutorial, how to install platformio using Atom to flash Esp Easy. You can install Esp Easy with Arduino IDE but in my opinion platformio is much better and easier.