[GH-ISSUE #481] Feature request: Descriptions for Elements in Tagtype Template #3064

Closed
opened 2026-03-20 22:07:10 +01:00 by sascha_hemi · 3 comments
Owner

Originally created by @MagnusErler on GitHub (Jul 6, 2025).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/481

Is your feature request related to a problem? Please describe.
Currently, the tagtype templates contain various numbered sections (e.g., "1", "2", "4", "16", etc.) with keys and data structures that are not self-explanatory. It is unclear what these numbered sections represent and what options or parameters are valid for each element. This makes it difficult to understand, edit, or extend the templates, especially for new developers or users unfamiliar with the format.

Describe the solution you'd like
I would like to have a description or schema for each element and section in the tagtype template. This could be:

  • Inline comments
  • A separate documentation file
  • A formal JSON schema with field descriptions

For example:

  • What does "1" represent? What options can be used within it?
  • What are the possible keys (like weekday, date, location, wind, etc.) and what does each parameter in their arrays mean?

Describe alternatives you've considered
I’ve looked for existing documentation but haven’t found anything detailed for the specific element IDs and their possible configurations.

Reverse-engineering the structure by trial and error, but this is time-consuming.

Originally created by @MagnusErler on GitHub (Jul 6, 2025). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/481 **Is your feature request related to a problem? Please describe.** Currently, the tagtype templates contain various numbered sections (e.g., "1", "2", "4", "16", etc.) with keys and data structures that are not self-explanatory. It is unclear what these numbered sections represent and what options or parameters are valid for each element. This makes it difficult to understand, edit, or extend the templates, especially for new developers or users unfamiliar with the format. **Describe the solution you'd like** I would like to have a description or schema for each element and section in the tagtype template. This could be: - Inline comments - A separate documentation file - A formal JSON schema with field descriptions For example: - What does "1" represent? What options can be used within it? - What are the possible keys (like weekday, date, location, wind, etc.) and what does each parameter in their arrays mean? **Describe alternatives you've considered** I’ve looked for existing documentation but haven’t found anything detailed for the specific element IDs and their possible configurations. Reverse-engineering the structure by trial and error, but this is time-consuming.
sascha_hemi added the enhancement label 2026-03-20 22:07:10 +01:00
Author
Owner

@atc1441 commented on GitHub (Jul 6, 2025):

Hey,
The corresponding descriptions are here: https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L337

<!-- gh-comment-id:3041859384 --> @atc1441 commented on GitHub (Jul 6, 2025): Hey, The corresponding descriptions are here: https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp#L337
Author
Owner

@nlimper commented on GitHub (Jul 6, 2025):

The id's in the tagtype json refer to the id's of the content cards (listed in https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/wwwroot/content_cards.json)

The content within template for every id the is just a bunch of values which are used to draw the content in https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp

<!-- gh-comment-id:3041864401 --> @nlimper commented on GitHub (Jul 6, 2025): The id's in the tagtype json refer to the id's of the content cards (listed in https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/wwwroot/content_cards.json) The content within template for every id the is just a bunch of values which are used to draw the content in https://github.com/OpenEPaperLink/OpenEPaperLink/blob/master/ESP32_AP-Flasher/src/contentmanager.cpp
Author
Owner

@nlimper commented on GitHub (Jul 6, 2025):

BTW, I'm not planning to write documentation for this, and I don't think anyone will, so I'm closing this. But of course feel free to add it to the wiki or write the documentation. :-)

<!-- gh-comment-id:3041868435 --> @nlimper commented on GitHub (Jul 6, 2025): BTW, I'm not planning to write documentation for this, and I don't think anyone will, so I'm closing this. But of course feel free to add it to the wiki or write the documentation. :-)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#3064