This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Required for installation: | |
# - https://github.com/xchwarze/samsung-tv-ws-api | |
# pip3 install samsungtvws[async,encrypted] | |
# - https://pypi.org/project/wakeonlan/ | |
# pip3 install wakeonlan | |
import os | |
import sys | |
import logging | |
import random |