HomeWizard P1 meter
Power, energy and water from the local API (v1).
In a dashboard file: a connection with "driver": "homewizardp1", its settings in config, and what a data source of it reads in that data source’s params (Connections and data sources).
Example
Section titled “Example”A dashboard with a connection of this driver, named p1, and a tile that reads it. Any number of tiles can read the same connection. In the editor, the values of params are picked from what the connection lists; ids in the example are made up.
{ "schemaVersion": 4, "connections": { "p1": { "driver": "homewizardp1", "config": { "host": "192.168.1.70" } } }, "screens": [ { "name": "Home", "tiles": [ { "type": "value", "label": "Power", "layout": { "x": 1, "y": 1, "width": 2, "height": 2 }, "dataSource": { "connection": "p1", "params": { "tag": "device", "tagValue": "power", "attribute": "power" } }, "options": { "unit": "W" } } ] } ]}Settings (config)
Section titled “Settings (config)”| Field | Type | Default | What |
|---|---|---|---|
host |
text | required | The meter, for example 192.168.1.70. |
port |
whole number, 1 to 65535 | 80 when left out. | |
refreshInterval |
number, above 0 | Seconds between refreshes. |
What a data source reads (params)
Section titled “What a data source reads (params)”| Field | Type | Default | What |
|---|---|---|---|
tag |
device |
required | Tag. Readings are told apart by their device. |
tagValue |
text | required | Meter. The electricity meter, or the water meter connected to it. |
attribute |
text | required | Reading. Which of the meter’s values. |