Set your Serial com port to which the arduino or zigbee is connected. The code is in Python2, which needs to be translated to python3.
Video Link: https://youtu.be/1X-xxgN4n8M
Credits:
This project would not have been possible without these two guys;
www.pyimagesearch.com bradmontgomery https://github.com/bradmontgomery