Skip to content

Implement support for Turing 2.1" and 8.8" screens #690

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 38 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
8c26266
Detection of Turing 2.1 inch and 8.8 inch revisions
mathoudebine Aug 29, 2023
927a031
Improve auto-detection for all screen models
mathoudebine Oct 5, 2023
e200126
Add new display sizes to Configure wizard
mathoudebine Oct 5, 2023
d1826ea
Fix image display for Turing 2.1
mathoudebine Oct 5, 2023
e971733
Fix an issue in rev. C where big bitmaps could not be displayed
mathoudebine Oct 5, 2023
33a9e88
Add new 2.1" and 8.8" themes support for theme-editor
mathoudebine Oct 5, 2023
51e5197
Fix theme preview ratio, bigger preview for configuration
mathoudebine Oct 5, 2023
5301977
Fix UPDATE_BITMAP for big bitmaps
mathoudebine Oct 6, 2023
e9c8db7
Add theme 43 for 2.1inch
mathoudebine Oct 6, 2023
5d58792
Add a circular mask over 2.1inch theme previews
mathoudebine Oct 6, 2023
743c359
Add samples for 2.1inch themes and 8.8inch themes
mathoudebine Oct 6, 2023
4065fb3
Add 4 more themes for 2.1inch screens
mathoudebine Oct 6, 2023
a5ab5b7
Update config.yaml with new simulated displays
mathoudebine Oct 6, 2023
a31c67a
Merge remote-tracking branch 'origin/main' into feature/264-88-inch-s…
mathoudebine Feb 13, 2025
280bebb
Merge remote-tracking branch 'origin/main' into feature/264-88-inch-s…
mathoudebine Feb 16, 2025
d05b275
Fix Turing 2.1/8.8 communication, keep only SIMU for simulated displays
mathoudebine Feb 16, 2025
315d18f
Add "open themes folder" button in configure window
mathoudebine Feb 16, 2025
9e7f3b6
Create 8.8 landscape theme "Blue Technology"
mathoudebine Feb 16, 2025
e9d95a1
Add 8.8" test theme
mathoudebine Feb 17, 2025
27fe18b
Update 8.8" test themes
mathoudebine Feb 17, 2025
c09d0a5
Manage 8.8" rotations
mathoudebine Feb 17, 2025
be7bf45
Restore default orientation command even if it seems unused
mathoudebine Feb 17, 2025
97da5c4
Adapt theme editor for large displays
mathoudebine Feb 17, 2025
904bb4d
Add fonts preview generator
mathoudebine Feb 18, 2025
f3f9c55
Do not crash Theme Editor when error in theme
mathoudebine Feb 18, 2025
fff13d7
Add gradient 8.8" theme
mathoudebine Feb 18, 2025
2d50d02
Add Race Space font
mathoudebine Feb 18, 2025
b576038
Fix theme editor image when error in theme
mathoudebine Feb 20, 2025
57ff76c
Update theme preview generator for 2.1" and 8.8" themes
mathoudebine Feb 20, 2025
552e033
Update README
mathoudebine Feb 20, 2025
65fd457
Add Cyberpunk 2077 8.8" vertical theme
mathoudebine Feb 20, 2025
af38106
Fix Cyberpunk theme
mathoudebine Feb 21, 2025
0fdb3f4
Allow to change theme editor zoom with buttons or mouse wheel
mathoudebine Feb 21, 2025
fba484e
Add Cyberpunk 2077 horizontal 8.8" theme
mathoudebine Feb 21, 2025
be1d533
Add AMD 8.8" theme
mathoudebine Feb 21, 2025
29795b7
Add Nvidia 8.8" theme
mathoudebine Feb 21, 2025
b7b58ad
Remove 8.8" test themes
mathoudebine Feb 21, 2025
e63603a
Fix 8.8" landscape themes not displaying properly
mathoudebine Feb 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 1 addition & 7 deletions .github/workflows/themes-screenshot-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,7 @@ jobs:
sed -i '/THEME:/c\ THEME: "'"$theme"'"' config.yaml

