mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 05:06:39 +01:00
Updated tagtype notes (markdown)
@@ -1,4 +1,4 @@
|
||||
### highlight_color
|
||||
### highlight_color \<color code\>
|
||||
|
||||
Optional, by default the highlight color is RED.
|
||||
|
||||
@@ -20,17 +20,37 @@ rain on a weather forecast.
|
||||
| 9| blue |
|
||||
| 10| orange |
|
||||
|
||||
### rotatebuffer
|
||||
### rotatebuffer \<rotation type\>
|
||||
|
||||
|rotatebuffer|rotation|
|
||||
|rotatebuffer|rotation |
|
||||
|:-:|-|
|
||||
| 0 | none |
|
||||
| 1 | 90 degrees |
|
||||
| 2 | 180 degrees |
|
||||
| 3 | 270 degrees |
|
||||
|
||||
### version \<tag file version\>
|
||||
|
||||
Specifies the version of the tagfile. This is used by the AP when updating
|
||||
tags.
|
||||
|
||||
The version starts at 1 and should be incremented each time the file is modified.
|
||||
|
||||
### g5_compression \<FW version\>
|
||||
|
||||
Optional, if present this is the first version of firmware that supported G5 image compression.
|
||||
|
||||
### zlib_compression \<FW version\>
|
||||
|
||||
Optional, if present this is the first version of firmware that supported zlib image compression.
|
||||
|
||||
### usetemplate \<base tag type\>
|
||||
|
||||
Optional, if present *AND* a template for the active content type is not defined in the tagtype file then teh template definition is taken from the specified
|
||||
|
||||
|
||||
### contentids
|
||||
|
||||
### contentids
|
||||
|contentids|rotation|
|
||||
|:-:|-|
|
||||
|1| Today's Date|
|
||||
@@ -60,15 +80,8 @@ rain on a weather forecast.
|
||||
|27| Day Ahead|
|
||||
|28| tag command|
|
||||
|
||||
### g5_compression
|
||||
|
||||
Optional, if present this is the first version of firmware that supported G5 image compression.
|
||||
|
||||
### zlib_compression
|
||||
|
||||
Optional, if present this is the first version of firmware that supported zlib image compression.
|
||||
|
||||
# Weather Forecast Content type
|
||||
# Content Type 8: Weather Forecast
|
||||
|
||||
Example from tagtype 05.json:
|
||||
```Json
|
||||
@@ -89,28 +102,29 @@ Example from tagtype 05.json:
|
||||
}
|
||||
```
|
||||
|
||||
location[0,1] = location x,y<br>
|
||||
location[2] = font for location<br>
|
||||
location[0,1] = location x,y\<br\>
|
||||
location[2] = font for location\<br\>
|
||||
location[3] = font size
|
||||
|
||||
timestamp[0,1] = location x,y<br>
|
||||
timestamp[2] = font for timestamp<br>
|
||||
timestamp[0,1] = location x,y\<br\>
|
||||
timestamp[2] = font for timestamp\<br\>
|
||||
timestamp[3] = font size
|
||||
|
||||
column[0] = number of days<br>
|
||||
column[1] = x of first divider line to right of first column<br>
|
||||
column[0] = number of days\<br\>
|
||||
column[1] = x of first divider line to right of first column\<br\>
|
||||
|
||||
line[0,1] = Start y, end y of vertical line that separates daily entries.
|
||||
|
||||
day[0,1] = day of week x, y <br>
|
||||
day[2] = font used for day of week, wind speed, temp<br>
|
||||
day[3] = y wind speed<br>
|
||||
day[4] = y for temp<br>
|
||||
day[0,1] = day of week x, y \<br\>
|
||||
day[2] = font used for day of week, wind speed, temp\<br\>
|
||||
day[3] = y wind speed\<br\>
|
||||
day[4] = y for temp\<br\>
|
||||
|
||||
wind[0,1] = Start location of wind direction x, y<br>
|
||||
wind[0,1] = Start location of wind direction x, y\<br\>
|
||||
|
||||
icon[0] = x offset of the *CENTER* of the weather icon<br>
|
||||
icon[1] = y offset of the *TOP* of weather icon<br>
|
||||
icon[2] = icon size<br>
|
||||
icon[0] = x offset of the *CENTER* of the weather icon\<br\>
|
||||
icon[1] = y offset of the *TOP* of weather icon\<br\>
|
||||
icon[2] = icon size\<br\>
|
||||
|
||||
rain[0,1] = location for rain fall amount x,y\<br\>
|
||||
|
||||
rain[0,1] = location for rain fall amount x,y<br>
|
||||
|
||||
Reference in New Issue
Block a user