State
Widgets change state as conditions change:
- static: the initial state while waiting for data
- dynamic: displayed when data arrives
- historical: displayed when active power is below the port threshold
Set the state query parameter in the widget URL.
- src="https://widget.plugport.no/all/netboard"
+ src="https://widget.plugport.no/all/netboard?state=historical"
Example
<iframe
src="https://widget.plugport.no/all/netboard?state=historical"
title="Plug widget"
width="580px"
height="400px"
/>