Go to file
2022-03-12 16:30:14 +01:00
.idea 🎉 Initial commit 2022-03-11 18:56:49 +01:00
.gitignore Initial commit 2022-03-11 15:24:30 +01:00
LICENSE Initial commit 2022-03-11 15:24:30 +01:00
main.py 🔨 Code 2022-03-12 16:30:14 +01:00
README.md 🔨 Code 2022-03-12 16:30:14 +01:00
requirements.txt 🔨 Code 2022-03-12 16:30:14 +01:00
win32_notification_receiver.py 🔨 Code 2022-03-12 16:30:14 +01:00

screen_status_to_mqtt

Build:

pyinstaller.exe -F -n ScreenStatusToMQTT --hidden-import=win32timezone --paths .\venv\Lib\site-packages\ .\main.py

Install

Copy build/ScreenStatusToMQTT.exe to C:\Program Files\ScreenStatusToMQTT

In powershell as admin:

# Install autostart
.\ScreenStatusToMQTT.exe --startup auto install

# Start it
.\ScreenStatusToMQTT.exe start

# Stop it
.\ScreenStatusToMQTT.exe stop

# Uninstall
.\ScreenStatusToMQTT.exe remove