Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tolwi committed Jan 8, 2024
1 parent 136016a commit d51d5e4
Show file tree
Hide file tree
Showing 19 changed files with 231 additions and 39 deletions.
135 changes: 118 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@ Once installed, use Add Integration -> Ecoflow Cloud.
⚠️ Originally developed for personal use without a goal to cover all available device attributes

## Current state
<details><summary> DELTA_2 <i>(sensors: 37, switches: 8, sliders: 6, selects: 5)</i> </summary>
<details><summary> DELTA_2 <i>(sensors: 43, switches: 8, sliders: 6, selects: 5)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Total In Power
- Total Out Power
Expand All @@ -44,6 +47,9 @@ Once installed, use Add Integration -> Ecoflow Cloud.
- Min Cell Volts _(disabled)_
- Max Cell Volts _(disabled)_
- Slave Battery Level _(auto)_
- Slave Design Capacity _(disabled)_
- Slave Full Capacity _(disabled)_
- Slave Remain Capacity _(disabled)_
- Slave Battery Temperature _(auto)_
- Slave Min Cell Temperature _(disabled)_
- Slave Max Cell Temperature _(disabled)_
Expand Down Expand Up @@ -82,11 +88,15 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> RIVER_2 <i>(sensors: 24, switches: 3, sliders: 3, selects: 5)</i> </summary>
<details><summary> RIVER_2 <i>(sensors: 28, switches: 3, sliders: 3, selects: 5)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Battery Charging State
- Total In Power
- Total Out Power
Expand Down Expand Up @@ -130,11 +140,15 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> RIVER_2_MAX <i>(sensors: 27, switches: 5, sliders: 4, selects: 5)</i> </summary>
<details><summary> RIVER_2_MAX <i>(sensors: 31, switches: 5, sliders: 4, selects: 5)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Battery Charging State
- Total In Power
- Total Out Power
Expand Down Expand Up @@ -184,11 +198,15 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> RIVER_2_PRO <i>(sensors: 25, switches: 3, sliders: 3, selects: 5)</i> </summary>
<details><summary> RIVER_2_PRO <i>(sensors: 29, switches: 3, sliders: 3, selects: 5)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Battery Charging State
- Total In Power
- Total Out Power
Expand Down Expand Up @@ -233,11 +251,15 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> DELTA_PRO <i>(sensors: 40, switches: 6, sliders: 6, selects: 4)</i> </summary>
<details><summary> DELTA_PRO <i>(sensors: 50, switches: 6, sliders: 6, selects: 4)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Total In Power
- Total Out Power
- AC In Power
Expand Down Expand Up @@ -269,10 +291,16 @@ Once installed, use Add Integration -> Ecoflow Cloud.
- Battery Discharge Energy to AC
- Battery Discharge Energy to DC
- Slave 1 Battery Level _(auto)_
- Slave 1 Design Capacity _(disabled)_
- Slave 1 Full Capacity _(disabled)_
- Slave 1 Remain Capacity _(disabled)_
- Slave 1 Battery Temperature _(auto)_
- Slave 1 In Power _(auto)_
- Slave 1 Out Power _(auto)_
- Slave 2 Battery Level _(auto)_
- Slave 2 Design Capacity _(disabled)_
- Slave 2 Full Capacity _(disabled)_
- Slave 2 Remain Capacity _(disabled)_
- Slave 2 Battery Temperature _(auto)_
- Slave 2 In Power _(auto)_
- Slave 2 Out Power _(auto)_
Expand Down Expand Up @@ -302,11 +330,14 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> RIVER_MAX <i>(sensors: 34, switches: 4, sliders: 1, selects: 2)</i> </summary>
<details><summary> RIVER_MAX <i>(sensors: 40, switches: 4, sliders: 1, selects: 2)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Total In Power
- Total Out Power
- AC In Power
Expand All @@ -332,6 +363,9 @@ Once installed, use Add Integration -> Ecoflow Cloud.
- Battery Discharge Energy to AC
- Battery Discharge Energy to DC
- Slave Battery Level _(auto)_
- Slave Design Capacity _(disabled)_
- Slave Full Capacity _(disabled)_
- Slave Remain Capacity _(disabled)_
- Slave Battery Temperature _(auto)_
- Slave Min Cell Temperature _(disabled)_
- Slave Max Cell Temperature _(disabled)_
Expand All @@ -356,11 +390,14 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> RIVER_PRO <i>(sensors: 31, switches: 3, sliders: 1, selects: 2)</i> </summary>
<details><summary> RIVER_PRO <i>(sensors: 37, switches: 3, sliders: 1, selects: 2)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Total In Power
- Total Out Power
- Solar In Current
Expand All @@ -378,16 +415,19 @@ Once installed, use Add Integration -> Ecoflow Cloud.
- Battery Temperature
- Min Cell Temperature _(disabled)_
- Max Cell Temperature _(disabled)_
- Battery Volts _(disabled)_
- Battery Current _(disabled)_
- Battery Volts _(disabled)_
- Min Cell Volts _(disabled)_
- Max Cell Volts _(disabled)_
- Cycles
- Slave Battery Level _(auto)_
- Slave Design Capacity _(disabled)_
- Slave Full Capacity _(disabled)_
- Slave Remain Capacity _(disabled)_
- Slave Cycles _(auto)_
- Slave Battery Temperature _(auto)_
- Slave Battery Volts _(disabled)_
- Slave Battery Current _(disabled)_
- Slave Battery Volts _(disabled)_
- Slave Min Cell Volts _(disabled)_
- Slave Max Cell Volts _(disabled)_
- Status
Expand All @@ -406,11 +446,15 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> DELTA_MINI <i>(sensors: 28, switches: 4, sliders: 3, selects: 4)</i> </summary>
<details><summary> DELTA_MINI <i>(sensors: 32, switches: 4, sliders: 3, selects: 4)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Total In Power
- Total Out Power
- AC In Power
Expand Down Expand Up @@ -458,11 +502,14 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> DELTA_MAX <i>(sensors: 27, switches: 7, sliders: 5, selects: 0)</i> </summary>
<details><summary> DELTA_MAX <i>(sensors: 30, switches: 7, sliders: 5, selects: 0)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Total In Power
- Total Out Power
Expand Down Expand Up @@ -510,19 +557,23 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> DELTA_2_MAX <i>(sensors: 27, switches: 5, sliders: 5, selects: 3)</i> </summary>
<details><summary> DELTA_2_MAX <i>(sensors: 31, switches: 6, sliders: 5, selects: 3)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Total In Power
- Total Out Power
- AC In Power
- AC Out Power
- AC In Volts
- AC Out Volts
- Solar In Power
- Solar (1) In Power
- Solar (2) In Power
- DC Out Power
- Type-C (1) Out Power
- Type-C (2) Out Power
Expand All @@ -548,6 +599,7 @@ Once installed, use Add Integration -> Ecoflow Cloud.
- AC Always On
- AC Enabled
- X-Boost Enabled
- DC (12V) Enabled

