{"id":28956914,"url":"https://github.com/eseglem/hass-wattbox","last_synced_at":"2025-12-29T04:23:09.780Z","repository":{"id":47562172,"uuid":"177169766","full_name":"eseglem/hass-wattbox","owner":"eseglem","description":"Home Assistant WattBox Component","archived":false,"fork":false,"pushed_at":"2025-05-07T18:40:06.000Z","size":119,"stargazers_count":18,"open_issues_count":7,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-06-20T11:55:39.984Z","etag":null,"topics":["battery","hacs","home-assistant","ups","wattbox"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eseglem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-03-22T15:56:49.000Z","updated_at":"2025-01-28T01:31:46.000Z","dependencies_parsed_at":"2023-11-27T16:38:24.972Z","dependency_job_id":null,"html_url":"https://github.com/eseglem/hass-wattbox","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/eseglem/hass-wattbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseglem%2Fhass-wattbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseglem%2Fhass-wattbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseglem%2Fhass-wattbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseglem%2Fhass-wattbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eseglem","download_url":"https://codeload.github.com/eseglem/hass-wattbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eseglem%2Fhass-wattbox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261561250,"owners_count":23177559,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["battery","hacs","home-assistant","ups","wattbox"],"created_at":"2025-06-23T21:41:11.701Z","updated_at":"2025-12-29T04:23:09.774Z","avatar_url":"https://github.com/eseglem.png","language":"Python","funding_links":["https://www.buymeacoffee.com/eseglem"],"categories":[],"sub_categories":[],"readme":"[![GitHub Activity][commits-shield]][commits]\n[![License][license-shield]](LICENSE)\n\n[![hacs][hacsbadge]][hacs]\n![Project Maintenance][maintenance-shield]\n[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]\n\n[![Discord][discord-shield]][discord]\n[![Community Forum][forum-shield]][forum]\n\n# hass-wattbox\n\n[Home Assistant](home-assistant) Custom Component to integrate with [WattBox][wattbox].\n\nEasiest way to install this component is through [HACS][hacs].\n\n## Configuration\n\n### UI Configuration (Recommended)\n\nStarting with version 0.20.0, this integration supports UI-based configuration through the Home Assistant interface:\n\n1. Go to Configuration → Integrations\n2. Click \"Add Integration\"\n3. Search for \"WattBox\"\n4. Enter your WattBox connection details:\n   - **Host**: IP address of your WattBox device\n   - **Port**: Port number (default 80 for HTTP, 22/23 for SSH)\n   - **Username**: Authentication username (default: wattbox)\n   - **Password**: Authentication password (default: wattbox)\n   - **Name**: Friendly name for your WattBox device\n\nEach WattBox will now appear as a **device** in Home Assistant with all its entities (sensors, switches, etc.) grouped under it.\n\n### YAML Configuration (Legacy)\n\nConfiguration through `configuration.yaml` is still supported for backward compatibility.\n\nExample Config:\n\n```yaml\nwattbox:\n- name: WattBox-HTTP\n  host: !secret wattbox1_ip\n  port: 80\n  username: !secret wattbox1_username\n  password: !secret wattbox1_password\n  name_regexp: \"^Fixed Prefix (.*)$\"\n  skip_regexp: \"SKIP\"\n  scan_interval: 00:00:10\n- name: WattBox-SSH\n  host: !secret wattbox2_ip\n  port: 22\n  username: !secret wattbox2_username\n  password: !secret wattbox2_password\n  scan_interval: 00:00:20\n  resources:\n  - auto_reboot\n  - mute\n  - safe_voltage_status\n  - current_value\n  - power_value\n  - voltage_value\n```\n\nConfiguration Options:\n\n- **`host`**: Host IP of the WattBox (Required)\n- **`name`**: Name for the WattBox (Default WattBox)\n- **`port`**: Port of the HTTP interface (Default 80)\n- **`username`**: Username for authentication (Default wattbox)\n- **`password`**: Password for authentication (Default wattbox)\n- **`scan_interval`**: A time interval run updates at (Default 30s, format HH:MM:SS)\n- **`resources`**: A list of resources to enable (Default all of them)\n- **`name_regexp`**: A regexp to extract the name to use for the outlet instead of just the index. If there is a match group, it is used, else the whole match is used.\n- **`skip_regexp`**: A regexp to use that, if the outlet name matches, the outlet is not added as a switch entity.\n\nResources:\n\n- audible_alarm\n- auto_reboot\n- battery_health\n- battery_test\n- cloud_status\n- has_ups\n- mute\n- power_lost\n- safe_voltage_status\n- battery_charge\n- battery_load\n- current_value\n- est_run_time\n- power_value\n- voltage_value\n\nBe 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. You can use the `skip_regexp` option for those outlets.\n\nMaster 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. If any outlets on a wattbox are skipped via `skip_regexp` then\nthe master switch for that wattbox will also not be added as an entity.\n\nBased on: [ludeeus/integration_blueprint][blueprint]\n\n\u003c!----\u003e\n\n---\n\n[wattbox]: https://www.snapav.com/shop/en/snapav/wattbox\n[hacs]: https://hacs.xyz/\n[blueprint]: https://github.com/ludeeus/integration_blueprint\n[buymecoffee]: https://www.buymeacoffee.com/eseglem\n[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow\n[commits-shield]: https://img.shields.io/github/last-commit/eseglem/hass-wattbox\n[commits]: https://github.com/eseglem/hass-wattbox/commits/master\n[discord]: https://discord.gg/Qa5fW2R\n[discord-shield]: https://img.shields.io/discord/330944238910963714\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen\n[forum]: https://community.home-assistant.io/\n[license-shield]: https://img.shields.io/github/license/eseglem/hass-wattbox\n[maintenance-shield]: https://img.shields.io/badge/maintainer-Erik%20Seglem%20%40Bedon292-blue\n[hacs]: https://github.com/custom-components/hacs\n[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange\n[home-assistant]: https://github.com/home-assistant/core\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feseglem%2Fhass-wattbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feseglem%2Fhass-wattbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feseglem%2Fhass-wattbox/lists"}