Skip to content

eseglem/hass-wattbox

Repository files navigation

GitHub Activity License

hacs Project Maintenance BuyMeCoffee

Discord Community Forum

hass-wattbox

Home Assistant Component to integrate with WattBox.

Easiest way to install this component is through HACS.

Configuration through configuration.yaml, not available in UI yet.

Example Config:

wattbox:
- host: 192.168.1.100
  name: wattbox1
  username: username1
  password: password1
  scan_interval: 00:00:10
- host: 192.168.1.101
  name: wattbox2
  username: username2
  password: password2
  scan_interval: 00:00:20
  resources:
  - auto_reboot
  - mute
  - safe_voltage_status
  - current_value
  - power_value
  - voltage_value

Configuration Options:

  • host: Host IP of the WattBox (Required)
  • port: Port of the HTTP interface (Default 80)
  • username: Username for authentication (Default wattbox)
  • password: Password for authentication (Default wattbox)
  • name: Name for the WattBox (Default wattbox)
  • resources: A list of resources to enable (Default all of them)
  • scan_interval: A time interval run updates at (Default 30s, format HH:MM:SS)

Resources:

  • audible_alarm
  • auto_reboot
  • battery_health
  • battery_test
  • cloud_status
  • has_ups
  • mute
  • power_lost
  • safe_voltage_status
  • battery_charge
  • battery_load
  • current_value
  • est_run_time
  • power_value
  • voltage_value

Master switch will turn on / off all the switches that the physical switch on the box does. You can config that through the UI on the wattbox directly. If ALL of the switches controlled by Master are on, then Master will be on. Otherwise it will be off.

Be careful, if the WattBox controls the power to its own networking equipment you can turn it off and not have remote access until you fix it. You may even have to plug it in elsewhere to get back online and turn that outlet back on in HA.

Based on custom-components/integration_blueprint