Git Product home page Git Product logo

powerocean's Introduction

Ecoflow PowerOcean

Home Assistant custom component to get access to my PowerOcean system from EcoFlow.

This component was inspired by tolwi/hassio-ecoflow-cloud and is a copy of evercape/hass-resol-KM2.

Temporary quick solution to my problem. I hope of an integrate PowerOcean into tolwi/hassio-ecoflow-cloud with an official API.

Hopefully it works for others.

Prerequisites

I have tested the component with my System. I use the Android App and the Webportal at https://portal.ecoflow.com/user/eu/de/login

You need the S/N number of your inverter and your credentinals

Installation

  • Install as a custom repository via HACS
  • Manually download and extract to the custom_components directory

Once installed, use Add Integration -> Ecoflow PowerOcean.

Configuration

Follow the flow.

step 1 step 2

Sensors

Sensors are registered to each device as sensor.{name}_{serial}_{sensor_name} with an friendly name of sensor_name. Additional attributes are presented on each sensor:

  • Product Description, Destination Name, Source Name: internal names
  • Internal Unique ID: {serial}_{sensor_name}
  • Device Name: as
  • Vendor Product Serial: serial number of the PowerOcean inverter
  • Vendor Firmware Version: 5.1.8
  • Vendor Product Build: 13

sensor

Troubleshooting

Please set your logging for the this custom component to debug during initial setup phase. If everything works well, you are safe to remove the debug logging:

logger:
  default: warn
  logs:
    custom_components.powerocean: info

Credits

Thanks to my kollege David for giving me a start point.

And also thanks for the great work of the team from homeassistant and the great community.

powerocean's People

Contributors

evercape avatar niltrip avatar

Stargazers

Bogdan Coman avatar Yannick Becker avatar

Forkers

jdammers

powerocean's Issues

Error fetching data from the device

Many thanks for providing this custom component for the EcoFlow PowerOcean system. Your contribution is greatly appreciated! After installing the component through HACS, 191 sensors have been registered into HomeAssistant. However, the sensor update gets stuck immediately after initialization of the device (sensor will no longer be updated).
In the logs, I found the following error message: "MY_SERIAL_NUMBER: Error fetching data from the device: 'ecoflow_api' object has no attribute 'fetch_data_km2' "
When reloading the integration from Homeassistant, sensor values are updated again, but get stuck immediately thereafter.

I am not sure, but the error message maybe created in the function "async_setup_entry() in sensor.py, where either the variable "data" is empty (line 64) due to a device API failure or there is an "IntegrationError" (line 75). Any idea what is causing the problem?

image

Missing data from ecoflow webportal?

The data are pulled from the ecoflow webportal, however, I cannot find the data "to home", "to battery", "from battery", "from and to grid" that are shown in the webportal and not in the integration.
Have I missed somehting?

Anmeldung

Ich bekomme keine Daten in HA Angezeigt, aber wenn ich die App auf dem Handy starte geht das , was mach ich falsch?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.