diff --git a/tagtype-notes.md b/tagtype-notes.md index 1d03410..b910717 100644 --- a/tagtype-notes.md +++ b/tagtype-notes.md @@ -1,4 +1,4 @@ -### highlight_color +### highlight_color \ Optional, by default the highlight color is RED. @@ -20,17 +20,37 @@ rain on a weather forecast. | 9| blue | | 10| orange | -### rotatebuffer +### rotatebuffer \ -|rotatebuffer|rotation| +|rotatebuffer|rotation | |:-:|-| | 0 | none | | 1 | 90 degrees | | 2 | 180 degrees | | 3 | 270 degrees | +### 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 \ + +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. + +### usetemplate \ + +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
-location[2] = font for location
+location[0,1] = location x,y\ +location[2] = font for location\ location[3] = font size -timestamp[0,1] = location x,y
-timestamp[2] = font for timestamp
+timestamp[0,1] = location x,y\ +timestamp[2] = font for timestamp\ timestamp[3] = font size -column[0] = number of days
-column[1] = x of first divider line to right of first column
+column[0] = number of days\ +column[1] = x of first divider line to right of first column\ line[0,1] = Start y, end y of vertical line that separates daily entries. -day[0,1] = day of week x, y
-day[2] = font used for day of week, wind speed, temp
-day[3] = y wind speed
-day[4] = y for temp
+day[0,1] = day of week x, y \ +day[2] = font used for day of week, wind speed, temp\ +day[3] = y wind speed\ +day[4] = y for temp\ -wind[0,1] = Start location of wind direction x, y
+wind[0,1] = Start location of wind direction x, y\ -icon[0] = x offset of the *CENTER* of the weather icon
-icon[1] = y offset of the *TOP* of weather icon
-icon[2] = icon size
+icon[0] = x offset of the *CENTER* of the weather icon\ +icon[1] = y offset of the *TOP* of weather icon\ +icon[2] = icon size\ + +rain[0,1] = location for rain fall amount x,y\ -rain[0,1] = location for rain fall amount x,y