DIY Smart lock with electro magnet

My 2 cents are: integrate the lock with HomeyDuino using a NodeMCU ESP8266 as demonstrated with a doorbell here: HomeyDuino @V2.0 NodeMCU ESP8266 Smart doorbell succesfully working