home automation Project

Actually nothing you can do.It will take fraction of seconds to restart.May be you can add EEPROM to remember previous state :slight_smile: