{"id":16505718,"url":"https://github.com/drc38/dius_powersensor","last_synced_at":"2025-03-21T08:31:11.234Z","repository":{"id":37149792,"uuid":"502321398","full_name":"drc38/DiUS_Powersensor","owner":"drc38","description":"Home Assistant Custom Integration for DiUS Powersensors","archived":false,"fork":false,"pushed_at":"2025-02-28T22:58:56.000Z","size":445,"stargazers_count":9,"open_issues_count":12,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-01T04:17:37.330Z","etag":null,"topics":["hacs-custom","homeassistant","powersensor"],"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/drc38.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-11T10:49:42.000Z","updated_at":"2025-01-08T10:38:46.000Z","dependencies_parsed_at":"2023-02-15T13:01:31.778Z","dependency_job_id":"3396dd7f-9f56-47e5-9306-3be91188653f","html_url":"https://github.com/drc38/DiUS_Powersensor","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drc38%2FDiUS_Powersensor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drc38%2FDiUS_Powersensor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drc38%2FDiUS_Powersensor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drc38%2FDiUS_Powersensor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drc38","download_url":"https://codeload.github.com/drc38/DiUS_Powersensor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244122437,"owners_count":20401427,"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":["hacs-custom","homeassistant","powersensor"],"created_at":"2024-10-11T15:12:58.597Z","updated_at":"2025-03-21T08:31:09.701Z","avatar_url":"https://github.com/drc38.png","language":"Python","readme":"# DiUS Powersensor\n\n![coverage badge](./coverage.svg)\n[![GitHub Release][releases-shield]][releases]\n[![License][license-shield]](LICENSE)\n\n[![hacs][hacsbadge]][hacs]\n[![Project Maintenance][maintenance-shield]][user_profile]\n[![hacs_downloads](https://img.shields.io/github/downloads/drc38/dius_powersensor/latest/total)](https://github.com/drc38/dius_powersensor/releases/latest)\n\n[![Discord][discord-shield]][discord]\n[![Community Forum][forum-shield]][forum]\n\n# Powersensor Home Assistant full integration prototype\n\nThis is an attempt at a standalone [Powersensor](https://www.powersensor.com.au) integration with Home Assistant. Kudos to [@izevaka](https://github.com/izevaka/powersensor-home-assistant) for figuring out the sensor interface.\n\n# TO DO\n\n1. Make the connection more robust (reconnect/close etc)\n1. Add extra sensors\n1. Improve testing\n\n# Installation\n\n## HACS\n\nHACS is recommended as it provides automated install and will notify you when updates are available.\n\nThis assumes you have [HACS](https://github.com/hacs/integration) installed and know how to use it. If you need help with this, go to the HACS project documentation.\n\nAdd custom repository in _HACS_\n\n1. Click on HACS in your menu to open the HACS panel, then click on integrations (https://your.domain/hacs/integrations).\n1. Click on the 3 dots in the top right corner.\n1. Select \"Custom repositories\"\n1. Add the URL to the repository: `https://github.com/drc38/DiUS_Powersensor`\n1. Select the integration category.\n1. Click the \"ADD\" button.\n\nOnce done, you should see the new repository, appearing in a list like this. Click the **Download** button\n\n## Manual Installation\n\n1. Using the tool of choice open the directory (folder) for your HA configuration (where you find `configuration.yaml`).\n2. If you do not have a `custom_components` directory (folder) there, you need to create it.\n3. In the `custom_components` directory (folder) create a new folder called `dius`.\n4. Download _all_ the files from the `custom_components/dius/` directory (folder) in this repository.\n5. Place the files you downloaded in the new directory (folder) you created.\n6. Restart Home Assistant\n7. In the HA UI go to \"Integrations\" click \"+\" and search for \"DiUS_Powersensor\"\n\n# Configuration\n\nConfiguration of the integration is done within the Integrations Panel in Home Assistant.\n\n1. Navigate to Integrations\n1. Click _Add Integration_\n1. Search for DiUS Powersensor\n1. Find your plug/gateway's IP address in the Powersensor mobile app\n\n![image](https://user-images.githubusercontent.com/20024196/173300192-4092430e-3421-4a5c-a422-3ba066e58856.png)\n\n1. Enter the IP address in the configuration, NB set your router to prevent the IP changing. Click _Submit_\n1. Click _Configure_ on the newly created integration. By default the Main Power sensor and Plug sensor are selected, they can be unselected by clicking _Configure_. A power offset can also be applied to _sensor_ readings eg -100W.\n\u003c!----\u003e\n\n## Contributions are welcome!\n\nIf you want to contribute to this please read the [Contribution guidelines](CONTRIBUTING.md)\n\n## Credits\n\nThis project was generated from [@oncleben31](https://github.com/oncleben31)'s [Home Assistant Custom Component Cookiecutter](https://github.com/oncleben31/cookiecutter-homeassistant-custom-component) template.\n\nCode template was mainly taken from [@Ludeeus](https://github.com/ludeeus)'s [integration_blueprint][integration_blueprint] template\n\n---\n\n[integration_blueprint]: https://github.com/custom-components/integration_blueprint\n[hacs]: https://hacs.xyz\n[hacsbadge]: https://img.shields.io/badge/HACS-Custom-orange.svg\n[discord]: https://discord.gg/Qa5fW2R\n[discord-shield]: https://img.shields.io/discord/330944238910963714.svg\n[exampleimg]: example.png\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg\n[forum]: https://community.home-assistant.io/\n[license-shield]: https://img.shields.io/github/license/drc38/DiUS_Powersensor.svg\n[maintenance-shield]: https://img.shields.io/badge/maintainer-%40drc38-blue.svg\n[releases-shield]: https://img.shields.io/github/release/drc38/DiUS_Powersensor.svg\n[releases]: https://github.com/drc38/DiUS_Powersensor/releases\n[user_profile]: https://github.com/drc38\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrc38%2Fdius_powersensor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrc38%2Fdius_powersensor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrc38%2Fdius_powersensor/lists"}