{"id":306105,"name":"myenergi for Home Assistant","description":"Home Assistant integration for MyEnergi renewable energy products and ev chargers.","url":"https://github.com/cjne/ha-myenergi","last_synced_at":"2026-04-06T01:30:38.876Z","repository":{"id":37867896,"uuid":"401145616","full_name":"CJNE/ha-myenergi","owner":"CJNE","description":"Home Assistant integration for MyEnergi devices","archived":false,"fork":false,"pushed_at":"2026-03-19T07:32:32.000Z","size":1317,"stargazers_count":196,"open_issues_count":13,"forks_count":47,"subscribers_count":25,"default_branch":"main","last_synced_at":"2026-03-22T06:57:23.841Z","etag":null,"topics":["ev-charging","green-energy","home-assistant","myenergi"],"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/CJNE.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-08-29T21:26:31.000Z","updated_at":"2026-03-19T13:46:59.000Z","dependencies_parsed_at":"2024-02-25T21:29:12.714Z","dependency_job_id":"57ccad19-73bb-4b84-8b25-040ccbc65763","html_url":"https://github.com/CJNE/ha-myenergi","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/CJNE/ha-myenergi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CJNE%2Fha-myenergi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CJNE%2Fha-myenergi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CJNE%2Fha-myenergi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CJNE%2Fha-myenergi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CJNE","download_url":"https://codeload.github.com/CJNE/ha-myenergi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CJNE%2Fha-myenergi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30865212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-23T18:35:51.002Z","status":"ssl_error","status_checked_at":"2026-03-23T18:35:42.451Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"}},"owner":{"login":"CJNE","name":"Johan Isacsson","uuid":"1050971","kind":"user","description":"","email":"","website":null,"location":"Sweden","twitter":"JohanIsacsson","company":"Hälsa Hemma","icon_url":"https://avatars.githubusercontent.com/u/1050971?u=d8458fd01daf9fc64c28c2491362d1ab8879584f\u0026v=4","repositories_count":29,"last_synced_at":"2024-04-18T23:22:08.707Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/CJNE","funding_links":[],"total_stars":319,"followers":29,"following":1,"created_at":"2022-11-04T03:46:34.626Z","updated_at":"2024-04-18T23:22:19.878Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CJNE","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CJNE/repositories"},"packages":[],"commits":{"id":6878895,"full_name":"cjne/ha-myenergi","default_branch":"main","total_commits":423,"total_committers":26,"total_bot_commits":185,"total_bot_committers":1,"mean_commits":16.26923076923077,"dds":0.5626477541371158,"past_year_total_commits":97,"past_year_total_committers":10,"past_year_total_bot_commits":37,"past_year_total_bot_committers":1,"past_year_mean_commits":9.7,"past_year_dds":0.6185567010309279,"last_synced_at":"2026-03-29T22:05:19.199Z","last_synced_commit":"9337fafb53594f3aa14dee24a4143f37bb292492","created_at":"2024-11-26T08:42:19.108Z","updated_at":"2026-03-29T22:03:41.423Z","committers":[{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":185},{"name":"Johan Isacsson","email":"johan@generatorhallen.se","login":"CJNE","count":106},{"name":"Johnny Willemsen","email":"jwillemsen@remedy.nl","login":"jwillemsen","count":29},{"name":"Jaap P.","email":"ajediiam@gmail.com","login":"AJediIAm","count":28},{"name":"trizmark","email":"zoltan.markella@gmail.com","login":"trizmark","count":18},{"name":"G6EJD - David","email":"d.l.bird@sky.com","login":"G6EJD","count":9},{"name":"wech71","email":"wechgithub@oopsi.de","login":"wech71","count":9},{"name":"Sam Reed","email":"sam@reedyboy.net","login":"reedy","count":6},{"name":"root","email":"root@christoph2021.localdomain","login":null,"count":3},{"name":"Cormac","email":"90774279+narjekdjcusbe","login":"narjekdjcusbe","count":3},{"name":"JosyBan","email":"joe_bob_mac@yahoo.com","login":"JosyBan","count":3},{"name":"Samuel","email":"samuell@sdcinteractive.co.uk","login":"Computerwhz","count":3},{"name":"Alex Bennée","email":"alex.bennee@linaro.org","login":"stsquad","count":2},{"name":"Jonathan McCrohan","email":"jmccrohan@gmail.com","login":"jmccrohan","count":2},{"name":"Loïc","email":"1536036+zoic21","login":"zoic21","count":2},{"name":"Mark Cocker","email":"mark_cocker@uk.ibm.com","login":"markcocker","count":2},{"name":"Nicholas Orr","email":"nick@goya.com.au","login":"nickorr","count":2},{"name":"azekeil","email":"716222+azekeil","login":"azekeil","count":2},{"name":"christoph","email":"wech71@oopsi.de","login":null,"count":2},{"name":"LeiChat","email":"githubcom@leichat.com","login":"LeiChat","count":1},{"name":"Pydrex","email":"an4y@live.co.uk","login":"Pydrex","count":1},{"name":"Richard Burford","email":"rburford@me.com","login":"videojedi","count":1},{"name":"Rob Ferrer","email":"rob@ferrer.co.uk","login":"RobFerrer","count":1},{"name":"Zeppen","email":"zeppen@gmail.com","login":"Zeppen","count":1},{"name":"Gertjan","email":"gertjan.stulp@friss.com","login":null,"count":1},{"name":"sparks1372","email":"sparks1372","login":"sparks1372","count":1}],"past_year_committers":[{"name":"dependabot[bot]","email":"49699333+dependabot[bot]","login":"dependabot[bot]","count":37},{"name":"Jaap P.","email":"ajediiam@gmail.com","login":"AJediIAm","count":26},{"name":"wech71","email":"wechgithub@oopsi.de","login":"wech71","count":9},{"name":"G6EJD - David","email":"d.l.bird@sky.com","login":"G6EJD","count":9},{"name":"Johan Isacsson","email":"johan@generatorhallen.se","login":"CJNE","count":5},{"name":"Samuel","email":"samuell@sdcinteractive.co.uk","login":"Computerwhz","count":3},{"name":"root","email":"root@christoph2021.localdomain","login":null,"count":3},{"name":"Loïc","email":"1536036+zoic21","login":"zoic21","count":2},{"name":"christoph","email":"wech71@oopsi.de","login":null,"count":2},{"name":"LeiChat","email":"githubcom@leichat.com","login":"LeiChat","count":1}],"commits_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjne%2Fha-myenergi/commits","host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-03-31T00:00:13.296Z","repositories_count":6205739,"commits_count":926899663,"contributors_count":35781441,"owners_count":1142797,"icon_url":"https://github.com/github.png","host_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://commits.ecosyste.ms/api/v1/hosts/GitHub/repositories"}},"issues_stats":{"full_name":"cjne/ha-myenergi","html_url":"https://github.com/cjne/ha-myenergi","last_synced_at":"2026-03-13T10:08:27.452Z","status":null,"issues_count":123,"pull_requests_count":223,"avg_time_to_close_issue":30546021.602272727,"avg_time_to_close_pull_request":2436917.345549738,"issues_closed_count":88,"pull_requests_closed_count":191,"pull_request_authors_count":18,"issue_authors_count":101,"avg_comments_per_issue":6.967479674796748,"avg_comments_per_pull_request":0.6188340807174888,"merged_pull_requests_count":110,"bot_issues_count":0,"bot_pull_requests_count":172,"past_year_issues_count":25,"past_year_pull_requests_count":38,"past_year_avg_time_to_close_issue":1412105.4285714286,"past_year_avg_time_to_close_pull_request":781026.75,"past_year_issues_closed_count":14,"past_year_pull_requests_closed_count":24,"past_year_pull_request_authors_count":5,"past_year_issue_authors_count":25,"past_year_avg_comments_per_issue":3.72,"past_year_avg_comments_per_pull_request":0.42105263157894735,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":26,"past_year_merged_pull_requests_count":21,"created_at":"2024-11-26T08:42:20.153Z","updated_at":"2026-03-13T10:08:27.453Z","repository_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjne%2Fha-myenergi","issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjne%2Fha-myenergi/issues","issue_labels_count":{"bug":2,"enhancement":1},"pull_request_labels_count":{"dependencies":172,"python":131,"github_actions":41},"issue_author_associations_count":{"NONE":117,"CONTRIBUTOR":6},"pull_request_author_associations_count":{"CONTRIBUTOR":199,"NONE":18,"COLLABORATOR":5,"OWNER":1},"issue_authors":{"G6EJD":5,"ProximusAl":4,"LeiChat":3,"jwillemsen":2,"newbuilder22":2,"Ulrar":2,"thunder2k":2,"MalcolmSpencer":2,"sjs-1956":2,"scotflieger":2,"olej24":2,"cconnoruk":2,"lozzd":2,"reedy":2,"ragg987":2,"DuzAwe":2,"rz210":1,"MarkLofthouse":1,"Chawiby":1,"RCGrahamWilmott":1,"DaveTiff":1,"ungrim97":1,"i00":1,"doddyprodger":1,"HypeLaser":1,"philip98642":1,"tane64":1,"sddgit":1,"MaximumFish":1,"Jogiarea":1,"bensebborn":1,"daknightuk":1,"elektrinis":1,"andrewmooreio":1,"dunxd":1,"scott400k":1,"Sjoerd02":1,"phairplay":1,"gadget2010":1,"dbw1966":1,"matinciel":1,"silverailscolo":1,"jbvs01":1,"piet1951":1,"Gnarfoz":1,"66schoollane":1,"tomdh76":1,"jacopobac":1,"PaulDGAL":1,"ccomley":1,"InertiaM":1,"Matze-aaa":1,"juscode":1,"massiant70":1,"markcocker":1,"PietPietPietPietPiet":1,"UltimateTB":1,"timpauladams":1,"JanDetrez":1,"Zaphod360":1,"jamespreedy":1,"mjb1416":1,"simonrb2000":1,"shosaco":1,"gpshml":1,"thrashingflo":1,"plord12":1,"AJediIAm":1,"hpvos71":1,"bikerboy-86":1,"scannie67":1,"SciFi-Bob":1,"sabbie-github":1,"dtpazz":1,"SteveDooley-Kingsbridge":1,"ByteMavericks":1,"dobje":1,"martymcfly1":1,"andys73":1,"godfreym29":1,"Annaka007":1,"gijsk":1,"Stifoun":1,"slymas":1,"luismbendix":1,"chrisf4lc0n":1,"jpsmith16":1,"frodef":1,"marcroberts":1,"iamarealperson1":1,"gilsonbeckman":1,"markblokpoel":1,"japaho":1,"Keysersose12":1,"ntompson":1,"wifiuk":1,"ghouse666":1,"akendall1966":1,"apbarratt":1,"CallumDickerson":1,"waltonbp":1},"pull_request_authors":{"dependabot[bot]":172,"jwillemsen":20,"AJediIAm":9,"Computerwhz":3,"zoic21":2,"narjekdjcusbe":2,"jeroenribbink":2,"LeiChat":2,"Pydrex":2,"DReffects":1,"videojedi":1,"trizmark":1,"JosyBan":1,"Zeppen":1,"nickorr":1,"azekeil":1,"CJNE":1,"stsquad":1},"host":{"name":"GitHub","url":"https://github.com","kind":"github","last_synced_at":"2026-03-29T00:00:10.666Z","repositories_count":13988058,"issues_count":34522796,"pull_requests_count":112904656,"authors_count":11212107,"icon_url":"https://github.com/github.png","host_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories","owners_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/owners","authors_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors"},"past_year_issue_labels_count":{"bug":1,"enhancement":1},"past_year_pull_request_labels_count":{"dependencies":26,"python":22,"github_actions":4},"past_year_issue_author_associations_count":{"NONE":22},"past_year_pull_request_author_associations_count":{"CONTRIBUTOR":28,"COLLABORATOR":5,"NONE":5},"past_year_issue_authors":{"akendall1966":1,"andys73":1,"bikerboy-86":1,"CallumDickerson":1,"frodef":1,"ghouse666":1,"luismbendix":1,"MalcolmSpencer":1,"martymcfly1":1,"massiant70":1,"mjb1416":1,"newbuilder22":1,"PaulDGAL":1,"philip98642":1,"ragg987":1,"sddgit":1,"slymas":1,"Stifoun":1,"tane64":1,"thrashingflo":1,"timpauladams":1,"wifiuk":1},"past_year_pull_request_authors":{"dependabot[bot]":26,"AJediIAm":5,"Computerwhz":3,"LeiChat":2,"zoic21":2},"maintainers":[{"login":"AJediIAm","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/AJediIAm"},{"login":"CJNE","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/CJNE"}],"active_maintainers":[{"login":"AJediIAm","count":5,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/AJediIAm"}]},"events":{"total":{"ReleaseEvent":5,"DeleteEvent":43,"PullRequestEvent":105,"ForkEvent":10,"DiscussionEvent":2,"IssuesEvent":99,"WatchEvent":32,"IssueCommentEvent":410,"PushEvent":82,"PullRequestReviewEvent":3,"CreateEvent":37},"last_year":{"ReleaseEvent":4,"DeleteEvent":37,"PullRequestEvent":88,"ForkEvent":7,"DiscussionEvent":2,"IssuesEvent":70,"WatchEvent":18,"IssueCommentEvent":255,"PushEvent":70,"PullRequestReviewEvent":2,"CreateEvent":29}},"keywords":["ev-charging","green-energy","home-assistant","myenergi"],"dependencies":[{"ecosystem":"actions","filepath":".github/workflows/labeler.yml","sha":null,"kind":"manifest","created_at":"2023-02-18T04:16:12.434Z","updated_at":"2023-02-18T04:16:12.434Z","repository_link":"https://github.com/CJNE/ha-myenergi/blob/main/.github/workflows/labeler.yml","dependencies":[{"id":7753485035,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3.1.0","direct":true,"kind":"composite","optional":false},{"id":7753485054,"package_name":"crazy-max/ghaction-github-labeler","ecosystem":"actions","requirements":"v4.1.0","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/release-drafter.yml","sha":null,"kind":"manifest","created_at":"2023-02-18T04:16:12.856Z","updated_at":"2023-02-18T04:16:12.856Z","repository_link":"https://github.com/CJNE/ha-myenergi/blob/main/.github/workflows/release-drafter.yml","dependencies":[{"id":7753485156,"package_name":"release-drafter/release-drafter","ecosystem":"actions","requirements":"v5.21.1","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"actions","filepath":".github/workflows/tests.yaml","sha":null,"kind":"manifest","created_at":"2023-02-18T04:16:12.890Z","updated_at":"2023-02-18T04:16:12.890Z","repository_link":"https://github.com/CJNE/ha-myenergi/blob/main/.github/workflows/tests.yaml","dependencies":[{"id":7753485175,"package_name":"actions/checkout","ecosystem":"actions","requirements":"v3.1.0","direct":true,"kind":"composite","optional":false},{"id":7753485176,"package_name":"actions/setup-python","ecosystem":"actions","requirements":"v4.3.0","direct":true,"kind":"composite","optional":false},{"id":7753485177,"package_name":"hacs/action","ecosystem":"actions","requirements":"22.5.0","direct":true,"kind":"composite","optional":false},{"id":7753485178,"package_name":"home-assistant/actions/hassfest","ecosystem":"actions","requirements":"master","direct":true,"kind":"composite","optional":false}]},{"ecosystem":"pypi","filepath":"requirements_dev.txt","sha":null,"kind":"manifest","created_at":"2023-02-18T04:16:12.916Z","updated_at":"2023-02-18T04:16:12.916Z","repository_link":"https://github.com/CJNE/ha-myenergi/blob/main/requirements_dev.txt","dependencies":[{"id":7753485227,"package_name":"homeassistant","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":7753485228,"package_name":"pymyenergi","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":7753485229,"package_name":"flake8","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":7753485230,"package_name":"pytest","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false},{"id":7753485231,"package_name":"reorder-python-imports","ecosystem":"pypi","requirements":"*","direct":true,"kind":"development","optional":false}]},{"ecosystem":"pypi","filepath":"requirements_test.txt","sha":null,"kind":"manifest","created_at":"2023-02-18T04:16:12.993Z","updated_at":"2023-02-18T04:16:12.993Z","repository_link":"https://github.com/CJNE/ha-myenergi/blob/main/requirements_test.txt","dependencies":[{"id":7753485260,"package_name":"pytest-homeassistant-custom-component","ecosystem":"pypi","requirements":"==0.12.29","direct":true,"kind":"test","optional":false}]}],"score":8.600430789986293,"created_at":"2024-12-22T00:01:16.563Z","updated_at":"2026-04-06T01:30:38.894Z","avatar_url":"https://github.com/CJNE.png","language":"Python","category":"Energy Systems","sub_category":"Building Energy Monitoring","monthly_downloads":0,"total_dependent_repos":0,"total_dependent_packages":0,"readme":"# Myenergi for Home Assistant\n\n[![GitHub Release][releases-shield]][releases]\n[![GitHub Activity][commits-shield]][commits]\n[![License][license-shield]](LICENSE)\n\n[![pre-commit][pre-commit-shield]][pre-commit]\n[![Black][black-shield]][black]\n\n[![hacs][hacsbadge]][hacs]\n[![Project Maintenance][maintenance-shield]][user_profile]\n[![BuyMeCoffee][buymecoffeebadge]][buymecoffee]\n\n[![Discord][discord-shield]][discord]\n[![Community Forum][forum-shield]](https://community.home-assistant.io/t/myenergi-zappi-eddi-harvi/908261)\n\nMyenergi custom component for [Home Assistant](https://home-assistant.io).\nThis component will make all supported [myenergi](https://myenergi.com) devices connected to your myenergi hub accessible in Home Assistant.\nThe energy sensors are fully compatible with the energy dashboard in Home Assistant.\n\nIt will create HA devices depending on what you have installed:\n\n- Hub\n\n  - Grid power sensor (W)\n  - Grid voltage sensor (V)\n  - Grid frequency sensor (Hz)\n  - Generation power sensor (W)\n  - Charging/heating power sensor (W)\n  - Home power sensor (W); consumed power that is not charging, heating, generation and export\n  - Energy generated today sensor (kWh)\n  - Energy exported today sensor (kWh)\n  - Energy imported today sensor (kWh)\n  - Green energy today sensor (kWh); this is the amount of generated energy that was used for charging or heating instead of being exported\n\n- Zappi\n\n  - Charge mode selector (Stopped, Fast, Eco and Eco+)\n  - Phase setting (Automatic, 1 phase, 3 phase); Used in Eco+ charge mode\n  - Charge added this session sensor (kWh)\n  - Energy consumed today sensor (kWh)\n  - Energy diverted today sensor (kWh)\n  - Power sensors for internal and external CT clamps (W)\n  - Plug status sensor (EV Connected, Waiting for EV, Charging, EV Disconnected)\n  - Charger status sensor (Paused, Charging, Boosting, Completed)\n  - Minimum green level number input (%); how much power must be sourced from green sources (local generation) to do diversion charging\n  - Service to start boost (provide boost amount in kWh as parameter)\n  - Service to start smart boost (provide boost amount in kWh and desired finished time as parameters)\n  - Service to stop boost\n  - Service to unlock the Zappi\n  - Sensor for PIN Lock Status (This is not very useful in the real world)\n  - Sensor for Charge when Locked Status (This is the sensor that relates to the \"unlock\" service call and is the one you will want to use)\n  - Sensor for lock when plugged in status\n  - Sensor for lock when unplugged status\n\n- Eddi\n\n  - Operating mode selector that let you switch between Stopped (no heating will take place) and Normal modes\n  - Power sensors for internal and external CT clamps (W)\n  - Temperature sensors if fitted\n  - Service to start boost (provide boost amount in minutes as parameter)\n  - Heater priority; whether the first or second heater should be used first\n\n- Harvi\n\n  - Power sensors for internal and external CT clamps (W)\n\nCommon sensor entities may also include:\n\n- Serial number\n- Firmware version\n- Device priority; used for deciding which gets power first\n\nThis Home Assistant integration talks to the myenergi API using the [pymyenergi python library](https://github.com/cjne/pymyenergi).\n\n**This component will set up the following platforms.**\n\n| Platform | Description                                         |\n| -------- | --------------------------------------------------- |\n| `sensor` | Provides various readings for your myenergi devices |\n| `select` | Configure devices                                   |\n| `number` | Configure devices                                   |\n\n![example][logo]\n\n## HACS Installation\n\n[![Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=CJNE\u0026repository=ha-myenergi\u0026category=integration)\n\nThis is the recommended way to install.\n\n1. Search for myenergi in [HACS](https://hacs.xyz/).\n2. Install.\n3. Restart Home Assistant.\n4. In the HA UI, click Settings in the left nav bar, then click \"Devices \u0026 Services\". By default you should be viewing the Integrations tab. Click \"+ Add Integration\" button at bottom right and then search for \"myenergi\".\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 `myenergi`.\n4. Download _all_ the files from the `custom_components/myenergi/` 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, click Settings in the left nav bar, then click \"Devices \u0026 Services\". By default you should be viewing the Integrations tab. Click \"+ Add Integration\" button at bottom right and then search for \"myenergi\".\n\nUsing your HA configuration directory (folder) as a starting point you should now also have this:\n\n```text\ncustom_components/myenergi/translations/en.json\ncustom_components/myenergi/translations/fr.json\ncustom_components/myenergi/translations/sv.json\ncustom_components/myenergi/translations/nb.json\ncustom_components/myenergi/__init__.py\ncustom_components/myenergi/config_flow.py\ncustom_components/myenergi/const.py\ncustom_components/myenergi/entity.py\ncustom_components/myenergi/manifest.json\ncustom_components/myenergi/number.py\ncustom_components/myenergi/select.py\ncustom_components/myenergi/sensor.py\ncustom_components/myenergi/services.yaml\n```\n\n## Configuration is done in the UI\n\nIf you have trouble logging in you might need to request an API key from myenergi. You can generate one at your [myenergi account page](https://myaccount.myenergi.com).\nSee the [myenergi support article](https://support.myenergi.com/hc/en-gb/articles/5069627351185-How-do-I-get-an-API-key-) for more information.\n\n## Commonly used helpers and automations\n\n### Plugged in (binary sensor)\n\nHelpers \u003e Create Helper \u003e Template \u003e Template a binary sensor\n\n- Name: Zappi Plugged in\n- Template: `{{ is_state('sensor.zappi_plug_status', ['Waiting for EV', 'EV Connected', 'Charging']) }}`\n- Device class: Plug\n- Device: Myenergi Zappi\n\n### Charging (binary sensor)\n\nHelpers \u003e Create Helper \u003e Template \u003e Template a binary sensor\n\n- Name: Charging\n- Template: `{{ is_state('sensor.zappi_charger_status', 'Charging') or (\nis_state('sensor.zappi_charger_status', 'Boosting') and is_state('binary_sensor.zappi_plugged_in', 'on'))}}`\n- Device class: Charging\n- Device: Myenergi Zappi\n\n## Troubleshooting\n\nPerform all of the following steps before submitting an issue:\n\n#### Pick up the phone\n\n1. Check the MyEnergi app first to ensure everything works in the MyEnergi eco system.\n2. No support can be provided when Octopus is used. Maybe it works, but it can cause unexpected issues which cannot be fixed.\n\n#### Have you tried turning it off and on again?\n\n3. Update the integration to the latest (beta) version\n4. Restart Home Assistant.\n\n#### Have you tried forcing an unexpected reboot?\n\n5. Disconnect the Zappi from the car.\n6. Force a device reboot: https://support.myenergi.com/hc/en-gb/articles/26093410495121-How-do-I-Reboot-zappi\n\n#### If all else fails\n\n7. Check the (closed) issues and [Community Forum](https://community.home-assistant.io/t/myenergi-zappi-eddi-harvi/908261)\n\n### Updating to the latest (beta) version\n\ngo to:\n\n- `HACS` \u003e `Myenergi`.\n- from the 3-dot menu, select `Redownload`.\n- slecht `Need a different version`.\n- Choose the latest (beta) version.\n\n### Updating API key\n\nIf you need to change your API key for any reason, you will need to remove the device from \"Integration entries\", and re-add it again with the new API key.\n\nIf the master device is changed or replaced, a new API key is needed.\n\nIf an additional device is added, it can take a few hours before it shows up.\n\nThis integration is incompatible with Octopus. If Octopus controls your devices, this integration will no longer function correctly.\n\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[black]: https://github.com/psf/black\n[black-shield]: https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge\n[buymecoffee]: https://www.buymeacoffee.com/cjne.coffee\n[buymecoffeebadge]: https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=for-the-badge\n[commits-shield]: https://img.shields.io/github/commit-activity/y/cjne/ha-myenergi.svg?style=for-the-badge\n[commits]: https://github.com/cjne/ha-myenergi/commits/main\n[hacs]: https://hacs.xyz\n[hacsbadge]: https://img.shields.io/badge/HACS-Default-41BDF5.svg?style=for-the-badge\n[discord]: https://discord.gg/Qa5fW2R\n[discord-shield]: https://img.shields.io/discord/330944238910963714.svg?style=for-the-badge\n[logo]: logo@2x.png\n[forum-shield]: https://img.shields.io/badge/community-forum-brightgreen.svg?style=for-the-badge\n[forum]: https://community.home-assistant.io/\n[license-shield]: https://img.shields.io/github/license/cjne/ha-myenergi.svg?style=for-the-badge\n[maintenance-shield]: https://img.shields.io/badge/maintainer-%40cjne-blue.svg?style=for-the-badge\n[pre-commit]: https://github.com/pre-commit/pre-commit\n[pre-commit-shield]: https://img.shields.io/badge/pre--commit-enabled-brightgreen?style=for-the-badge\n[releases-shield]: https://img.shields.io/github/release/cjne/ha-myenergi.svg?style=for-the-badge\n[releases]: https://github.com/cjne/ha-myenergi/releases\n[user_profile]: https://github.com/cjne\n[myenergi_library]: https://github.com/cjne/pymyenergi\n","funding_links":["https://www.buymeacoffee.com/cjne.coffee"],"readme_doi_urls":[],"works":{},"citation_counts":{},"total_citations":0,"keywords_from_contributors":["hacs","inverter","solar","octopus-energy","energy-consumption"],"project_url":"https://ost.ecosyste.ms/api/v1/projects/306105","html_url":"https://ost.ecosyste.ms/projects/306105"}