MonTilt is a Windows application that automatically rotates monitor orientation based on physical sensor data from ESP32 devices running the MonTilt Sensor firmware.
- Windows 10 or later
- .NET 6.0 or later
- One or more ESP32 devices running MonTilt Sensor firmware
MonTilt Commands:
help - Show this help text
list monitors - List available monitors
list devices - List connected devices
list mappings - List device-to-monitor mappings
map <mac> <monitor> - Map a device to a monitor
unmap <mac> - Remove a device mapping
scan - Scan for new devices
save - Save current configuration
log <level> - Set log level (debug, info, warning, error)
exit - Exit the application
- Open the solution in Visual Studio 2022 or later
- Ensure you have the .NET 6.0 SDK installed
- Build the solution
dotnet build
- The application scans for ESP32 devices connected via USB
- It identifies them by MAC address and maintains device-to-monitor mappings
- When orientation changes are detected from the sensors, it rotates the corresponding monitors using the Windows API
- Configuration is persisted between sessions
- MonTilt Sensor - ESP32 firmware for orientation detection