IoT Devices · Super Screen
Content and playback control
Send webpages, video, documents and plugin parameters to a selected region.
Send a web address
Use the web wrapper for a URL. Direct MP4 and PDF addresses use the player’s media or document viewer. The former display wrapper is obsolete. These examples are command data; the transport envelope is described in the integration chapter.
{"web":{"area":"a1","url":"https://iotdevices.org/zh/super-screen","interval":60}}
{"web":{"area":"a1"}}| Field | Behavior |
|---|---|
| url · required | Page or direct media address. Omit it to query current content. |
| method / data | GET by default; POST accepts a raw request body. |
| header / cookie | Headers affect the initial request only. Use scoped credentials for private content. |
| vars / interval | vars persists per region. interval is seconds; zero disables automatic refresh. |
| cache · per request | cache: 0 bypasses caching and removes an existing cache entry for that URL. |
Control the current content
control always requires area. Put parameters directly inside it, without a commands layer. Page navigation applies to documents, volume and seek to audio/video, and refresh to webpages. An incompatible action returns unsupported. delta: 1 makes numeric values relative; zoom uses a multiplier.
{"control":{"area":"a1","refresh":"force"}}
{"control":{"area":"a1","page":3}}
{"control":{"area":"a1","volume":40,"action":"play"}}
{"control":{"area":"a1","delta":1,"seek":15}}
{"control":{"area":"a1","send":{"notice":"Inspection complete"}}}