- Since:
-
- 0.8.0 (2012)
- Source:
Example
Show temperature in degree celcius

<info format="%.1f °C"> <label>outside temperature</label> <address transform="DPT:9.001">0/0/0</address> </info>
Requires
Methods
-
<inner> create(element, path, flavour, type)
-
Creates the widget HTML code
Parameters:
Name Type Description elementElement DOM-Element
pathString internal path of the widget
flavourString Flavour of the widget
typeString Page type (2d, 3d, ...)
- Source:
Returns:
HTML code
- Type
- String
-
<inner> update(address, value)
-
Handles updates of incoming data for this widget
Parameters:
Name Type Description addressString Source address of the incoming data
valueString Incoming data
- Source: