Wiki-infotag rev. 29 (by Sebastius)

Gets a specific wikipage on a wiki, selects a certain heading, and parses the content (image, text) to the display). Infotag badges!

Configure using:

badge.nvs_set_str("owner", "name", "Plank 2") badge.nvs_set_str('badge', 'setup.state', '2') badge.nvs_set_str("badge", "wifi.ssid", "SSID") badge.nvs_set_str("badge", "wifi.password", "PASSWORD") badge.nvs_set_str('wiki', 'url', 'https://revspace.nl') badge.nvs_set_str('wiki', 'page', 'Gallerij') badge.nvs_set_str('boot', 'splash', 'wiki_infotag')

Still a fast moving target, coming up with cool features every few minutes.

Requires latest Git Pull firmware due to new urequests.py redirect handling and awesome png_info stuff from tsd!

Rev 22: Dies a bit more graceful when unable to connect to WIFI Rev 21: Added a self-important service to install the app as the default boot. Rev 18: Flexible layout based on image size. Rev 16: Fixed many off by one bugs. Also will get the final item on a page now. Rev 12: Get the site and page from NVS. Rev 9: Deepsleep for about 30 minutes (so every 30 minutes it updates the info) Rev 7: Autoupdating built in Rev 3: Images now load

Category: graphics
Status: working
Vote Comment Date
No votes yet :(
Compatibility
  • SHA2017 Badge: working
  • Hacker Hotel 2019: working
Dependencies
  • No dependencies found
Dependants
  • No dependants found
File Last edited Size in bytes
__init__.py 2017-09-29 17:01:45 4490
service.json 2017-09-29 17:01:45 100
service.py 2017-09-29 17:01:45 203
README.md 2019-09-06 18:13:43 1160