here you can see the full poject (not mine)
https://www.hackster.io/tusharmagar/alexa-controlled-light-switch-with-servo-384d2c