# For tests there is no real HW: use simulated LCD mode
# Check if theme is for 5"
orientation=$(grep 'DISPLAY_SIZE' "$dir/theme.yaml" | sed 's/ //g')
if [ "$orientation" == "DISPLAY_SIZE:5\"" ]; then
sed -i "/REVISION:/c\ REVISION: SIMU5" config.yaml
else
sed -i "/REVISION:/c\ REVISION: SIMU" config.yaml
fi
sed -i "/REVISION:/c\ REVISION: SIMU" config.yaml

# Run system-monitor for 10 seconds
python3 main.py > output.log 2>&1 &
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/themes-screenshot-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,7 @@ jobs:
sed -i '/THEME:/c\ THEME: "'"$theme"'"' config.yaml

# For tests there is no real HW: use simulated LCD mode
# Check if theme is for 5"
orientation=$(grep 'DISPLAY_SIZE' "$dir/theme.yaml" | sed 's/ //g')
if [ "$orientation" == "DISPLAY_SIZE:5\"" ]; then
sed -i "/REVISION:/c\ REVISION: SIMU5" config.yaml
else
sed -i "/REVISION:/c\ REVISION: SIMU" config.yaml
fi
sed -i "/REVISION:/c\ REVISION: SIMU" config.yaml

# Run system-monitor for 10 seconds
python3 main.py > output.log 2>&1 &
Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ Supported operating systems : macOS, Windows, Linux (incl. Raspberry Pi), basica
| <img src="res/docs/turing.webp"/> | <img src="res/docs/xuanfang.webp"/> | <img src="res/docs/turing5inch.png"/> |
| also improperly called "revision A" by the resellers | revision B & flagship (with backplate & RGB LEDs) | basic support (no video or storage for now) |

| ✅ Turing Smart Screen 8.8" | ✅ Turing Smart Screen 2.1" |
|---------------------------------------------|------------------------------------------------------------------|
| <img src="res/docs/turing8inch.webp"/> | <img src="res/docs/turing2inch.webp" width="60%" height="60%"/> |
| basic support (no video or storage for now) | basic support (no video or storage for now) |

