Skip to content

HomeWizard Binding ​

The HomeWizard binding provides access to several HomeWizard devices by using the local API of those devices.

Installation ​

There are two important points to note:

  1. For API v1, the local API of each device must be enabled.
  2. For API v2, a bearer token needs to be obtained from the device.

See https://api-documentation.homewizard.com/docs/getting-started for a more detailed description of the API and for instructions on how to enable/use the API versions.

Fixed Address ​

The devices support mDNS discovery, but the binding does not support that yet. As a result, the devices should be reachable through a hostname or a fixed IP address. Since the devices themselves have no option to set a fixed IP address you will need a different solution, for instance having your router hand out an IP address based upon the MAC address of the devices.

Supported Things ​

The binding offers Things, providing access to all the supported HomeWizard devices.

ThingDeviceDescription
hwe-p1P1 MeterReads total and current energy usage and total gas usage (v1 and v2).
hwe-sktEnergy SocketReads total and current energy usage. Controls power switch, lock, and ring brightness (v1).
hwe-wtrWatermeterReads total and current water usage (v1).
hwe-kwhkWh MeterReads total and current energy usage (v1 and v2).
hwe-batPlug-In BatteryReads total and current energy usage and the current charge (v2).
p1_wifi_meterWi-Fi P1 Meter[Deprecated] Reads total and current energy usage and total gas usage.
energy_socketWi-Fi Energy Socket[Deprecated] Reads total and current energy usage. Controls power switch, lock, and ring brightness.
watermeterWi-Fi Watermeter[Deprecated] Reads total and current water usage.

Discovery ​

Auto discovery is not available for this binding.

Thing Configuration ​

All devices can be configured through the web interface.

ParameterRequiredDefaultDescription
ipAddress*This specifies the IP address (or host name) where the meter can be found.
refreshDelay5This specifies the interval in seconds used by the binding to read updated values from the meter.
apiVersion*v1The API version to be used.
bearerTokenThe bearer token to be used when using API v2.

Note that update rate of the P1 Meter itself depends on the frequency of the telegrams it receives from the Smart Meter. For DSMR5 meters this is generally once per second, for older versions the frequency is much lower.

Channels ​

HWE-P1 ​

Channel IDItem TypeDescriptionAvailability
powerNumber:PowerThe active power in Watt.v1, 2.0.0
power_l1Number:PowerThe active power for phase 1 in Watt.v1, 2.0.0
power_l2Number:PowerThe active power for phase 2 in Watt.v1, 2.0.0
power_l3Number:PowerThe active power for phase 3 in Watt.v1, 2.0.0
voltage_l1Number:ElectricPotentialThe active voltage for phase 1 in Volt.v1, 2.0.0
voltage_l2Number:ElectricPotentialThe active voltage for phase 2 in Volt.v1, 2.0.0
voltage_l3Number:ElectricPotentialThe active voltage for phase 3 in Volt.v1, 2.0.0
current_l1Number:ElectricCurrentThe active current for phase 1 in Ampere.v1, 2.0.0
current_l2Number:ElectricCurrentThe active current for phase 2 in Ampere.v1, 2.0.0
current_l3Number:ElectricCurrentThe active current for phase 3 in Ampere.v1, 2.0.0
energy_importNumber:EnergyThe total energy usage meter reading in kWh.v1, 2.0.0
energy_import_t1Number:EnergyThe energy usage meter reading for tariff 1 in kWh.v1, 2.0.0
energy_import_t2Number:EnergyThe energy usage meter reading for tariff 2 in kWh.v1, 2.0.0
energy_exportNumber:EnergyThe total energy feed-in meter reading in kWh.v1, 2.0.0
energy_export_t1Number:EnergyThe energy feed-in meter reading for tariff 1 in kWh.v1, 2.0.0
energy_export_t2Number:EnergyThe energy feed-in meter reading for tariff 2 in kWh.v1, 2.0.0
reactive_powerNumberThe active reactive power in Volt-Ampere reactive.v1, 2.0.0
apparent_powerNumberThe active apparent power in Volt-Ampere.v1, 2.0.0
power_factorNumber:DimensionlessThe active power factor.v1, 2.0.0
frequencyNumber:FrequencyThe active frequency in Hertz.v1, 2.0.0
total_gasNumber:VolumeThe most recently reported total imported gas in m^3.v1, 2.0.0
gas_timestampDateTimeThe time stamp of the total_gas measurement.v1, 2.0.0
power_failuresNumberThe number of power failures detected by meter.v1, 2.0.0
long_power_failuresNumberThe number of 'long' power failures detected by meter.v1, 2.0.0
tariffNumberThe active tariff, matches one of the totals.v1, 2.0.0
batteries_modeStringThe control mode of the Plug-In Battery. Supported modes: "zero", "standby" and "to_full". In 2.2.0, modes "zero_charge_only" and "zero_discharge_only" are also supported.v1, 2.1.0
batteries_countNumberThe number of connected Plug-In Batteries.v1, 2.2.0
batteries_powerNumber:PowerThe current combined power consumption/production of the controlled Plug-In Batteries.v1, 2.1.0
batteries_target_powerNumber:PowerThe target power consumption/production of the controlled Plug-In Batteries.v1, 2.1.0
batteries_max_consumptionNumber:PowerThe maximum allowed consumption power of the controlled Plug-In Batteries.v1, 2.1.0
batteries_max_productionNumber:PowerThe maximum allowed production power of the controlled Plug-In Batteries.v1, 2.1.0
wifi_ssidStringThe SSID of the Wi-Fi network.v1, 2.0.0
wifi_rssiNumber:DimensionlessThe signal strength of the Wi-Fi network.v1, 2.0.0
uptimeNumber:TimeThe uptime of the device in seconds.v1, 2.0.0
cloud_enabledSwitchThe state of the cloud communication.v1, 2.0.0
status_led_brightnessNumber:DimensionlessThe brightness of the status LED in percent.v1, 2.0.0

