screen_status_to_mqtt/README.md
2022-03-12 16:55:11 +01:00

549 B

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

# Update service
.\ScreenStatusToMQTT.exe update

# Uninstall
.\ScreenStatusToMQTT.exe remove