WebDataWidget needs documentation #141

Open
opened 2024-11-30 06:10:00 +00:00 by lyricnz · 1 comment
lyricnz commented 2024-11-30 06:10:00 +00:00 (Migrated from github.com)

It's not clear what it does, or how to make it work - especially for new users. The only information is a bit of a comment in config.h

// WEB DATA CONFIGURATION
// #define WEB_DATA_WIDGET_URL "" // Use this to make your own widgets using an API/Webdata source
// #define WEB_DATA_STOCK_WIDGET_URL "http://<insert host here>/stocks.php?stocks=SPY,VT,GOOG,TSLA,GME" // Use this as an alternative to the stock ticker widget
It's not clear what it does, or how to make it work - especially for new users. The only information is a bit of a comment in config.h ``` // WEB DATA CONFIGURATION // #define WEB_DATA_WIDGET_URL "" // Use this to make your own widgets using an API/Webdata source // #define WEB_DATA_STOCK_WIDGET_URL "http://<insert host here>/stocks.php?stocks=SPY,VT,GOOG,TSLA,GME" // Use this as an alternative to the stock ticker widget ```
ericthelin commented 2024-12-04 02:18:26 +00:00 (Migrated from github.com)

Not exactly docs but here is some useful info
Json that renders the old stock tickers (WEB_DATA_STOCK_WIDGET_URL): https://gist.github.com/ericthelin/b0d64440d88a791e97d934dd9dc968c4
The php script that generated the stock json: https://gist.github.com/ericthelin/591017606d33c37173d5d3a49fb7fa1a

The test json based on system stats: https://gist.github.com/ericthelin/ee080c7ad1faa8b890518b584bb0c7b4
The php script for that json: https://gist.github.com/ericthelin/591017606d33c37173d5d3a49fb7fa1a

Not exactly docs but here is some useful info Json that renders the old stock tickers (WEB_DATA_STOCK_WIDGET_URL): https://gist.github.com/ericthelin/b0d64440d88a791e97d934dd9dc968c4 The php script that generated the stock json: https://gist.github.com/ericthelin/591017606d33c37173d5d3a49fb7fa1a The test json based on system stats: https://gist.github.com/ericthelin/ee080c7ad1faa8b890518b584bb0c7b4 The php script for that json: https://gist.github.com/ericthelin/591017606d33c37173d5d3a49fb7fa1a
Sign in to join this conversation.
No description provided.