*Sliders (numbers)*
- Max Charge Level
Expand All @@ -563,7 +615,7 @@ Once installed, use Add Integration -> Ecoflow Cloud.

</p></details>

<details><summary> POWERSTREAM <sup>beta</sup> <i>(sensors: 57, switches: 0, sliders: 0, selects: 0)</i> </summary>
<details><summary> POWERSTREAM <i>(sensors: 57, switches: 0, sliders: 0, selects: 0)</i> </summary>
<p>

*Sensors*
Expand Down Expand Up @@ -626,13 +678,62 @@ Once installed, use Add Integration -> Ecoflow Cloud.
- Status

*Switches*
None

*Sliders (numbers)*
None

*Selects*
None

</p></details>

<details><summary> GLACIER <i>(sensors: 33, switches: 3, sliders: 3, selects: 0)</i> </summary>
<p>

*Sensors*
- Main Battery Level
- Main Design Capacity _(disabled)_
- Main Full Capacity _(disabled)_
- Main Remain Capacity _(disabled)_
- Battery Level
- Battery Charging State
- Total In Power
- Total Out Power
- Motor Power
- Charge Remaining Time
- Discharge Remaining Time
- Cycles
- Battery Temperature
- Min Cell Temperature _(disabled)_
- Max Cell Temperature _(disabled)_
- Battery Volts _(disabled)_
- Min Cell Volts _(disabled)_
- Max Cell Volts _(disabled)_
- Battery Present
- XT60 State
- Fan Level
- Ambient Temperature
- Exhaust Temperature
- Water Temperature
- Left Temperature
- Right Temperature
- Dual Zone Mode
- Ice Time Remain
- Ice Percentage
- Ice Make Mode
- Ice Alert
- Ice Water Level OK
- Status