HWE-KWH ​

Channel IDItem TypeDescriptionAvailability
powerNumber:PowerThe active power in Watt.v1, 2.0.0
power_l1Number:PowerThe active power for phase 1 in Watt.v1, 2.0.0
power_l2Number:PowerThe active power for phase 2 in Watt.v1, 2.0.0
power_l3Number:PowerThe active power for phase 3 in Watt.v1, 2.0.0
voltage_l1Number:ElectricPotentialThe active voltage for phase 1 in Volt.v1, 2.0.0
voltage_l2Number:ElectricPotentialThe active voltage for phase 2 in Volt.v1, 2.0.0
voltage_l3Number:ElectricPotentialThe active voltage for phase 3 in Volt.v1, 2.0.0
currentNumber:ElectricCurrentThe active current in Ampere.v1, 2.0.0
current_l1Number:ElectricCurrentThe active current for phase 1 in Ampere.v1, 2.0.0
current_l2Number:ElectricCurrentThe active current for phase 2 in Ampere.v1, 2.0.0
current_l3Number:ElectricCurrentThe active current for phase 3 in Ampere.v1, 2.0.0
energy_importNumber:EnergyThe total energy usage meter reading in kWh.v1, 2.0.0
energy_exportNumber:EnergyThe total energy feed-in meter reading in kWh.v1, 2.0.0
reactive_powerNumberThe active reactive power in Volt-Ampere reactive.v1, 2.0.0
apparent_powerNumberThe active apparent power in Volt-Ampere.v1, 2.0.0
power_factorNumber:DimensionlessThe active power factor.v1, 2.0.0
frequencyNumber:FrequencyThe active frequency in Hertz.v1, 2.0.0
batteries_modeStringThe control mode of the Plug-In Battery. Supported modes: "zero", "standby" and "to_full". In 2.2.0, modes "zero_charge_only" and "zero_discharge_only" are also supported.v1, 2.1.0
batteries_countNumberThe number of connected Plug-In Batteries.v1, 2.2.0
batteries_powerNumber:PowerThe current combined power consumption/production of the controlled Plug-In Batteries.v1, 2.1.0
batteries_target_powerNumber:PowerThe target power consumption/production of the controlled Plug-In Batteries.v1, 2.1.0
batteries_max_consumptionNumber:PowerThe maximum allowed consumption power of the controlled Plug-In Batteries.v1, 2.1.0
batteries_max_productionNumber:PowerThe maximum allowed production power of the controlled Plug-In Batteries.v1, 2.1.0
wifi_ssidStringThe SSID of the Wi-Fi network.v1, 2.0.0
wifi_rssiNumber:DimensionlessThe signal strength of the Wi-Fi network.v1, 2.0.0
uptimeNumber:TimeThe uptime of the device in seconds.v1, 2.0.0
cloud_enabledSwitchThe state of the cloud communication.v1, 2.0.0
status_led_brightnessNumber:DimensionlessThe brightness of the status LED in percent.v1, 2.0.0

