screen_status_to_mqtt/README.md

28 lines
549 B
Markdown
Raw Normal View History

2022-03-11 15:24:30 +01:00
# screen_status_to_mqtt
2022-03-12 16:30:14 +01:00
### Build:
```powershell
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:
```powershell
# Install autostart
.\ScreenStatusToMQTT.exe --startup auto install
# Start it
.\ScreenStatusToMQTT.exe start
# Stop it
.\ScreenStatusToMQTT.exe stop
2022-03-12 16:55:11 +01:00
# Update service
.\ScreenStatusToMQTT.exe update
2022-03-12 16:30:14 +01:00
# Uninstall
.\ScreenStatusToMQTT.exe remove
```