*Switches*
- Beeper
- Eco Mode
- Power

*Sliders (numbers)*
- Left Set Temperature
- Combined Set Temperature
- Right Set Temperature

*Selects*

</p></details>

Expand Down
2 changes: 1 addition & 1 deletion custom_components/ecoflow_cloud/devices/delta2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from .const import ATTR_DESIGN_CAPACITY, ATTR_FULL_CAPACITY, ATTR_REMAIN_CAPACITY, MAIN_DESIGN_CAPACITY, \
MAIN_FULL_CAPACITY, MAIN_REMAIN_CAPACITY, SLAVE_DESIGN_CAPACITY, SLAVE_FULL_CAPACITY, SLAVE_REMAIN_CAPACITY
from .. import EcoflowMQTTClient
from ..entities import BaseSensorEntity, BaseNumberEntity, BaseSwitchEntity, BaseSelectEntity, EcoFlowAbstractEntity
from ..entities import BaseSensorEntity, BaseNumberEntity, BaseSwitchEntity, BaseSelectEntity
from ..number import ChargingPowerEntity, MinBatteryLevelEntity, MaxBatteryLevelEntity, \
MaxGenStopLevelEntity, MinGenStartLevelEntity, BatteryBackupLevel
from ..select import DictSelectEntity, TimeoutDictSelectEntity
Expand Down
4 changes: 2 additions & 2 deletions custom_components/ecoflow_cloud/devices/delta2_max.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
from ..entities import BaseSensorEntity, BaseNumberEntity, BaseSwitchEntity, BaseSelectEntity
from ..number import ChargingPowerEntity, MinBatteryLevelEntity, MaxBatteryLevelEntity, \
MaxGenStopLevelEntity, MinGenStartLevelEntity
from ..select import DictSelectEntity, TimeoutDictSelectEntity
from ..select import TimeoutDictSelectEntity
from ..sensor import LevelSensorEntity, RemainSensorEntity, TempSensorEntity, CyclesSensorEntity, \
InWattsSensorEntity, OutWattsSensorEntity, VoltSensorEntity, StatusSensorEntity, MilliVoltSensorEntity, \
InWattsSensorEntity, OutWattsSensorEntity, StatusSensorEntity, MilliVoltSensorEntity, \
InMilliVoltSensorEntity, OutMilliVoltSensorEntity, CapacitySensorEntity
from ..switch import BeeperEntity, EnabledEntity

