insider is a minimal smart door controll based on esp32 / esp8266
microcontroller which can be controll through you desktop or latpop to trigger relay in order to open door .
Make sure that python 3.x
and pip
is install in your system. Download your respective micropython firmware from Official MicroPython website.
In order to flash micropython firmware to your microcontroller you need to install esptool.py
& rshell
, execute following command in Terminal (for windows it will be CMD).
pip install esptool
pip install rshell
Once you install esptool now its time to flash microPython firmware to the Esp
# First Erase Flash
esptool.py --port DEVICE_YOUR_SERIAL_PORT erase_flash
# for Esp32
esptool.py --chip esp32 --port DEVICE_YOUR_SERIAL_PORT --baud 460800 write_flash -z 0x1000 esp32-downloaded-bin-file-path-here.bin
# for Esp8266
esptool.py --port DEVICE_YOUR_SERIAL_PORT --baud 460800 write_flash --flash_size=detect 0 esp8266-downloaded-bin-file-path-here.bin
Now that we have flashed the firmware clone this repository at you desier location .
git clone git@github.com:arslanmughal5566/Insider.git
cd Insider
before proceding first open main.py
file in text edditor and place your ESSID
, PASSWORD
, ACTION_PIN
and save now move main.py
into microcontroller using rshell
.
rshell -p DEVICE_SERIAL_PORT
# once rshell connected sucessfully hit next command
cp main.py pyboard/
After all press restart button of esp
and thats it from esp
side.
Download latest release for desktop application here
if you need to build from source check out the DesktopTrayApp directory in the repo.
Once Downloaded double click setup file and it will automatically install in you system and a tray icon for Insider
will appear like this .
Click the icon you will find somting like this make sure that you pc is connected to your esp wifi .
Now click that little settings icon on top right corrner of the tray app and select you interface that is connected to the esp wifi .
Now back and click the gaint Door icon and done .