Feel free to reuse the code for your home. Just make sure to edit all the local IPs for your own IPs.
Thanks for passing by :)