HWE-SKT ​

Channel IDItem TypeDescriptionAvailability
powerNumber:PowerThe active power in Watt.v1
voltageNumber:ElectricPotentialThe active voltage in Volt.v1
currentNumber:ElectricCurrentThe active current in Ampere.v1
energy_importNumber:EnergyThe total energy usage meter reading in kWh.v1
energy_exportNumber:EnergyThe total energy feed-in meter reading in kWh.v1
reactive_powerNumberThe active reactive power in Volt-Ampere reactive.v1
apparent_powerNumberThe active apparent power in Volt-Ampere.v1
power_factorNumber:DimensionlessThe active power factor.v1
frequencyNumber:FrequencyThe active frequency in Hertz.v1
power_switchSwitchAccess to the power switch of the Energy Socket.v1
power_lockSwitchAccess to the power lock of the Energy Socket.v1
ring_brightnessNumber:DimensionlessAccess to the brightness of the ring of the Energy Socket.v1
wifi_ssidStringThe SSID of the Wi-Fi network.v1
wifi_rssiNumber:DimensionlessThe signal strength of the Wi-Fi network.v1
cloud_enabledSwitchThe state of the cloud communication.v1

HWE-BAT ​

Channel IDItem TypeDescriptionAvailability
powerNumber:PowerThe active power in Watt.2.0.0
voltageNumber:ElectricPotentialThe active voltage in Volt.2.0.0
currentNumber:ElectricCurrentThe active current in Ampere.2.0.0
energy_importNumber:EnergyThe total energy usage meter reading in kWh.2.0.0
energy_exportNumber:EnergyThe total energy feed-in meter reading in kWh.2.0.0
frequencyNumber:FrequencyThe active frequency in Hertz.2.0.0
state_of_chargeNumber:DimensionlessAccess to the current state of charge in percent.2.0.0
cyclesNumber:DimensionlessAccess to the number of battery cycles.2.0.0
wifi_ssidStringThe SSID of the Wi-Fi network.2.0.0
wifi_rssiNumber:DimensionlessThe signal strength of the Wi-Fi network.2.0.0
uptimeNumber:TimeThe uptime of the device in seconds.2.0.0
cloud_enabledSwitchThe state of the cloud communication.2.0.0
status_led_brightnessNumber:DimensionlessThe brightness of the status LED in percent.2.0.0

HWE-WTR ​

Channel IDItem TypeDescriptionAvailability
total_literNumber:VolumeTotal water usage in cubic meters.v1
active_literNumber:VolumetricFlowRateThe active water usage in liters per minute.v1
wifi_ssidStringThe SSID of the Wi-Fi network.v1
wifi_rssiNumber:DimensionlessThe signal strength of the Wi-Fi network.v1
cloud_enabledSwitchThe state of the cloud communication.v1

Full Example ​

homewizard.things Example ​

dsl
Thing homewizard:hwe-p1:my_p1 [ ipAddress="192.178.1.67", refreshDelay=5, apiVersion=1 ]
Thing homewizard:hwe-skt:my_socket [ ipAddress="192.178.1.61", refreshDelay=5, apiVersion=1 ]
Thing homewizard:hwe-wtr:my_water [ ipAddress="192.178.1.27", refreshDelay=15, apiVersion=1 ]

homewizard.items Example ​

dsl
Number:Energy Energy_Import_T1 "Imported Energy T1 [%.0f kWh]" {channel="homewizard:hwe-p1:my_meter:energy#energy_import_t1" }
Number:Power  Active_Power_L1  "Active Power Phase 1 [%.1f W]" {channel="homewizard:hwe-p1:my_meter:energy#power_l1" }
DateTime      Gas_Update       "Gas Update Time [%1$tH:%1$tM]" {channel="homewizard:hwe-p1:my_meter:energy#gas_timestamp" }