| ✅ [UsbPCMonitor 3.5" / 5"](https://aliexpress.com/item/1005003931363455.html) | ✅ [Kipye Qiye Smart Display 3.5"](https://www.aliexpress.us/item/3256803899049957.html) |
|-----------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|
| <img src="res/docs/UsbPCMonitor_5inch.webp" width="60%" height="60%"/> | <img src="res/docs/kipye-qiye-35.webp" width="60%" height="60%"/> |
| Unknown manufacturer, visually similar to Turing 3.5" / 5". Original software is `UsbPCMonitor.exe` | Front panel has an engraved inscription "奇叶智显" Qiye Zhixian (Qiye Smart Display) |


### [> What is my smart screen model?](https://github.com/mathoudebine/turing-smart-screen-python/wiki/Hardware-revisions)

**Please note all listed smart screens are different products** designed and produced by different companies, despite having a similar appearance. Their communication protocol is also different.
Expand All @@ -36,20 +42,16 @@ If you haven't received your screen yet but want to start developing your theme

### Not (yet) supported / not tested smart screen models:

| ❔ _Turing Smart Screen 8.8"_ | ❔ _Turing Smart Screen 2.1"_ | ❌ _[(Fuldho?) 3.5" IPS Screen](https://aliexpress.com/item/1005005632018367.html)_ |
|--------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <img src="res/docs/turing8inch.jpg"/> | <img src="res/docs/turing2inch.webp"/> | <img src="res/docs/fuldho_3.5.jpg"/> |
| Very similar protocol than the 5". [Support planned in a future version.](https://github.com/mathoudebine/turing-smart-screen-python/issues/264) | Very similar protocol than the 5". [Support planned in a future version.](https://github.com/mathoudebine/turing-smart-screen-python/issues/264) | Managed by [proprietary Windows software `SmartMonitor.exe`](https://smartdisplay.lanzouo.com/b04jvavkb). Cannot be supported by this project: [see here](https://github.com/mathoudebine/turing-smart-screen-python/discussions/298). Use alternative library https://github.com/braewoods/hidss |

| ❌ _Waveshare [2.1inch](https://www.waveshare.com/wiki/2.1inch-USB-Monitor) / [2.8inch](https://www.waveshare.com/wiki/2.8inch-USB-Monitor) / [5inch](https://www.waveshare.com/wiki/5inch-USB-Monitor) / [7inch](https://www.waveshare.com/wiki/7inch-USB-Monitor) USB-Monitor_ | ❌ _[GUITION Smart screen](https://aliexpress.com/item/1005006169962183.html)_ |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <img src="res/docs/waveshare-21inch-28inch.png"/> | <img src="res/docs/guition.webp"/> |
| Sold on [Waveshare shop](https://www.waveshare.com/2.8inch-usb-monitor.htm) or [Aliexpress](https://fr.aliexpress.com/item/1005006071685067.html). Managed by [proprietary Windows software "Waveshare PC Monitor"](https://github.com/mathoudebine/turing-smart-screen-python/wiki/Vendor-apps#waveshare-pc-monitor---vendor-app). Cannot be supported by this project: needs a firmware. | Managed by [proprietary Windows software "GUITION Smart screen"](https://github.com/mathoudebine/turing-smart-screen-python/wiki/Vendor-apps#guition---vendor-app). Cannot be supported by this project: [see here](https://github.com/mathoudebine/turing-smart-screen-python/issues/426). |

| ❔ _[SmartCool Lcd](https://aliexpress.com/item/1005005443609423.html) / [GeekTeches AD35](https://aliexpress.com/item/1005004858688084.html) / AIDA64 / AX206_ |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| <img src="res/docs/ax206.jpg" width="30%" height="30%" /> <img src="res/docs/geekteches_ad35.jpg" width="30%" height="30%" /> <img src="res/docs/smartcool_lcd.webp" width="30%" height="30%" /> |
| Not supported. Produced by multiple manufacturers, all use the same [Appotech AX206 hacked photo frame firmware](https://github.com/dreamlayers/dpf-ax). Supported by AIDA64 and lcd4linux |
| ❔ _[SmartCool Lcd](https://aliexpress.com/item/1005005443609423.html) / [GeekTeches AD35](https://aliexpress.com/item/1005004858688084.html) / AIDA64 / AX206_ | ❌ _[(Fuldho?) 3.5" IPS Screen](https://aliexpress.com/item/1005005632018367.html)_ |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----|
| <img src="res/docs/ax206.jpg" width="30%" height="30%" /> <img src="res/docs/geekteches_ad35.jpg" width="30%" height="30%" /> <img src="res/docs/smartcool_lcd.webp" width="30%" height="30%" /> | <img src="res/docs/fuldho_3.5.jpg"/> |
| Not supported. Produced by multiple manufacturers, all use the same [Appotech AX206 hacked photo frame firmware](https://github.com/dreamlayers/dpf-ax). Supported by AIDA64 and lcd4linux | Managed by [proprietary Windows software `SmartMonitor.exe`](https://smartdisplay.lanzouo.com/b04jvavkb). Cannot be supported by this project: [see here](https://github.com/mathoudebine/turing-smart-screen-python/discussions/298). Use alternative library https://github.com/braewoods/hidss |


## How to start

Expand Down
12 changes: 6 additions & 6 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ config:

# Theme to use (located in res/themes)
# Use the name of the folder as value
# Choose a theme made for your screen size (see DISPLAY_SIZE inside theme.yaml)
THEME: 3.5inchTheme2

# Hardware sensors reading
Expand Down Expand Up @@ -51,12 +52,11 @@ config:

display:
# Display revision:
# - A for Turing 3.5" and UsbPCMonitor 3.5"/5"
# - B for Xuanfang 3.5" (inc. flagship)
# - C for Turing 5"
# - D for Kipye Qiye Smart Display 3.5"
# - SIMU for 3.5" simulated LCD (image written in screencap.png)
# - SIMU5 for 5" simulated LCD
# - A for Turing 3.5" and UsbPCMonitor 3.5"/5"
# - B for Xuanfang 3.5" (inc. flagship)
# - C for Turing 2.1"/5"/8.8"
# - D for Kipye Qiye Smart Display 3.5"
# - SIMU for simulated display (image written in screencap.png). Width & height will be detected from the theme
# To identify your smart screen: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Hardware-revisions
REVISION: A

Expand Down
Loading
Loading