Expand Down
6 changes: 2 additions & 4 deletions custom_components/ecoflow_cloud/devices/delta_mini.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
MAIN_FULL_CAPACITY, MAIN_REMAIN_CAPACITY
from ..entities import BaseSensorEntity, BaseNumberEntity, BaseSwitchEntity, BaseSelectEntity
from ..mqtt.ecoflow_mqtt import EcoflowMQTTClient
from ..number import ChargingPowerEntity, MaxBatteryLevelEntity, MinBatteryLevelEntity, MinGenStartLevelEntity, \
MaxGenStopLevelEntity
from ..number import ChargingPowerEntity, MaxBatteryLevelEntity, MinBatteryLevelEntity
from ..select import DictSelectEntity, TimeoutDictSelectEntity
from ..sensor import LevelSensorEntity, WattsSensorEntity, RemainSensorEntity, TempSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, OutWattsDcSensorEntity, VoltSensorEntity, \
InWattsSolarSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, OutWattsDcSensorEntity, InWattsSolarSensorEntity, \
StatusSensorEntity, InEnergySensorEntity, OutEnergySensorEntity, MilliVoltSensorEntity, InMilliVoltSensorEntity, \
OutMilliVoltSensorEntity, CapacitySensorEntity
from ..switch import BeeperEntity, EnabledEntity
Expand Down
3 changes: 1 addition & 2 deletions custom_components/ecoflow_cloud/devices/delta_pro.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
MaxGenStopLevelEntity
from ..select import DictSelectEntity, TimeoutDictSelectEntity
from ..sensor import LevelSensorEntity, WattsSensorEntity, RemainSensorEntity, TempSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, OutWattsDcSensorEntity, VoltSensorEntity, \
InWattsSolarSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, OutWattsDcSensorEntity, InWattsSolarSensorEntity, \
StatusSensorEntity, InEnergySensorEntity, OutEnergySensorEntity, MilliVoltSensorEntity, InMilliVoltSensorEntity, \
OutMilliVoltSensorEntity, CapacitySensorEntity
from ..switch import BeeperEntity, EnabledEntity
Expand Down
11 changes: 4 additions & 7 deletions custom_components/ecoflow_cloud/devices/glacier.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
from homeassistant.const import Platform

from . import const, BaseDevice, EntityMigration, MigrationAction
from . import const, BaseDevice
from .const import ATTR_DESIGN_CAPACITY, ATTR_FULL_CAPACITY, ATTR_REMAIN_CAPACITY, BATTERY_CHARGING_STATE, \
MAIN_DESIGN_CAPACITY, MAIN_FULL_CAPACITY, MAIN_REMAIN_CAPACITY
from ..button import EnabledButtonEntity
from ..entities import BaseSensorEntity, BaseNumberEntity, BaseSwitchEntity, BaseSelectEntity, BaseButtonEntity
from ..mqtt.ecoflow_mqtt import EcoflowMQTTClient
from ..number import ChargingPowerEntity, MaxBatteryLevelEntity, MinBatteryLevelEntity, SetTempEntity
from ..select import DictSelectEntity, TimeoutDictSelectEntity
from ..number import SetTempEntity
from ..sensor import LevelSensorEntity, RemainSensorEntity, SecondsRemainSensorEntity, TempSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, VoltSensorEntity, QuotasStatusSensorEntity, \
MilliVoltSensorEntity, InMilliVoltSensorEntity, OutMilliVoltSensorEntity, ChargingStateSensorEntity, \
MilliVoltSensorEntity, ChargingStateSensorEntity, \
FanSensorEntity, MiscBinarySensorEntity, DecicelsiusSensorEntity, MiscSensorEntity, CapacitySensorEntity
from ..switch import EnabledEntity, InvertedBeeperEntity
from ..button import EnabledButtonEntity


class Glacier(BaseDevice):
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ecoflow_cloud/devices/river_max.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from ..number import MaxBatteryLevelEntity
from ..select import DictSelectEntity
from ..sensor import LevelSensorEntity, WattsSensorEntity, RemainSensorEntity, TempSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, VoltSensorEntity, StatusSensorEntity, \
CyclesSensorEntity, InWattsSensorEntity, OutWattsSensorEntity, StatusSensorEntity, \
InEnergySensorEntity, OutEnergySensorEntity, MilliVoltSensorEntity, InMilliVoltSensorEntity, \
OutMilliVoltSensorEntity, CapacitySensorEntity
from ..switch import EnabledEntity, BeeperEntity
Expand Down
Loading

0 comments on commit d51d5e4

Please sign in to comment.