links:smarthome:homey:openepaperlink
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| links:smarthome:homey:openepaperlink [2024-06-09 11:08] – [AP konfigurering] anders_admin | links:smarthome:homey:openepaperlink [2025-11-19 13:11] (current) – [Open ePaper link] anders_admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Open ePaper link ====== | ====== Open ePaper link ====== | ||
| [[https:// | [[https:// | ||
| + | |||
| + | [[https:// | ||
| ===== AP konfigurering ===== | ===== AP konfigurering ===== | ||
| Line 9: | Line 11: | ||
| - AP'n startar om. Hitta den via IP-adressen i din routers lista över klienter. | - AP'n startar om. Hitta den via IP-adressen i din routers lista över klienter. | ||
| - | ==== OpenEpaperLink-appen ==== | + | ==== Alt 1. OpenEpaperLink-appen |
| - Installera Homey-appen OpenEpaperLink. | - Installera Homey-appen OpenEpaperLink. | ||
| - Konfigurera AP'ns IP-adress i OpenEpaperLink-appen. | - Konfigurera AP'ns IP-adress i OpenEpaperLink-appen. | ||
| Line 15: | Line 17: | ||
| - Ev. behöver man starta om OpenEpaperLink-appen. | - Ev. behöver man starta om OpenEpaperLink-appen. | ||
| - | ==== Local-API-appen ==== | + | ==== Alt 2. Local-API-appen |
| - Installera appen i Homey. | - Installera appen i Homey. | ||
| - Skapa ett flow som triggas med Local-API-kortet "GET request received on url". Hitta på ett namn på taggen. | - Skapa ett flow som triggas med Local-API-kortet "GET request received on url". Hitta på ett namn på taggen. | ||
| - | - Skicka | + | - Svara med JSON-strängen |
| - | - Ställ in dispaly-taggen i ePaper-AP' | + | - Ställ in dispaly-taggen i ePaper-AP' |
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Exempel ==== | ||
| + | Example json file: | ||
| + | < | ||
| + | [ | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | {" | ||
| + | ] | ||
| + | </ | ||
| + | |||
| + | ==== Text ==== | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | |||
| + | ==== Paragraph Text ==== | ||
| + | A text, bounded by a box. The text flows to the next lines (breaking on spaces, hyphen and CR). Only works for .vlw bitmap fonts. Available from release 2.06 | ||
| + | |||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | Default line height = 1. Try values like 1.25 for a slightly bigger line spacing. | ||
| + | |||
| + | ==== Graphics ==== | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | { " | ||
| + | |||
| + | ==== Image ==== | ||
| + | { " | ||
| + | Places a JPG image (RGB, so no grayscale (can be tricky in some graphic software), baseline (non progressive)), | ||
| + | |||
| + | ==== Parameters ==== | ||
| + | x: X pixel coordinate (x1, x2 and x3 being multiple positions) | ||
| + | y: Y pixel coordinate (y1, y2 and y3 being multiple positions) | ||
| + | width: Width in pixels | ||
| + | height: Height in pixels | ||
| + | " | ||
| + | " | ||
| + | size: Font size | ||
| + | color: see below | ||
| + | bordercolor, | ||
| + | alignment: One of 0 (left), 1 (center) and 2 (right) (note that the x,y coordinates are also from the top left/ | ||
| + | When entering coordinates, | ||
| + | |||
| + | ==== Color parameter ==== | ||
| + | 0 or " | ||
| + | 1 or " | ||
| + | 2 or " | ||
| + | 3 or " | ||
| + | 4 or " | ||
| + | 5 or " | ||
| + | 6 or " | ||
| + | 7 or " | ||
| + | 8 or " | ||
| + | 9 or " | ||
| + | 10 or " | ||
| + | "# | ||
| + | |||
| + | ==== Fonts ==== | ||
| + | === Bitmap fonts === | ||
| + | any fonts in the /fonts folder: | ||
| + | |||
| + | bahnschrift20.vlw upper case, lower case, numbers, and äöüßÄÖÜåÅ!\"# | ||
| + | bahnschrift30.vlw upper case, lower case, numbers, and äöüßÄÖÜåÅ!\"# | ||
| + | bahnschrift70.vlw only 0123456789. | ||
| + | calibrib30.vlw upper case, lower case, numbers, and äöüßÄÖÜåÅ!\"# | ||
| + | twcondensed20.vlw Only SUMOTWEHFRAZDIV0123456789. Use for weekday names and numbers. | ||
| + | If you want to add extra fonts to this list, you can convert them from Truetype by using Processing (https:// | ||
| + | |||
| + | === Truetype fonts === | ||
| + | { " | ||
| + | |||
| + | Put the truetype font in the /fonts folder. Make sure you select your truetype font file carefully: some are very big, and that will not fit in the file system. | ||
| + | |||
| + | example: { " | ||
| + | |||
| + | Tip: if you want icons and symbols, the Font Awesome font works quite well. | ||
| + | |||
| + | ==== Rotate Screen ==== | ||
| + | It is possible to rotate the complete display: | ||
| + | |||
| + | { " | ||
| + | The possible Values are 0 for default orientation, | ||
links/smarthome/homey/openepaperlink.1717931324.txt.gz · Last modified: by anders_admin
