You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| rule1_weekday | select | manual/auto | manual | Auto writes rule 1 effective_week=all days |
423
+
424
+
All `HA_FelicityInternalNumber` configuration entities render as
425
+
input boxes (`NumberMode.BOX`) so users can type precise values.
426
+
Sliders are awkward for fractional / fine-grained settings like
427
+
`efficiency_factor` (step 0.01) or `arbitrage_price_delta` (step
428
+
0.01 €/kWh). Pass `mode=NumberMode.SLIDER` to the constructor for
429
+
entities that benefit from scrubbing.
344
430
345
431
### Key Sensor Entities
346
432
@@ -383,8 +469,22 @@ The confidence factor can drop to 0.1 early in the day on partially cloudy morni
383
469
### 4. Consumption Estimate Sensitivity
384
470
The algorithm uses consumption_est/24 for hourly drain — assumes flat consumption. Houses with evening peaks (cooking, heating) may see under-predicted evening drain.
385
471
386
-
### 5. Anti-Conflict Guard Only Checks Instantaneous Power
387
-
The 200W grid import check (suppress discharge when importing) triggers on instantaneous reading. Short spikes (kettle, microwave) can briefly suppress profitable discharge.
TREX-25/50 with micro-inverters on the generator port need special handling. PV registers read 0, falling back to generator_day_cost_energy. Both backend and frontend handle this but it's fragile.
@@ -398,6 +498,17 @@ hour slot. This was especially painful at midnight when stale
398
498
`state.state` still reports the previous day's stale total, the coordinator
399
499
falls back to the filtered hourly sum.
400
500
501
+
### 8. Midnight should not force inverter to idle
502
+
The day-rollover block in `_async_update_data` used to unconditionally
503
+
call `_transition_to_state("idle")` and then skip the normal cycle for
504
+
that tick. This cancelled valid charge/discharge actions that should
505
+
continue across midnight (e.g., a customer selling overnight to clear
506
+
the battery before negative-midday PV refills it next day). The block
507
+
now does only the bookkeeping (yesterday deficit, daily consumption,
508
+
SOC history reset, slot overrides rotation) and falls through to the
509
+
normal cycle, which re-determines the desired state and only writes a
510
+
transition if the state actually changes.
511
+
401
512
---
402
513
403
514
## Algorithm Assessment and Improvement Recommendations
Felicity inverter home assistant integration for easy setup and use of the device (via [Modbus](https://www.se.com/us/en/faqs/FA168406/)).
9
+
Additionally includes a full Energy Management System to Buy and Sell electricity on the best moments and guards maximum power use to save guard against overcurrent.
10
+
With the right settings the software makes sure you pay the best energy prices or use no grid if not needed.
9
11
10
12
For this integration to work you need to have a wired modbus connection to your inverter either [via this USB dongle](https://www.amazon.nl/Industrial-Converter-Lightningproof-Resettable-Protection/dp/B0B87YJLJQ?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A2FQD9ZIAONBLW) or via something [like this](https://www.kiwi-electronics.com/nl/rs485-to-rj45-ethernet-tcp-ip-to-serial-rail-mount-support-20109?country=NL&utm_term=20109&gad_source=1&gad_campaignid=19763718639&gbraid=0AAAAADuMvucKntnrNZrVkZAHDgps81zYC&gclid=Cj0KCQiAx8PKBhD1ARIsAKsmGbeFZaWC_S38eFyu1NtZ0SP4zyLWwMWG70BRz6Ur1nmBymMCxvSR1_kaAmR9EALw_wcB).
11
13
Currently supports IVGM / TREX types:
@@ -58,8 +60,10 @@ It supports modbus USB dongle and TCP [Modbus](https://www.se.com/us/en/faqs/FA1
58
60
The 3 possible ways are explained in the picture below. At the moment the last part always requires a RS485 connection to the inverter.
<br><em>Ways to connect the inverter and TREX10k modbus location</em>
62
65
</p>
66
+
NOTE: when using the USR-D164 wifi module you need to put Pack Interval to 100 (20 causes packet loss)
63
67
64
68
## Installation options
65
69
The T-REX 5 and 10K series with HP or HL (High / Low Voltage batteries) with 1 or 3 Phases (P1 or P3) can be selected with selecting
@@ -83,7 +87,9 @@ This can be done via configuration when the intallation is succesfull (device fo
83
87
## Configuration
84
88
After successfull install the integration can be configured at any time with a few settings. See picture on top for location of the gear icon
85
89
- Update interval (the frequency of refresh of data). For the T-REX 5-10k models keep it on 10 sec minimum due to small baud rate.
86
-
- Monetary override. Nordpool is supported by default but also other monetary integrations as Tibber. The format is that it needs a sensor with attributes about min, max, avg price
90
+
- Setting up Nordpool (For energy prices). Use the HACS version, NOT the default version. (HACS version has 15 min slot information). You need to setup Nordpool for your energy supplier, see the web for examples.
91
+
- Solar Forecast for today and tomorrow. Install an integration that predicts solar power. It should support a Today and Tomorrow sensor showing total expected amount (you need to configure the solar forecast right).
92
+
- Monetary override. If you use Nordpool (recommended) leave this empty! Nordpool is supported by default but also other monetary integrations as Tibber. The format is that it needs a sensor with attributes about min, max, avg price
87
93
If you want use Tibber enter in the override fied: `sensor.tibber_electricity_price` where electricity_price is the sensor with attributes (avg, min, max) and 'tibber' how you named the integration.
88
94
The Felicity integration looks for a variaty of avg_price like fields as attributes and if it finds in the the override sensor, uses that as needed price information. If no information is found,
89
95
the price information remains unavailable.
@@ -111,7 +117,7 @@ Note1:
111
117
Note2: The Operating mode **must be set (by user) to Economic mode**. The Energy management feature will not engage in any other mode (Like General).
112
118
113
119
During setup or with config setting (gear symbol in hub/device overview) you can add a 'Monetary' Home Assistant Device.
114
-
Examples are the Nordpool integration or Tibber. Look at the Nordpool integration details on how to set that up (not covered here).
120
+
Examples are the Nordpool integration (HACS version only, not default) or Another. Look at the HACS Nordpool integration details on how to set that up (not covered here).
115
121
During first setup or during run-time configuration (device gear symbol) it will display a list of installed Monetary integrations to chose from.
116
122
Currently Nordpool and Tibber (via Norpool override field in config) are tested to work.
117
123
@@ -128,30 +134,33 @@ Example: Max price = 0.30 Euro, Min Price = 0.20 Euro and Avergage Price = 0.25
128
134
When setting the `Price Threshold Level to 5` the Base-Threshold-Price will be 0.25.
129
135
130
136
**The Grid Mode setting**:
131
-
* If `Grid Mode` <em>(From-grid, To-Grid, Off)</em> is set to From-grid it will allow use of grid power when actual price is <=0.25 Euro
132
-
* If `Grid Mode` <em>(From-grid, To-Grid, Off)</em> is set to To-grid it will allow Battery power to go to grid power when actual price is >=0.25 Euro
137
+
* If `Grid Mode` <em>(From-grid, To-Grid, Both, Off)</em> is set to From-grid it will allow use of grid power when actual price is <=0.25 Euro (as per given example)
138
+
* If `Grid Mode` <em>(From-grid, To-Grid, Both, Off)</em> is set to To-grid it will allow Battery power to go to grid power when actual price is >=0.25 Euro (as per given example)
133
139
**Additional variables** are `Battery Charge Max Level` and `Battery Charge Min Level`.
134
140
* In `From Grid mode` it will stop when `Actual Battery Capacity` reaches `Battery Charge Max Level`
135
141
* In `To Grid mode` it will stop when `Actual Battery Capacity` reaches `Battery Charge Min Level`
142
+
* In `Both` it will sell and charge the battery optimally to make the least amount of cost / use the grid as less as possible
136
143
137
-
IMPORTANT: The integration is depedent on the Monetary Integration to contiously supply the data.
144
+
IMPORTANT: The integration is depedent on the Monetary Integration and Solar Forecast Integration to contiously supply the data.
138
145
139
146
## Dynamic Power Management
140
147
The integration also supports Dynamic Power Management. After instalation, via configuration entities (see above picture), you can set the maximum amperage of your home electricity setup.
141
148
For example if you have a maximum of 16A per group, set the value to 16A. The integration will then make sure the battery loading will be dialed back if the amperage becomes to high.
142
149
(by decreasing the user requested power level, controlled via rule 1 via the integration).
143
150
It will keep monitorning this and will increase the battery loading to requested power levels if the amperage becomes lower.
144
151
145
-
## Using the card
152
+
## Using the cards
146
153
After installation of the integration you need to first reboot HA.
147
-
The card will be automatically installed and registered by the integration on start up.
154
+
The cards will be automatically installed and registered by the integration on start up.
148
155
To use the card in your dashboard, go to you dashboard, edit, choose `Add card`.
149
-
Choose `Manual`
150
-
Add first line: `type: custom:felicity-inverter-card`
156
+
They can be found at the bottom of the list.
157
+
If they are not visible you can choose `Manual` as card type.
158
+
Add first line: `type: custom:felicity-inverter-card` for the inverter card and `type: custom:felicity-ems-card` for the EMS card.
151
159
Then choose the `visual editor` to continue.
152
-
From the `Device` dropdown chose your felicity inverter install.
160
+
From the `Device` dropdown chose your felicity inverter integration installed.
0 commit comments