Closed BondBug closed 7 months ago
I think I fixed this now, can you update and re-check?
Hi Trefor just checked the fix as requested and unfortunately the original problem is still occurring within the GIVTCP Log as below but also there is a minor error message in the Predbat Log when the process is trying to set the charge rate and it returns a message ( WARN: Inverter 0 set charge rate 500 via REST failed got 380 ) even though the GIVTCP Log is showing a change to 500 has been applied. This happened throughout the charge period.
as below
Predbat Log
2024-02-16 00:35:03.627599 INFO pred_bat: Inverter 0 current charge rate is 380 and new target is 500 2024-02-16 00:35:47.146204 INFO pred_bat: WARN: Inverter 0 set charge rate 500 via REST failed got 380 2024-02-16 00:35:47.168867 INFO pred_bat: Configuring charge window now (now 02-16 00:35:00 target set_window_minutes 30 charge start time 02-16 00:30:00 2024-02-16 00:35:47.170257 INFO pred_bat: Inverter 0 Current Target SOC is 80 already at target 2024-02-16 00:35:47.171491 INFO pred_bat: Adjust reserve to default as SOC 73 % is above target 80 % or charging active 2024-02-16 00:35:47.172757 INFO pred_bat: Inverter 0 Current reserve is 4.0 already at target 2024-02-16 00:35:47.180112 INFO pred_bat: Will not recompute the plan, it is 5.0 minutes old and max age is 30 minutes 2024-02-16 00:35:47.180981 INFO pred_bat: Completed run status Charging with Errors reported (check log)
And as before in the GICTCP Log I get repeated commands being applied every 5 mins even though the plan repeat is 30 mins see below this is repeated all through the charge window period not sure if this is meant to happen.
GIVTCP Log same thing happening as before 2024-02-16 00:30:11,195 - write - [INFO] - Setting battery charge rate to: 500 (2) 2024-02-16 00:30:16,825 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:30:23,264 - write - [INFO] - Setting battery charge rate to: 500 (2) 2024-02-16 00:30:24,603 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:30:32,565 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:30:44,714 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:30:58,155 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:31:06,284 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:31:12,874 - write - [INFO] - Setting battery charge rate to: 500 (2) 2024-02-16 00:31:18,473 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:31:24,904 - write - [INFO] - Setting battery charge rate to: 500 (2) 2024-02-16 00:31:26,254 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:31:34,244 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:35:04,981 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:35:12,918 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:35:20,710 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:35:27,308 - write - [INFO] - Setting battery charge rate to: 500 (2) 2024-02-16 00:35:32,713 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:35:40,619 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:40:04,009 - write - [INFO] - Setting battery charge rate to: 500 (2) 2024-02-16 00:40:08,123 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:40:15,883 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:40:25,577 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:40:37,563 - write - [INFO] - Setting battery charge rate 2 was a success 2024-02-16 00:40:45,263 - write - [INFO] - Setting battery charge rate 2 was a success
Regards
Dave Evans
------ Original Message ------ From "Trefor Southwell" [notifications@github.com](mailto:notifications@github.com) To "springfall2008/batpred" [batpred@noreply.github.com](mailto:batpred@noreply.github.com) Cc "BondBug" [dpevanslightingdesign@gmail.com](mailto:dpevanslightingdesign@gmail.com); "Author" [author@noreply.github.com](mailto:author@noreply.github.com) Date 10/02/2024 19:22:14 Subject Re: [springfall2008/batpred] Set Charge Low Power Mode (Issue #565)
Closed https://github.com/springfall2008/batpred/issues/565 as completed.
Single AC3 Inverter Economy 7 setup no export. When low power mode is selected it operates correctly but is sending repeated commands to the Inverter as shown in the GivTCP Log below. There are more off the same above the time line shown below when charging started at 00:30. The inverter charge is being correctly set it just sends the commands multiple times
Regards David Evans 2024-01-01 05:10:09,683 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:10:12,113 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:10:19,383 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:10:21,672 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:10:29,023 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:10:35,873 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:10:43,192 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:10:45,548 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:10:53,224 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:10:55,372 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:15:10,129 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:15:12,561 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:15:19,846 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:15:22,229 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:15:29,557 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:15:31,957 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:15:39,280 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:15:41,641 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:15:49,290 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:15:57,193 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:25:09,091 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:25:11,482 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:25:18,790 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:25:21,141 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:25:28,405 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:25:36,700 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:25:43,986 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:25:46,375 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:25:53,700 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:25:56,049 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:30:09,360 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:30:11,718 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:30:18,958 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:30:21,329 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:30:28,647 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:30:30,990 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:30:38,292 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:30:40,682 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:30:48,001 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:30:50,352 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:31:01,491 - Inv1 - read - [ERROR ] - Battery Object empty so skipping 2024-01-01 05:31:01,491 - Inv1 - read - [ERROR ] - Battery Object empty so skipping 2024-01-01 05:31:15,009 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:31:17,249 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:31:24,595 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:31:26,975 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:31:34,223 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:31:36,604 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:31:43,936 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:31:46,327 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:31:54,070 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:31:56,450 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:35:09,285 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:35:11,771 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:35:19,020 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:35:25,922 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:35:33,216 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:35:35,585 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:35:42,909 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:35:45,282 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:35:52,527 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2400 (12) 2024-01-01 05:35:54,883 - Inv1 - write - [INFO ] - Setting battery charge rate 12 was a success 2024-01-01 05:45:09,288 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2000 (10) 2024-01-01 05:45:12,675 - Inv1 - write - [INFO ] - Setting battery charge rate 10 was a success 2024-01-01 05:50:08,988 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2200 (11) 2024-01-01 05:50:11,329 - Inv1 - write - [INFO ] - Setting battery charge rate 11 was a success 2024-01-01 05:50:18,602 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2200 (11) 2024-01-01 05:50:21,072 - Inv1 - write - [INFO ] - Setting battery charge rate 11 was a success 2024-01-01 05:50:28,356 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2200 (11) 2024-01-01 05:50:35,224 - Inv1 - write - [INFO ] - Setting battery charge rate 11 was a success 2024-01-01 05:50:42,558 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2200 (11) 2024-01-01 05:50:44,931 - Inv1 - write - [INFO ] - Setting battery charge rate 11 was a success 2024-01-01 05:50:52,184 - Inv1 - write - [INFO ] - Setting battery charge rate to: 2200 (11) 2024-01-01 05:50:54,563 - Inv1 - write - [INFO ] - Setting battery charge rate 11 was a success 2024-01-01 06:00:09,313 - Inv1 - write - [INFO ] - Setting battery charge rate to: 1600 (8) 2024-01-01 06:00:16,598 - Inv1 - write - [INFO ] - Setting battery charge rate 8 was a success 2024-01-01 06:05:09,343 - Inv1 - write - [INFO ] - Setting battery charge rate to: 800 (4) 2024-01-01 06:05:11,720 - Inv1 - write - [INFO ] - Setting battery charge rate 4 was a success 2024-01-01 06:05:19,104 - Inv1 - write - [INFO ] - Disabling Charge Schedule 2024-01-01 06:05:21,463 - Inv1 - write - [INFO ] - Disabling Charge was a success 2024-01-01 06:10:09,393 - Inv1 - write - [INFO ] - Setting battery charge rate to: 1799 (9) 2024-01-01 06:10:11,772 - Inv1 - write - [INFO ] - Setting battery charge rate 9 was a success 2024-01-01 06:10:19,148 - Inv1 - write - [INFO ] - Enabling Charge Schedule 2024-01-01 06:10:21,485 - Inv1 - write - [INFO ] - Setting Charge Enable was a success 2024-01-01 06:15:09,496 - Inv1 - write - [INFO ] - Setting battery charge rate to: 3000 (50) 2024-01-01 06:15:11,900 - Inv1 - write - [INFO ] - Setting battery charge rate 50 was a success 2024-01-01 06:15:19,283 - Inv1 - write - [INFO ] - Setting battery discharge rate to: 0 (0) 2024-01-01 06:15:24,888 - Inv1 - write - [INFO ] - Setting battery discharge limit 0 was a success 2024-01-01 06:15:32,290 - Inv1 - write - [INFO ] - Disabling Charge Schedule 2024-01-01 06:15:34,649 - Inv1 - write - [INFO ] - Disabling Charge was a success 2024-01-01 07:30:09,336 - Inv1 - write - [INFO ] - Setting battery discharge rate to: 3000 (50) 2024-01-01 07:30:10,501 - Inv1 - write - [INFO ] - Setting battery discharge limit 50 was a success 2024-01-01 07:30:16,487 - Inv1 - read - [INFO ] - Saving current energy stats at start of day rate tariff (Dynamic) 2024-01-01 07:30:18,266 - Inv1 - write - [INFO ] - Setting battery reserve target to: 4 2024-01-01 07:30:20,705 - Inv1 - write - [INFO ] - Setting shallow charge 4 was a success