Updated tagtype notes (markdown)

Skip Hansen
2026-02-17 10:49:18 -08:00
parent 1f75892dd1
commit 0622512c87

@@ -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>