2023-12-10 13:00:45.781317 INFO pred_bat: Try optimising charge window(s) 9: 12-10 22:30:00 - 12-10 23:30:00 price 9.04 selected 1.47 was 5.22 results {5.22: 1608.2, 2.72: 1608.21, 2.47: 1608.02, 2.22: 1607.78, 1.97: 1607.55, 1.72: 1607.32, 1.47: 1607.09, 1.22: 1607.09, 0.97: 1607.09, 0.72: 1607.09, 0.47: 1607.09, 0.22: 1607.09, 0.0: 1620.97, 0.21: 1607.19} 2023-12-10 13:00:45.782718 INFO pred_bat: Optimise price set 8.0 start_at_low False best_price 19.9 2023-12-10 13:00:45.997485 INFO pred_bat: Try optimising charge window(s) 20: 12-11 05:30:00 - 12-11 06:00:00 price 7.58 selected 5.22 was 5.22 results {5.22: 1607.08, 4.72: 1610.43, 4.22: 1612.93, 0.0: 1612.93, 0.21: 1607.19} 2023-12-10 13:00:45.999646 INFO pred_bat: Optimise price set 7.6 start_at_low False best_price 19.9 2023-12-10 13:00:46.276841 INFO pred_bat: Try optimising charge window(s) 13: 12-11 01:30:00 - 12-11 02:00:00 price 7.21 selected 0.22 was 5.22 results {5.22: 1607.08, 1.72: 1607.09, 1.22: 1607.02, 0.72: 1605.56, 0.22: 1604.1, 0.0: 1607.03, 0.21: 1607.13} 2023-12-10 13:00:46.278374 INFO pred_bat: Optimise price set 6.5 start_at_low False best_price 19.9 2023-12-10 13:00:46.570478 INFO pred_bat: Try optimising charge window(s) 14: 12-11 02:00:00 - 12-11 02:30:00 price 6.17 selected 0.22 was 5.22 results {5.22: 1604.09, 1.72: 1604.1, 1.22: 1603.77, 0.72: 1603.08, 0.22: 1602.46, 0.0: 1605.34, 0.21: 1602.56} 2023-12-10 13:00:46.572233 INFO pred_bat: Optimise price set 6.4 start_at_low False best_price 19.9 2023-12-10 13:00:47.041156 INFO pred_bat: Try optimising charge window(s) 19: 12-11 04:30:00 - 12-11 05:30:00 price 6.13 selected 5.22 was 5.22 results {5.22: 1602.45, 4.97: 1602.95, 4.72: 1603.48, 4.47: 1604.01, 4.22: 1604.56, 3.97: 1605.19, 3.72: 1607.22, 3.47: 1609.25, 3.22: 1609.25, 0.0: 1609.25, 0.21: 1602.65} 2023-12-10 13:00:47.043340 INFO pred_bat: Optimise price set 6.3 start_at_low False best_price 19.9 2023-12-10 13:00:47.418565 INFO pred_bat: Try optimising charge window(s) 16: 12-11 03:00:00 - 12-11 03:30:00 price 5.95 selected 5.22 was 5.22 results {5.22: 1602.45, 2.72: 1602.46, 2.22: 1602.57, 1.72: 1602.69, 1.22: 1602.92, 0.72: 1603.29, 0.22: 1603.76, 0.0: 1604.76, 0.21: 1602.84} 2023-12-10 13:00:47.420734 INFO pred_bat: Optimise price set 5.1 start_at_low False best_price 19.9 2023-12-10 13:00:47.773010 INFO pred_bat: Try optimising charge window(s) 18: 12-11 04:00:00 - 12-11 04:30:00 price 4.85 selected 5.22 was 5.22 results {5.22: 1602.45, 4.72: 1603.08, 4.22: 1603.77, 3.72: 1604.54, 3.22: 1605.44, 2.72: 1606.08, 0.0: 1606.08, 0.21: 1604.28} 2023-12-10 13:00:47.774497 INFO pred_bat: Optimise price set 4.6 start_at_low False best_price 19.9 2023-12-10 13:00:48.195949 INFO pred_bat: Try optimising charge window(s) 17: 12-11 03:30:00 - 12-11 04:00:00 price 4.39 selected 5.22 was 5.22 results {5.22: 1602.45, 4.22: 1602.46, 3.72: 1602.85, 3.22: 1603.79, 2.72: 1604.72, 2.22: 1605.83, 1.72: 1606.94, 1.22: 1607.75, 0.0: 1607.75, 0.21: 1604.88} 2023-12-10 13:00:48.197169 INFO pred_bat: Optimise price set 3.5 start_at_low False best_price 19.9 2023-12-10 13:00:48.502762 INFO pred_bat: Try optimising charge window(s) 15: 12-11 02:30:00 - 12-11 03:00:00 price 3.31 selected 5.22 was 5.22 results {5.22: 1602.45, 1.72: 1602.46, 1.22: 1603.17, 0.72: 1604.68, 0.22: 1606.18, 0.0: 1610.34, 0.21: 1606.28} 2023-12-10 13:00:48.505270 INFO pred_bat: Best charge windows in price group 3.5 best_metric 1602.45 best_cost 1592.19 metric_keep 0.78 windows [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 100.0%, 11-12 08:30:00 - 11-12 09:00:00 @ 17.86p 100.0%, 11-12 13:30:00 - 11-12 14:00:00 @ 17.66p 100.0%, 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 33.0%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 100.0%, 11-12 14:00:00 - 11-12 14:30:00 @ 17.3p 100.0%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 52.0%, 11-12 07:30:00 - 11-12 08:00:00 @ 16.54p 100.0%, 11-12 15:00:00 - 11-12 15:30:00 @ 16.18p 100.0%, 10-12 21:30:00 - 10-12 22:00:00 @ 16.18p 4.0%, 10-12 15:00:00 - 10-12 15:30:00 @ 16.18p 100.0%, 11-12 08:00:00 - 11-12 08:30:00 @ 16.05p 100.0%, 11-12 14:30:00 - 11-12 15:00:00 @ 15.33p 100.0%, 10-12 14:30:00 - 10-12 15:00:00 @ 15.33p 100.0%, 11-12 06:00:00 - 11-12 07:00:00 @ 13.29p 100.0%, 10-12 22:00:00 - 10-12 22:30:00 @ 13.23p 4.0%, 11-12 07:00:00 - 11-12 07:30:00 @ 12.57p 100.0%, 10-12 23:30:00 - 11-12 00:30:00 @ 9.1p 28.0%, 10-12 22:30:00 - 10-12 23:30:00 @ 9.04p 28.0%, 11-12 05:30:00 - 11-12 06:00:00 @ 7.58p 100.0%, 11-12 01:30:00 - 11-12 02:00:00 @ 7.21p 4.0%, 11-12 02:00:00 - 11-12 02:30:00 @ 6.17p 4.0%, 11-12 04:30:00 - 11-12 05:30:00 @ 6.13p 100.0%, 11-12 03:00:00 - 11-12 03:30:00 @ 5.95p 100.0%, 11-12 04:00:00 - 11-12 04:30:00 @ 4.85p 100.0%, 11-12 03:30:00 - 11-12 04:00:00 @ 4.39p 100.0%, 11-12 02:30:00 - 11-12 03:00:00 @ 3.31p 100.0% ] 2023-12-10 13:00:48.507100 INFO pred_bat: Best discharge windows in price group 3.5 best_metric 1602.45 best_cost 1592.19 metric_keep 0.78 windows [ ] 2023-12-10 13:00:48.508509 INFO pred_bat: Optimise price set 20.2 start_at_low True best_price 19.9 2023-12-10 13:00:49.013880 INFO pred_bat: Try optimising charge window(s) 0: 12-10 13:00:00 - 12-10 13:30:00 price 19.21 selected 1.72 was 0 results {5.22: 1606.9, 4.22: 1606.91, 3.72: 1606.56, 3.22: 1605.56, 2.72: 1604.05, 2.22: 1603.19, 1.72: 1601.96, 1.22: 1602.46, 0.0: 1602.46, 0.21: 1603.94} 2023-12-10 13:00:49.019777 INFO pred_bat: Optimise price set 37.6 start_at_low True best_price 19.9 2023-12-10 13:00:49.315875 INFO pred_bat: Try optimising charge window(s) 6: 12-10 16:00:00 - 12-10 16:30:00 price 35.72 selected 0.0 was 0 results {5.22: 1603.65, 4.72: 1603.13, 4.22: 1602.59, 3.72: 1602.46, 0.0: 1602.46, 0.21: 1603.76} 2023-12-10 13:00:49.317970 INFO pred_bat: Best charge windows in price group 37.6 best_metric 1602.46 best_cost 1592.19 metric_keep 0.78 windows [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 100.0%, 11-12 08:30:00 - 11-12 09:00:00 @ 17.86p 100.0%, 11-12 13:30:00 - 11-12 14:00:00 @ 17.66p 100.0%, 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 33.0%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 100.0%, 11-12 14:00:00 - 11-12 14:30:00 @ 17.3p 100.0%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 52.0%, 11-12 07:30:00 - 11-12 08:00:00 @ 16.54p 100.0%, 11-12 15:00:00 - 11-12 15:30:00 @ 16.18p 100.0%, 10-12 21:30:00 - 10-12 22:00:00 @ 16.18p 4.0%, 10-12 15:00:00 - 10-12 15:30:00 @ 16.18p 100.0%, 11-12 08:00:00 - 11-12 08:30:00 @ 16.05p 100.0%, 11-12 14:30:00 - 11-12 15:00:00 @ 15.33p 100.0%, 10-12 14:30:00 - 10-12 15:00:00 @ 15.33p 100.0%, 11-12 06:00:00 - 11-12 07:00:00 @ 13.29p 100.0%, 10-12 22:00:00 - 10-12 22:30:00 @ 13.23p 4.0%, 11-12 07:00:00 - 11-12 07:30:00 @ 12.57p 100.0%, 10-12 23:30:00 - 11-12 00:30:00 @ 9.1p 28.0%, 10-12 22:30:00 - 10-12 23:30:00 @ 9.04p 28.0%, 11-12 05:30:00 - 11-12 06:00:00 @ 7.58p 100.0%, 11-12 01:30:00 - 11-12 02:00:00 @ 7.21p 4.0%, 11-12 02:00:00 - 11-12 02:30:00 @ 6.17p 4.0%, 11-12 04:30:00 - 11-12 05:30:00 @ 6.13p 100.0%, 11-12 03:00:00 - 11-12 03:30:00 @ 5.95p 100.0%, 11-12 04:00:00 - 11-12 04:30:00 @ 4.85p 100.0%, 11-12 03:30:00 - 11-12 04:00:00 @ 4.39p 100.0%, 11-12 02:30:00 - 11-12 03:00:00 @ 3.31p 100.0%, 10-12 13:00:00 - 10-12 13:30:00 @ 19.21p 33.0% ] 2023-12-10 13:00:49.319699 INFO pred_bat: Best discharge windows in price group 37.6 best_metric 1602.46 best_cost 1592.19 metric_keep 0.78 windows [ ] 2023-12-10 13:00:49.321666 INFO pred_bat: Tweak optimisation started 2023-12-10 13:00:49.740424 INFO pred_bat: Try optimising charge window(s) 0: 12-10 13:00:00 - 12-10 13:30:00 price 19.21 selected 1.72 was 1.72 results {5.22: 1606.9, 4.22: 1606.91, 3.72: 1606.56, 3.22: 1605.56, 2.72: 1604.05, 2.22: 1603.19, 1.72: 1601.96, 1.22: 1602.46, 0.0: 1602.46, 0.21: 1603.94} 2023-12-10 13:00:50.203199 INFO pred_bat: Try optimising discharge window(s) 0: 12-10 13:00:00 - 12-10 14:00:00 price 16.93 selected 100% size 60 was 100.0% results {'100_60': 1602.46, '99_60': 1606.4, '4_10': 1603.5, '4_15': 1604.21, '4_20': 1604.92, '4_25': 1605.63, '4_30': 1606.43, '4_35': 1607.67, '4_40': 1607.67, '4_45': 1607.85, '4_50': 1607.91, '4_55': 1607.93, '4_60': 1607.98} 2023-12-10 13:00:50.499018 INFO pred_bat: Try optimising charge window(s) 1: 12-10 13:30:00 - 12-10 14:00:00 price 17.66 selected 1.72 was 1.72 results {5.22: 1603.33, 3.22: 1603.34, 2.72: 1602.83, 2.22: 1602.64, 1.72: 1602.46, 1.22: 1603.62, 0.72: 1605.18, 0.22: 1606.34, 0.0: 1606.34, 0.21: 1602.56} 2023-12-10 13:00:50.855931 INFO pred_bat: Try optimising discharge window(s) 1: 12-10 14:00:00 - 12-10 15:00:00 price 16.93 selected 100% size 60 was 100.0% results {'100_60': 1602.46, '99_60': 1651.43, '4_10': 1606.4, '4_15': 1609.73, '4_20': 1617.71, '4_25': 1625.69, '4_30': 1634.0, '4_35': 1638.32, '4_40': 1645.27, '4_45': 1653.17, '4_50': 1653.74, '4_55': 1652.56, '4_60': 1651.38} 2023-12-10 13:00:51.148870 INFO pred_bat: Try optimising charge window(s) 2: 12-10 14:00:00 - 12-10 14:30:00 price 17.3 selected 2.72 was 2.72 results {5.22: 1602.64, 3.22: 1602.65, 2.72: 1602.46, 2.22: 1603.29, 1.72: 1604.14, 1.22: 1609.94, 0.72: 1618.57, 0.22: 1624.43, 0.0: 1624.43, 0.21: 1604.24} 2023-12-10 13:00:51.437103 INFO pred_bat: Try optimising charge window(s) 3: 12-10 14:30:00 - 12-10 15:00:00 price 15.33 selected 5.22 was 5.22 results {5.22: 1602.45, 4.22: 1602.46, 3.72: 1603.34, 3.22: 1605.22, 2.72: 1607.51, 2.22: 1617.08, 1.72: 1626.65, 1.22: 1633.5, 0.0: 1633.5, 0.21: 1607.62} 2023-12-10 13:00:51.941626 INFO pred_bat: Try optimising discharge window(s) 2: 12-10 15:00:00 - 12-10 16:00:00 price 16.93 selected 100% size 60 was 100.0% results {'100_60': 1602.46, '99_60': 1670.54, '4_10': 1609.64, '4_15': 1613.31, '4_20': 1616.9, '4_25': 1620.57, '4_30': 1624.86, '4_35': 1632.92, '4_40': 1640.94, '4_45': 1649.91, '4_50': 1659.12, '4_55': 1668.33, '4_60': 1670.18} 2023-12-10 13:00:52.263487 INFO pred_bat: Try optimising charge window(s) 4: 12-10 15:00:00 - 12-10 15:30:00 price 16.18 selected 5.22 was 5.22 results {5.22: 1602.45, 4.72: 1603.8, 4.22: 1605.24, 3.72: 1610.71, 3.22: 1619.88, 2.72: 1628.87, 0.0: 1628.87, 0.21: 1606.51} 2023-12-10 13:00:52.265241 INFO pred_bat: Tweak optimisation finished metric 1602.45 cost 1592.19 metric_keep 0.78 2023-12-10 13:00:52.267733 INFO pred_bat: Discharge windows filtered [ ] 2023-12-10 13:00:52.287512 INFO pred_bat: Filtered charge windows [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 33.0%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 52.0%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 100.0%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 4.0%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 28.0%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 4.0%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 100.0%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 100.0%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 100.0% ] reserve 0.21 2023-12-10 13:00:52.303083 INFO pred_bat: predict best10 end_record 12-11 19:00:00 final soc 0.21 kwh metric 1626.64 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 116.88 pv 1.44 2023-12-10 13:00:52.305426 INFO pred_bat: [ 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00, 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00] 2023-12-10 13:00:52.307974 INFO pred_bat: SOC: [ 2.66, 1.72, 3.96, 5.22, 2.56, 0.21, 0.21, 0.21, 0.21, 0.22, 1.46, 1.47, 0.65, 0.22, 1.46, 3.92, 5.22, 5.22, 5.22, 5.22, 5.22, 3.89, 1.24, 0.21, 0.21, 1.44, 3.92, 3.78, 1.04, 0.21] 2023-12-10 13:00:52.310595 INFO pred_bat: STATE: [ g~be-, g 19.5 / 8.02', '845 => 18.34 / 7.54', '905 => 17.52 / 7.21', '965 => 40.11 / 16.45', '1025 => 40.7 / 16.69', '1085 => 35.57 / 14.58', '1145 => 19.48 / 8.01', '1205 => 19.0 / 7.81', '1265 => 18.92 / 7.78', '1445 => 12.71 / 5.22', '1505 => 12.44 / 5.12', '1565 => 10.4 / 4.27', '1625 => 11.07 / 4.55', '1685 => 14.18 / 5.83', '1745 => 17.69 / 7.28', '1805 => 19.85 / 8.17', '1865 => 19.71 / 8.11', '1925 => 20.57 / 8.46', '1985 => 20.62 / 8.48', '2045 => 21.14 / 8.69', '2105 => 20.44 / 8.4', '2165 => 21.65 / 8.9', '2225 => 21.79 / 8.96', '2285 => 22.43 / 9.22', '2345 => 22.95 / 9.44', '2405 => 42.25 / 17.33', '2465 => 43.82 / 17.97', '2525 => 41.24 / 16.92'] 2023-12-10 13:05:01.781478 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:05:01.783190 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:05:01.784589 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:05:01.786256 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:05:01.788264 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:05:01.798819 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:05:02.274030 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:05:02.280798 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:05:02.290073 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:05:02.291989 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:05:02.298896 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:05:02.306864 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:05:02.364961 INFO pred_bat: Todays energy import 21.5 kwh export 0.8 kwh cost 180.69 p import 193.65 p export -12.96 p 2023-12-10 13:05:02.371404 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:05:02.377450 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:05:02.383258 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:05:02.390412 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:05:02.423623 INFO pred_bat: Today's load divergence 86.04 % in-day adjustment 86.04 % damping 1.0x, Predicted so far 30.72 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 22.42 KWh with 0.0 kWh car excluded and 6.38 kWh import ignored 2023-12-10 13:05:02.512487 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [60.53, 62.3, 85.86, 81.77, 61.23, 61.68] - min 60.53 2023-12-10 13:05:02.515149 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:05:02.517144 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:05:02.519291 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:05:03.571958 INFO pred_bat: Invertor time 2023-12-10 13:04:35+00:00 AppDaemon time 2023-12-10 13:05:00.005994+00:00 difference -0.43 minutes 2023-12-10 13:05:03.578541 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:05:03.580431 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:05:04.840526 INFO pred_bat: Inverter 0 SOC: 2.56 kw 49 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2109.0 w Current voltage52.0 2023-12-10 13:05:04.842069 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:05:04.843160 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:05:04.844753 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:05:04.846094 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:05:04.847888 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:05:04.849788 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 2.56 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:05:04.921110 INFO pred_bat: Base charge window [ ] 2023-12-10 13:05:04.922624 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:05:04.923526 INFO pred_bat: Plan was last updated on 2023-12-10 13:00:00.007062+00:00 and is now 5.0 minutes old 2023-12-10 13:05:04.925199 INFO pred_bat: Best charge window [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:05:04.926395 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:05:04.928880 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:05:04.961266 INFO pred_bat: predict base end_record 12-11 19:05:00 final soc 0.21 kwh metric 1820.22 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:00:00 kwh load 117.28 pv 3.23 2023-12-10 13:05:04.963862 INFO pred_bat: [ 13:05, 14:05, 15:05, 16:05, 17:05, 18:05, 19:05, 20:05, 21:05, 22:05, 23:05, 00:05, 01:05, 02:05, 03:05, 04:05, 05:05, 06:05, 07:05, 08:05, 09:05, 10:05, 11:05, 12:05, 13:05, 14:05, 15:05, 16:05, 17:05, 18:05] 2023-12-10 13:05:04.966299 INFO pred_bat: SOC: [ 2.56, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:05:04.969006 INFO pred_bat: STATE: [ g 19.5 / 8.02', '850 => 18.34 / 7.54', '910 => 17.52 / 7.21', '970 => 40.11 / 16.45', '1030 => 40.7 / 16.69', '1090 => 35.57 / 14.58', '1150 => 19.48 / 8.01', '1210 => 19.0 / 7.81', '1270 => 18.92 / 7.78', '1450 => 12.71 / 5.22', '1510 => 12.44 / 5.12', '1570 => 10.4 / 4.27', '1630 => 11.07 / 4.55', '1690 => 14.18 / 5.83', '1750 => 17.69 / 7.28', '1810 => 19.85 / 8.17', '1870 => 19.71 / 8.11', '1930 => 20.57 / 8.46', '1990 => 20.62 / 8.48', '2050 => 21.14 / 8.69', '2110 => 20.44 / 8.4', '2170 => 21.65 / 8.9', '2230 => 21.79 / 8.96', '2290 => 22.43 / 9.22', '2350 => 22.95 / 9.44', '2410 => 42.25 / 17.33', '2470 => 43.82 / 17.97', '2530 => 41.24 / 16.92'] 2023-12-10 13:10:01.337814 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:10:01.342758 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:10:01.344412 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:10:01.345716 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:10:01.347308 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:10:01.362434 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:10:01.757543 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:10:01.765899 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:10:01.796022 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:10:01.802070 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:10:01.835684 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:10:01.865922 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:10:01.909122 INFO pred_bat: Todays energy import 21.5 kwh export 0.8 kwh cost 180.69 p import 193.65 p export -12.96 p 2023-12-10 13:10:01.916153 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:10:01.922765 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:10:01.929778 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:10:01.937617 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:10:01.971129 INFO pred_bat: Today's load divergence 86.07 % in-day adjustment 86.07 % damping 1.0x, Predicted so far 30.97 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 22.69 KWh with 0.0 kWh car excluded and 6.38 kWh import ignored 2023-12-10 13:10:02.054878 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [60.08, 62.63, 85.37, 82.12, 61.24, 61.68] - min 60.08 2023-12-10 13:10:02.057800 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:10:02.059988 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:10:02.061407 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:10:03.330329 INFO pred_bat: Invertor time 2023-12-10 13:09:49+00:00 AppDaemon time 2023-12-10 13:10:00.018160+00:00 difference -0.2 minutes 2023-12-10 13:10:03.332420 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:10:03.333844 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:10:04.398055 INFO pred_bat: Inverter 0 SOC: 2.25 kw 43 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2594.0 w Current voltage52.0 2023-12-10 13:10:04.400569 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:10:04.402204 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:10:04.404132 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:10:04.406638 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:10:04.409135 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:10:04.410447 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 2.25 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:10:04.480075 INFO pred_bat: Base charge window [ ] 2023-12-10 13:10:04.481781 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:10:04.482630 INFO pred_bat: Plan was last updated on 2023-12-10 13:00:00.007062+00:00 and is now 10.0 minutes old 2023-12-10 13:10:04.484274 INFO pred_bat: Best charge window [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:10:04.485471 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:10:04.487037 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:10:04.516495 INFO pred_bat: predict base end_record 12-11 19:10:00 final soc 0.21 kwh metric 1828.74 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:00:00 kwh load 117.82 pv 3.22 2023-12-10 13:10:04.518880 INFO pred_bat: [ 13:10, 14:10, 15:10, 16:10, 17:10, 18:10, 19:10, 20:10, 21:10, 22:10, 23:10, 00:10, 01:10, 02:10, 03:10, 04:10, 05:10, 06:10, 07:10, 08:10, 09:10, 10:10, 11:10, 12:10, 13:10, 14:10, 15:10, 16:10, 17:10, 18:10] 2023-12-10 13:10:04.522750 INFO pred_bat: SOC: [ 2.25, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:10:04.524482 INFO pred_bat: STATE: [ g~be-, g 19.5 / 8.02', '855 => 18.34 / 7.54', '915 => 17.52 / 7.21', '975 => 40.11 / 16.45', '1035 => 40.7 / 16.69', '1095 => 35.57 / 14.58', '1155 => 19.48 / 8.01', '1215 => 19.0 / 7.81', '1275 => 18.92 / 7.78', '1455 => 12.71 / 5.22', '1515 => 12.44 / 5.12', '1575 => 10.4 / 4.27', '1635 => 11.07 / 4.55', '1695 => 14.18 / 5.83', '1755 => 17.69 / 7.28', '1815 => 19.85 / 8.17', '1875 => 19.71 / 8.11', '1935 => 20.57 / 8.46', '1995 => 20.62 / 8.48', '2055 => 21.14 / 8.69', '2115 => 20.44 / 8.4', '2175 => 21.65 / 8.9', '2235 => 21.79 / 8.96', '2295 => 22.43 / 9.22', '2355 => 22.95 / 9.44', '2415 => 42.25 / 17.33', '2475 => 43.82 / 17.97', '2535 => 41.24 / 16.92'] 2023-12-10 13:15:01.393231 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:15:01.396563 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:15:01.398134 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:15:01.399735 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:15:01.401707 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:15:01.410487 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:15:01.741222 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:15:01.745388 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:15:01.752555 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:15:01.754372 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:15:01.759722 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:15:01.769007 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:15:01.823186 INFO pred_bat: Todays energy import 21.7 kwh export 0.8 kwh cost 184.64 p import 197.61 p export -12.96 p 2023-12-10 13:15:01.838667 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:15:01.845658 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:15:01.855619 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:15:01.861449 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:15:01.896291 INFO pred_bat: Today's load divergence 86.47 % in-day adjustment 86.47 % damping 1.0x, Predicted so far 31.15 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 23.09 KWh with 0.0 kWh car excluded and 6.38 kWh import ignored 2023-12-10 13:15:01.983601 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [59.89, 62.67, 85.01, 82.61, 60.86, 61.93] - min 59.89 2023-12-10 13:15:01.989442 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:15:01.996745 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:15:02.002510 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:15:03.085379 INFO pred_bat: Invertor time 2023-12-10 13:14:37+00:00 AppDaemon time 2023-12-10 13:15:00.033258+00:00 difference -0.4 minutes 2023-12-10 13:15:03.090915 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:15:03.092973 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:15:04.151616 INFO pred_bat: Inverter 0 SOC: 2.04 kw 39 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2592.0 w Current voltage52.0 2023-12-10 13:15:04.152772 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:15:04.153987 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:15:04.155254 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:15:04.156936 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:15:04.160747 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:15:04.162310 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 2.04 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:15:04.227534 INFO pred_bat: Base charge window [ ] 2023-12-10 13:15:04.228955 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:15:04.230575 INFO pred_bat: Plan was last updated on 2023-12-10 13:10:00.018160+00:00 and is now 5.0 minutes old 2023-12-10 13:15:04.231998 INFO pred_bat: Best charge window [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:15:04.233513 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:15:04.235803 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:15:04.264270 INFO pred_bat: predict base end_record 12-11 19:35:00 final soc 0.21 kwh metric 1866.77 p metric_keep 0.0 min_soc 0.21 @ 12-10 13:55:00 kwh load 119.9 pv 3.19 2023-12-10 13:15:04.266487 INFO pred_bat: [ 13:15, 14:15, 15:15, 16:15, 17:15, 18:15, 19:15, 20:15, 21:15, 22:15, 23:15, 00:15, 01:15, 02:15, 03:15, 04:15, 05:15, 06:15, 07:15, 08:15, 09:15, 10:15, 11:15, 12:15, 13:15, 14:15, 15:15, 16:15, 17:15, 18:15, 19:15] 2023-12-10 13:15:04.268833 INFO pred_bat: SOC: [ 2.04, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:15:04.275093 INFO pred_bat: STATE: [ g~be-, g 19.5 / 8.02', '860 => 18.34 / 7.54', '920 => 17.52 / 7.21', '980 => 40.11 / 16.45', '1040 => 40.7 / 16.69', '1100 => 35.57 / 14.58', '1160 => 19.48 / 8.01', '1220 => 19.0 / 7.81', '1280 => 18.92 / 7.78', '1460 => 12.71 / 5.22', '1520 => 12.44 / 5.12', '1580 => 10.4 / 4.27', '1640 => 11.07 / 4.55', '1700 => 14.18 / 5.83', '1760 => 17.69 / 7.28', '1820 => 19.85 / 8.17', '1880 => 19.71 / 8.11', '1940 => 20.57 / 8.46', '2000 => 20.62 / 8.48', '2060 => 21.14 / 8.69', '2120 => 20.44 / 8.4', '2180 => 21.65 / 8.9', '2240 => 21.79 / 8.96', '2300 => 22.43 / 9.22', '2360 => 22.95 / 9.44', '2420 => 42.25 / 17.33', '2480 => 43.82 / 17.97', '2540 => 41.24 / 16.92'] 2023-12-10 13:20:01.620136 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:20:01.622032 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:20:01.624287 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:20:01.626384 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:20:01.628188 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:20:01.640216 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:20:02.145619 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:20:02.148335 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:20:02.158578 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:20:02.160119 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:20:02.166547 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:20:02.172779 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:20:02.221868 INFO pred_bat: Todays energy import 21.7 kwh export 0.8 kwh cost 184.64 p import 197.61 p export -12.96 p 2023-12-10 13:20:02.231011 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:20:02.235447 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:20:02.240250 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:20:02.246794 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:20:02.276510 INFO pred_bat: Today's load divergence 86.92 % in-day adjustment 86.92 % damping 1.0x, Predicted so far 31.32 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 23.49 KWh with 0.0 kWh car excluded and 6.38 kWh import ignored 2023-12-10 13:20:02.364351 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [59.6, 62.83, 85.04, 82.59, 60.73, 62.05] - min 59.6 2023-12-10 13:20:02.368020 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:20:02.371087 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:20:02.372587 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:20:03.436393 INFO pred_bat: Invertor time 2023-12-10 13:19:49+00:00 AppDaemon time 2023-12-10 13:20:00.020405+00:00 difference -0.2 minutes 2023-12-10 13:20:03.438272 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:20:03.440551 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:20:04.497784 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2544.0 w Current voltage52.0 2023-12-10 13:20:04.501472 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:20:04.508531 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:20:04.510885 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:20:04.514747 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:20:04.517511 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:20:04.519196 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:20:04.580564 INFO pred_bat: Base charge window [ ] 2023-12-10 13:20:04.582079 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:20:04.582984 INFO pred_bat: Plan was last updated on 2023-12-10 13:10:00.018160+00:00 and is now 10.0 minutes old 2023-12-10 13:20:04.584163 INFO pred_bat: Best charge window [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:20:04.585147 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:20:04.589805 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:20:04.623795 INFO pred_bat: predict base end_record 12-11 19:40:00 final soc 0.21 kwh metric 1879.18 p metric_keep 0.0 min_soc 0.21 @ 12-10 13:55:00 kwh load 120.65 pv 3.18 2023-12-10 13:20:04.626916 INFO pred_bat: [ 13:20, 14:20, 15:20, 16:20, 17:20, 18:20, 19:20, 20:20, 21:20, 22:20, 23:20, 00:20, 01:20, 02:20, 03:20, 04:20, 05:20, 06:20, 07:20, 08:20, 09:20, 10:20, 11:20, 12:20, 13:20, 14:20, 15:20, 16:20, 17:20, 18:20, 19:20] 2023-12-10 13:20:04.629458 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:20:04.631543 INFO pred_bat: STATE: [ g 19.5 / 8.02', '865 => 18.34 / 7.54', '925 => 17.52 / 7.21', '985 => 40.11 / 16.45', '1045 => 40.7 / 16.69', '1105 => 35.57 / 14.58', '1165 => 19.48 / 8.01', '1225 => 19.0 / 7.81', '1285 => 18.92 / 7.78', '1465 => 12.71 / 5.22', '1525 => 12.44 / 5.12', '1585 => 10.4 / 4.27', '1645 => 11.07 / 4.55', '1705 => 14.18 / 5.83', '1765 => 17.69 / 7.28', '1825 => 19.85 / 8.17', '1885 => 19.71 / 8.11', '1945 => 20.57 / 8.46', '2005 => 20.62 / 8.48', '2065 => 21.14 / 8.69', '2125 => 20.44 / 8.4', '2185 => 21.65 / 8.9', '2245 => 21.79 / 8.96', '2305 => 22.43 / 9.22', '2365 => 22.95 / 9.44', '2425 => 42.25 / 17.33', '2485 => 43.82 / 17.97', '2545 => 41.24 / 16.92'] 2023-12-10 13:25:01.390334 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:25:01.394619 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:25:01.396550 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:25:01.398097 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:25:01.399728 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:25:01.411359 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:25:01.801746 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:25:01.806725 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:25:01.814351 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:25:01.816239 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:25:01.821671 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:25:01.827102 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:25:01.885909 INFO pred_bat: Todays energy import 21.8 kwh export 0.8 kwh cost 186.56 p import 199.53 p export -12.96 p 2023-12-10 13:25:01.893896 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:25:01.900092 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:25:01.906013 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:25:01.916374 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:25:01.948268 INFO pred_bat: Today's load divergence 87.44 % in-day adjustment 87.44 % damping 1.0x, Predicted so far 31.58 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 24.03 KWh with 0.0 kWh car excluded and 6.38 kWh import ignored 2023-12-10 13:25:02.033324 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [59.55, 62.48, 84.92, 82.96, 60.87, 61.91] - min 59.55 2023-12-10 13:25:02.035390 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:25:02.041201 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:25:02.042648 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:25:03.129700 INFO pred_bat: Invertor time 2023-12-10 13:23:43+00:00 AppDaemon time 2023-12-10 13:25:00.007552+00:00 difference -1.3 minutes 2023-12-10 13:25:03.132652 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:25:03.135324 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:25:04.222196 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:25:04.225125 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:25:04.233654 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:25:04.236157 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:25:04.237899 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:25:04.241980 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:25:04.243645 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:25:04.321845 INFO pred_bat: Base charge window [ ] 2023-12-10 13:25:04.323463 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:25:04.324770 INFO pred_bat: Plan was last updated on 2023-12-10 13:20:00.020405+00:00 and is now 5.0 minutes old 2023-12-10 13:25:04.327445 INFO pred_bat: Best charge window [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:25:04.328734 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:25:04.330642 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:25:04.361078 INFO pred_bat: predict base end_record 12-11 19:35:00 final soc 0.21 kwh metric 1875.2 p metric_keep 0.0 min_soc 0.21 @ 12-10 13:55:00 kwh load 120.53 pv 3.14 2023-12-10 13:25:04.363794 INFO pred_bat: [ 13:25, 14:25, 15:25, 16:25, 17:25, 18:25, 19:25, 20:25, 21:25, 22:25, 23:25, 00:25, 01:25, 02:25, 03:25, 04:25, 05:25, 06:25, 07:25, 08:25, 09:25, 10:25, 11:25, 12:25, 13:25, 14:25, 15:25, 16:25, 17:25, 18:25, 19:25] 2023-12-10 13:25:04.366121 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:25:04.368702 INFO pred_bat: STATE: [ g~be-, g 19.5 / 8.02', '870 => 18.34 / 7.54', '930 => 17.52 / 7.21', '990 => 40.11 / 16.45', '1050 => 40.7 / 16.69', '1110 => 35.57 / 14.58', '1170 => 19.48 / 8.01', '1230 => 19.0 / 7.81', '1290 => 18.92 / 7.78', '1470 => 12.71 / 5.22', '1530 => 12.44 / 5.12', '1590 => 10.4 / 4.27', '1650 => 11.07 / 4.55', '1710 => 14.18 / 5.83', '1770 => 17.69 / 7.28', '1830 => 19.85 / 8.17', '1890 => 19.71 / 8.11', '1950 => 20.57 / 8.46', '2010 => 20.62 / 8.48', '2070 => 21.14 / 8.69', '2130 => 20.44 / 8.4', '2190 => 21.65 / 8.9', '2250 => 21.79 / 8.96', '2310 => 22.43 / 9.22', '2370 => 22.95 / 9.44', '2430 => 42.25 / 17.33', '2490 => 43.82 / 17.97', '2550 => 41.24 / 16.92'] 2023-12-10 13:30:01.621384 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:30:01.623248 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:30:01.624865 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:30:01.627108 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:30:01.629063 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:30:01.641465 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:30:02.033809 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:30:02.035432 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:30:02.042206 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:30:02.043710 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:30:02.053371 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:30:02.058884 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:30:02.118670 INFO pred_bat: Todays energy import 22.0 kwh export 0.8 kwh cost 190.41 p import 203.37 p export -12.96 p 2023-12-10 13:30:02.126104 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:30:02.135056 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:30:02.139044 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:30:02.145312 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:30:02.183590 INFO pred_bat: Today's load divergence 87.34 % in-day adjustment 87.34 % damping 1.0x, Predicted so far 31.79 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 24.18 KWh with 0.0 kWh car excluded and 6.38 kWh import ignored 2023-12-10 13:30:02.272522 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [59.37, 62.5, 84.75, 83.26, 60.87, 62.03] - min 59.37 2023-12-10 13:30:02.274902 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:30:02.276719 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:30:02.278856 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:30:03.555795 INFO pred_bat: Invertor time 2023-12-10 13:29:47+00:00 AppDaemon time 2023-12-10 13:30:00.005924+00:00 difference -0.23 minutes 2023-12-10 13:30:03.558613 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:30:03.561430 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:30:04.861458 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:30:04.863132 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:30:04.865965 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:30:04.869094 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:30:04.871043 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:30:04.880085 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:30:04.881685 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:30:04.944358 INFO pred_bat: Base charge window [ ] 2023-12-10 13:30:04.946701 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:30:04.947847 INFO pred_bat: Plan was last updated on 2023-12-10 13:20:00.020405+00:00 and is now 10.0 minutes old 2023-12-10 13:30:04.949216 INFO pred_bat: Best charge window [ 10-12 13:00:00 - 10-12 14:00:00 @ 19.21p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:30:04.950737 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:30:04.954219 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:30:04.982891 INFO pred_bat: predict base end_record 12-11 19:40:00 final soc 0.21 kwh metric 1882.72 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:00:00 kwh load 121.0 pv 3.14 2023-12-10 13:30:04.985314 INFO pred_bat: [ 13:30, 14:30, 15:30, 16:30, 17:30, 18:30, 19:30, 20:30, 21:30, 22:30, 23:30, 00:30, 01:30, 02:30, 03:30, 04:30, 05:30, 06:30, 07:30, 08:30, 09:30, 10:30, 11:30, 12:30, 13:30, 14:30, 15:30, 16:30, 17:30, 18:30, 19:30] 2023-12-10 13:30:04.987536 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:30:04.990203 INFO pred_bat: STATE: [ g 19.5 / 8.02', '875 => 18.34 / 7.54', '935 => 17.52 / 7.21', '995 => 40.11 / 16.45', '1055 => 40.7 / 16.69', '1115 => 35.57 / 14.58', '1175 => 19.48 / 8.01', '1235 => 19.0 / 7.81', '1295 => 18.92 / 7.78', '1475 => 12.71 / 5.22', '1535 => 12.44 / 5.12', '1595 => 10.4 / 4.27', '1655 => 11.07 / 4.55', '1715 => 14.18 / 5.83', '1775 => 17.69 / 7.28', '1835 => 19.85 / 8.17', '1895 => 19.71 / 8.11', '1955 => 20.57 / 8.46', '2015 => 20.62 / 8.48', '2075 => 21.14 / 8.69', '2135 => 20.44 / 8.4', '2195 => 21.65 / 8.9', '2255 => 21.79 / 8.96', '2315 => 22.43 / 9.22', '2375 => 22.95 / 9.44', '2435 => 42.25 / 17.33', '2495 => 43.82 / 17.97', '2555 => 41.24 / 16.92'] 2023-12-10 13:35:01.369686 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:35:01.371379 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:35:01.375715 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:35:01.377375 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:35:01.379717 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:35:01.394867 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:35:01.850231 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:35:01.852092 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:35:01.863066 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:35:01.864877 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:35:01.870713 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:35:01.882215 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:35:01.939286 INFO pred_bat: Todays energy import 22.2 kwh export 0.8 kwh cost 194.02 p import 206.98 p export -12.96 p 2023-12-10 13:35:01.946313 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:35:01.955671 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:35:01.966212 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:35:01.972442 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:35:02.010000 INFO pred_bat: Today's load divergence 87.0 % in-day adjustment 87.0 % damping 1.0x, Predicted so far 32.1 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 24.31 KWh with 0.0 kWh car excluded and 6.52 kWh import ignored 2023-12-10 13:35:02.098254 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [58.93, 62.81, 84.51, 83.5, 60.74, 62.15] - min 58.93 2023-12-10 13:35:02.100146 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:35:02.101994 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:35:02.103471 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:35:03.152158 INFO pred_bat: Invertor time 2023-12-10 13:34:33+00:00 AppDaemon time 2023-12-10 13:35:00.003768+00:00 difference -0.47 minutes 2023-12-10 13:35:03.153432 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:35:03.157399 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:35:04.209262 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:35:04.210472 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:35:04.212565 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:35:04.215874 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:35:04.219717 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:35:04.222227 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:35:04.223543 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:35:04.291813 INFO pred_bat: Base charge window [ ] 2023-12-10 13:35:04.293734 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:35:04.295173 INFO pred_bat: Plan was last updated on 2023-12-10 13:30:00.005924+00:00 and is now 5.0 minutes old 2023-12-10 13:35:04.296308 INFO pred_bat: Best charge window [ 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:35:04.297559 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:35:04.302529 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:35:04.327525 INFO pred_bat: predict base end_record 12-11 19:35:00 final soc 0.21 kwh metric 1873.25 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:05:00 kwh load 120.54 pv 3.11 2023-12-10 13:35:04.331087 INFO pred_bat: [ 13:35, 14:35, 15:35, 16:35, 17:35, 18:35, 19:35, 20:35, 21:35, 22:35, 23:35, 00:35, 01:35, 02:35, 03:35, 04:35, 05:35, 06:35, 07:35, 08:35, 09:35, 10:35, 11:35, 12:35, 13:35, 14:35, 15:35, 16:35, 17:35, 18:35] 2023-12-10 13:35:04.333182 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:35:04.335223 INFO pred_bat: STATE: [ g 19.5 / 8.02', '880 => 18.34 / 7.54', '940 => 17.52 / 7.21', '1000 => 40.11 / 16.45', '1060 => 40.7 / 16.69', '1120 => 35.57 / 14.58', '1180 => 19.48 / 8.01', '1240 => 19.0 / 7.81', '1300 => 18.92 / 7.78', '1480 => 12.71 / 5.22', '1540 => 12.44 / 5.12', '1600 => 10.4 / 4.27', '1660 => 11.07 / 4.55', '1720 => 14.18 / 5.83', '1780 => 17.69 / 7.28', '1840 => 19.85 / 8.17', '1900 => 19.71 / 8.11', '1960 => 20.57 / 8.46', '2020 => 20.62 / 8.48', '2080 => 21.14 / 8.69', '2140 => 20.44 / 8.4', '2200 => 21.65 / 8.9', '2260 => 21.79 / 8.96', '2320 => 22.43 / 9.22', '2380 => 22.95 / 9.44', '2440 => 42.25 / 17.33', '2500 => 43.82 / 17.97', '2560 => 41.24 / 16.92'] 2023-12-10 13:40:01.467289 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:40:01.468939 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:40:01.470624 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:40:01.472203 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:40:01.473905 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:40:01.485798 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:40:02.004643 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:40:02.006609 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:40:02.016158 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:40:02.018241 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:40:02.028937 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:40:02.035698 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:40:02.089211 INFO pred_bat: Todays energy import 22.3 kwh export 0.8 kwh cost 195.78 p import 208.75 p export -12.96 p 2023-12-10 13:40:02.094526 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:40:02.100357 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:40:02.108176 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:40:02.114479 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:40:02.146248 INFO pred_bat: Today's load divergence 86.64 % in-day adjustment 86.64 % damping 1.0x, Predicted so far 32.57 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 24.59 KWh with 0.0 kWh car excluded and 6.52 kWh import ignored 2023-12-10 13:40:02.237132 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [58.75, 62.48, 84.55, 83.72, 60.49, 62.27] - min 58.75 2023-12-10 13:40:02.239017 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:40:02.240561 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:40:02.241905 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:40:03.309801 INFO pred_bat: Invertor time 2023-12-10 13:39:47+00:00 AppDaemon time 2023-12-10 13:40:00.009469+00:00 difference -0.23 minutes 2023-12-10 13:40:03.312737 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:40:03.315006 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:40:04.377666 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:40:04.379262 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:40:04.386354 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:40:04.387986 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:40:04.389940 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:40:04.393581 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:40:04.394933 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:40:04.453176 INFO pred_bat: Base charge window [ ] 2023-12-10 13:40:04.454861 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:40:04.455985 INFO pred_bat: Plan was last updated on 2023-12-10 13:30:00.005924+00:00 and is now 10.0 minutes old 2023-12-10 13:40:04.457339 INFO pred_bat: Best charge window [ 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22% ] 2023-12-10 13:40:04.458849 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:40:04.460954 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:40:04.493258 INFO pred_bat: predict base end_record 12-11 19:40:00 final soc 0.21 kwh metric 1870.4 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:10:00 kwh load 120.57 pv 3.1 2023-12-10 13:40:04.495369 INFO pred_bat: [ 13:40, 14:40, 15:40, 16:40, 17:40, 18:40, 19:40, 20:40, 21:40, 22:40, 23:40, 00:40, 01:40, 02:40, 03:40, 04:40, 05:40, 06:40, 07:40, 08:40, 09:40, 10:40, 11:40, 12:40, 13:40, 14:40, 15:40, 16:40, 17:40, 18:40] 2023-12-10 13:40:04.498410 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:40:04.500960 INFO pred_bat: STATE: [ g 19.5 / 8.02', '885 => 18.34 / 7.54', '945 => 17.52 / 7.21', '1005 => 40.11 / 16.45', '1065 => 40.7 / 16.69', '1125 => 35.57 / 14.58', '1185 => 19.48 / 8.01', '1245 => 19.0 / 7.81', '1305 => 18.92 / 7.78', '1485 => 12.71 / 5.22', '1545 => 12.44 / 5.12', '1605 => 10.4 / 4.27', '1665 => 11.07 / 4.55', '1725 => 14.18 / 5.83', '1785 => 17.69 / 7.28', '1845 => 19.85 / 8.17', '1905 => 19.71 / 8.11', '1965 => 20.57 / 8.46', '2025 => 20.62 / 8.48', '2085 => 21.14 / 8.69', '2145 => 20.44 / 8.4', '2205 => 21.65 / 8.9', '2265 => 21.79 / 8.96', '2325 => 22.43 / 9.22', '2385 => 22.95 / 9.44', '2445 => 42.25 / 17.33', '2505 => 43.82 / 17.97', '2565 => 41.24 / 16.92'] 2023-12-10 13:45:01.573098 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:45:01.575163 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:45:01.577705 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:45:01.579706 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:45:01.581969 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:45:01.604314 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:45:02.075109 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:45:02.077529 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:45:02.086466 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:45:02.088490 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:45:02.097548 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:45:02.104744 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:45:02.167662 INFO pred_bat: Todays energy import 22.5 kwh export 0.8 kwh cost 199.32 p import 212.28 p export -12.96 p 2023-12-10 13:45:02.175812 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:45:02.182575 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:45:02.189924 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:45:02.200443 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:45:02.245209 INFO pred_bat: Today's load divergence 86.52 % in-day adjustment 86.52 % damping 1.0x, Predicted so far 32.9 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 24.86 KWh with 0.0 kWh car excluded and 6.53 kWh import ignored 2023-12-10 13:45:02.326605 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [58.32, 62.64, 84.17, 83.7, 60.76, 62.26] - min 58.32 2023-12-10 13:45:02.329259 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:45:02.331676 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:45:02.333040 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:45:03.579251 INFO pred_bat: Invertor time 2023-12-10 13:44:33+00:00 AppDaemon time 2023-12-10 13:45:00.014962+00:00 difference -0.47 minutes 2023-12-10 13:45:03.581460 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:45:03.583824 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:45:04.848678 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:45:04.850802 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:45:04.852656 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:45:04.856682 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:45:04.866032 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:45:04.868280 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:45:04.870289 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:45:04.935342 INFO pred_bat: Base charge window [ ] 2023-12-10 13:45:04.936754 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:45:04.937945 INFO pred_bat: Plan was last updated on 2023-12-10 13:40:00.009469+00:00 and is now 5.0 minutes old 2023-12-10 13:45:04.939643 INFO pred_bat: Best charge window [ 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:00:00 @ 17.66p 5.22% ] 2023-12-10 13:45:04.940895 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:45:04.942798 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:45:04.969412 INFO pred_bat: predict base end_record 12-11 20:05:00 final soc 0.21 kwh metric 1891.08 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:15:00 kwh load 121.58 pv 3.08 2023-12-10 13:45:04.974234 INFO pred_bat: [ 13:45, 14:45, 15:45, 16:45, 17:45, 18:45, 19:45, 20:45, 21:45, 22:45, 23:45, 00:45, 01:45, 02:45, 03:45, 04:45, 05:45, 06:45, 07:45, 08:45, 09:45, 10:45, 11:45, 12:45, 13:45, 14:45, 15:45, 16:45, 17:45, 18:45, 19:45] 2023-12-10 13:45:04.976839 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:45:04.979243 INFO pred_bat: STATE: [ g 19.5 / 8.02', '890 => 18.34 / 7.54', '950 => 17.52 / 7.21', '1010 => 40.11 / 16.45', '1070 => 40.7 / 16.69', '1130 => 35.57 / 14.58', '1190 => 19.48 / 8.01', '1250 => 19.0 / 7.81', '1310 => 18.92 / 7.78', '1490 => 12.71 / 5.22', '1550 => 12.44 / 5.12', '1610 => 10.4 / 4.27', '1670 => 11.07 / 4.55', '1730 => 14.18 / 5.83', '1790 => 17.69 / 7.28', '1850 => 19.85 / 8.17', '1910 => 19.71 / 8.11', '1970 => 20.57 / 8.46', '2030 => 20.62 / 8.48', '2090 => 21.14 / 8.69', '2150 => 20.44 / 8.4', '2210 => 21.65 / 8.9', '2270 => 21.79 / 8.96', '2330 => 22.43 / 9.22', '2390 => 22.95 / 9.44', '2450 => 42.25 / 17.33', '2510 => 43.82 / 17.97', '2570 => 41.24 / 16.92'] 2023-12-10 13:50:01.550510 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:50:01.552762 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:50:01.554393 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:50:01.556280 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:50:01.558436 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:50:01.571869 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:50:02.049799 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:50:02.052248 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:50:02.062617 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:50:02.067074 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:50:02.073126 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:50:02.080934 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:50:02.136960 INFO pred_bat: Todays energy import 22.6 kwh export 0.8 kwh cost 201.08 p import 214.04 p export -12.96 p 2023-12-10 13:50:02.142672 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:50:02.149864 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:50:02.158840 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:50:02.164312 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:50:02.198701 INFO pred_bat: Today's load divergence 86.26 % in-day adjustment 86.26 % damping 1.0x, Predicted so far 33.19 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.01 KWh with 0.0 kWh car excluded and 6.52 kWh import ignored 2023-12-10 13:50:02.288499 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [58.04, 62.53, 83.92, 84.34, 60.24, 62.51] - min 58.04 2023-12-10 13:50:02.296588 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:50:02.299182 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:50:02.300882 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:50:03.345955 INFO pred_bat: Invertor time 2023-12-10 13:49:44+00:00 AppDaemon time 2023-12-10 13:50:00.009051+00:00 difference -0.28 minutes 2023-12-10 13:50:03.348992 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:50:03.351790 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:50:04.423281 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:50:04.426921 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:50:04.428879 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:50:04.430737 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:50:04.432391 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:50:04.438471 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:50:04.440064 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:50:04.504533 INFO pred_bat: Base charge window [ ] 2023-12-10 13:50:04.506338 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:50:04.507956 INFO pred_bat: Plan was last updated on 2023-12-10 13:40:00.009469+00:00 and is now 10.0 minutes old 2023-12-10 13:50:04.509389 INFO pred_bat: Best charge window [ 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:00:00 @ 17.66p 5.22% ] 2023-12-10 13:50:04.511714 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:50:04.514754 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:50:04.544947 INFO pred_bat: predict base end_record 12-11 20:10:00 final soc 0.21 kwh metric 1890.57 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:20:00 kwh load 121.7 pv 3.17 2023-12-10 13:50:04.547467 INFO pred_bat: [ 13:50, 14:50, 15:50, 16:50, 17:50, 18:50, 19:50, 20:50, 21:50, 22:50, 23:50, 00:50, 01:50, 02:50, 03:50, 04:50, 05:50, 06:50, 07:50, 08:50, 09:50, 10:50, 11:50, 12:50, 13:50, 14:50, 15:50, 16:50, 17:50, 18:50, 19:50] 2023-12-10 13:50:04.550034 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:50:04.552529 INFO pred_bat: STATE: [ g 19.5 / 8.02', '895 => 18.34 / 7.54', '955 => 17.52 / 7.21', '1015 => 40.11 / 16.45', '1075 => 40.7 / 16.69', '1135 => 35.57 / 14.58', '1195 => 19.48 / 8.01', '1255 => 19.0 / 7.81', '1315 => 18.92 / 7.78', '1495 => 12.71 / 5.22', '1555 => 12.44 / 5.12', '1615 => 10.4 / 4.27', '1675 => 11.07 / 4.55', '1735 => 14.18 / 5.83', '1795 => 17.69 / 7.28', '1855 => 19.85 / 8.17', '1915 => 19.71 / 8.11', '1975 => 20.57 / 8.46', '2035 => 20.62 / 8.48', '2095 => 21.14 / 8.69', '2155 => 20.44 / 8.4', '2215 => 21.65 / 8.9', '2275 => 21.79 / 8.96', '2335 => 22.43 / 9.22', '2395 => 22.95 / 9.44', '2455 => 42.25 / 17.33', '2515 => 43.82 / 17.97', '2575 => 41.24 / 16.92'] 2023-12-10 13:55:01.391158 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:55:01.393139 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 13:55:01.395967 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 13:55:01.399230 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 13:55:01.400969 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 13:55:01.410961 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 13:55:01.913732 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 13:55:01.915939 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 13:55:01.924664 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 13:55:01.926822 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 13:55:01.934413 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 13:55:01.943655 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 13:55:02.013916 INFO pred_bat: Todays energy import 22.8 kwh export 0.8 kwh cost 204.61 p import 217.58 p export -12.96 p 2023-12-10 13:55:02.020552 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 13:55:02.026671 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 13:55:02.032489 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 13:55:02.038068 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 13:55:02.072581 INFO pred_bat: Today's load divergence 86.57 % in-day adjustment 86.57 % damping 1.0x, Predicted so far 33.43 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.42 KWh with 0.0 kWh car excluded and 6.53 kWh import ignored 2023-12-10 13:55:02.160220 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [57.88, 62.29, 83.95, 84.45, 60.24, 62.63] - min 57.88 2023-12-10 13:55:02.163920 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 13:55:02.165771 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 13:55:02.167731 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 13:55:03.213349 INFO pred_bat: Invertor time 2023-12-10 13:54:56+00:00 AppDaemon time 2023-12-10 13:55:00.027960+00:00 difference -0.08 minutes 2023-12-10 13:55:03.215089 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 13:55:03.217236 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 13:55:04.278872 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 13:55:04.280830 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 13:55:04.282085 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 13:55:04.284267 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 13:55:04.286644 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 13:55:04.289993 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 13:55:04.292029 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 13:55:04.365673 INFO pred_bat: Base charge window [ ] 2023-12-10 13:55:04.367101 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 13:55:04.368238 INFO pred_bat: Plan was last updated on 2023-12-10 13:50:00.009051+00:00 and is now 5.0 minutes old 2023-12-10 13:55:04.369717 INFO pred_bat: Best charge window [ 10-12 13:30:00 - 10-12 14:00:00 @ 17.66p 1.72%, 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:00:00 @ 17.66p 5.22% ] 2023-12-10 13:55:04.371009 INFO pred_bat: Best discharge window [ ] 2023-12-10 13:55:04.375499 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 13:55:04.398512 INFO pred_bat: predict base end_record 12-11 20:05:00 final soc 0.21 kwh metric 1888.3 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:25:00 kwh load 121.77 pv 3.15 2023-12-10 13:55:04.401564 INFO pred_bat: [ 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55] 2023-12-10 13:55:04.403738 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 13:55:04.406118 INFO pred_bat: STATE: [ g 18.34 / 7.54', '900 => 17.52 / 7.21', '960 => 40.11 / 16.45', '1020 => 40.7 / 16.69', '1080 => 35.57 / 14.58', '1140 => 19.48 / 8.01', '1200 => 19.0 / 7.81', '1260 => 18.92 / 7.78', '1380 => 19.54 / 8.03', '1440 => 12.71 / 5.22', '1500 => 12.44 / 5.12', '1560 => 10.4 / 4.27', '1620 => 11.07 / 4.55', '1680 => 14.18 / 5.83', '1740 => 17.69 / 7.28', '1800 => 19.85 / 8.17', '1860 => 19.71 / 8.11', '1920 => 20.57 / 8.46', '1980 => 20.62 / 8.48', '2040 => 21.14 / 8.69', '2100 => 20.44 / 8.4', '2160 => 21.65 / 8.9', '2220 => 21.79 / 8.96', '2280 => 22.43 / 9.22', '2340 => 22.95 / 9.44', '2400 => 42.25 / 17.33', '2460 => 43.82 / 17.97', '2520 => 41.24 / 16.92', '2580 => 24.23 / 9.97'] 2023-12-10 14:00:01.720359 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:00:01.722237 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:00:01.724051 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:00:01.725874 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:00:01.727735 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:00:01.742669 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:00:02.157999 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:00:02.160054 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:00:02.168823 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:00:02.171248 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:00:02.177330 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:00:02.183110 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:00:02.250519 INFO pred_bat: Todays energy import 23.0 kwh export 0.8 kwh cost 208.15 p import 221.11 p export -12.96 p 2023-12-10 14:00:02.261980 INFO pred_bat: PV Data for pv_forecast_today total 1.91 kWh 2023-12-10 14:00:02.279721 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.55 kWh 2023-12-10 14:00:02.284520 INFO pred_bat: PV Data for pv_forecast_d3 total 1.63 kWh 2023-12-10 14:00:02.292590 INFO pred_bat: PV Data for pv_forecast_d4 total 1.21 kWh 2023-12-10 14:00:02.325191 INFO pred_bat: Today's load divergence 86.65 % in-day adjustment 86.65 % damping 1.0x, Predicted so far 33.67 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.7 KWh with 0.0 kWh car excluded and 6.53 kWh import ignored 2023-12-10 14:00:02.423487 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [57.85, 61.92, 84.0, 84.65, 60.11, 62.63] - min 57.85 2023-12-10 14:00:02.426075 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:00:02.428255 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:00:02.431042 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:00:03.606928 INFO pred_bat: Invertor time 2023-12-10 13:59:42+00:00 AppDaemon time 2023-12-10 14:00:00.009763+00:00 difference -0.32 minutes 2023-12-10 14:00:03.608279 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:00:03.611737 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 34.0 % 2023-12-10 14:00:04.742849 INFO pred_bat: Inverter 0 SOC: 1.72 kw 33 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 14:00:04.746792 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 14:00:04.748794 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 14:00:04.750987 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 14:00:04.753646 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:00:04.755813 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:00:04.757841 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 1.78 soc_max 5.22 soc 1.72 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:00:04.815509 INFO pred_bat: Base charge window [ ] 2023-12-10 14:00:04.819049 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:00:04.819958 INFO pred_bat: Plan was last updated on 2023-12-10 13:50:00.009051+00:00 and is now 10.0 minutes old 2023-12-10 14:00:04.820982 INFO pred_bat: Current charge window has expired, removing it 2023-12-10 14:00:04.823624 INFO pred_bat: Best charge window [ 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:00:00 @ 17.66p 5.22% ] 2023-12-10 14:00:04.825270 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:00:04.827602 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:00:04.854597 INFO pred_bat: predict base end_record 12-11 20:10:00 final soc 0.21 kwh metric 1893.25 p metric_keep 0.0 min_soc 0.21 @ 12-10 14:30:00 kwh load 121.93 pv 3.14 2023-12-10 14:00:04.857492 INFO pred_bat: [ 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00, 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00] 2023-12-10 14:00:04.860409 INFO pred_bat: SOC: [ 1.72, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:00:04.863225 INFO pred_bat: STATE: [ g 18.34 / 7.54', '905 => 17.52 / 7.21', '965 => 40.11 / 16.45', '1025 => 40.7 / 16.69', '1085 => 35.57 / 14.58', '1145 => 19.48 / 8.01', '1205 => 19.0 / 7.81', '1265 => 18.92 / 7.78', '1445 => 12.71 / 5.22', '1505 => 12.44 / 5.12', '1565 => 10.4 / 4.27', '1625 => 11.07 / 4.55', '1685 => 14.18 / 5.83', '1745 => 17.69 / 7.28', '1805 => 19.85 / 8.17', '1865 => 19.71 / 8.11', '1925 => 20.57 / 8.46', '1985 => 20.62 / 8.48', '2045 => 21.14 / 8.69', '2105 => 20.44 / 8.4', '2165 => 21.65 / 8.9', '2225 => 21.79 / 8.96', '2285 => 22.43 / 9.22', '2345 => 22.95 / 9.44', '2405 => 42.25 / 17.33', '2465 => 43.82 / 17.97', '2525 => 41.24 / 16.92', '2585 => 24.23 / 9.97'] 2023-12-10 14:05:01.371265 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:05:01.372673 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:05:01.374341 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:05:01.375928 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:05:01.382006 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:05:01.396138 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:05:01.847298 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:05:01.851485 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:05:01.867091 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:05:01.869515 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:05:01.889845 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:05:01.898299 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:05:01.961704 INFO pred_bat: Todays energy import 23.3 kwh export 0.8 kwh cost 213.36 p import 226.32 p export -12.96 p 2023-12-10 14:05:01.972370 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:05:01.978483 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:05:01.987659 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:05:01.994592 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:05:02.019372 INFO pred_bat: Today's load divergence 86.51 % in-day adjustment 86.51 % damping 1.0x, Predicted so far 34.03 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.98 KWh with 0.0 kWh car excluded and 6.52 kWh import ignored 2023-12-10 14:05:02.117167 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [57.7, 62.06, 83.61, 84.91, 60.12, 62.63] - min 57.7 2023-12-10 14:05:02.119239 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:05:02.121300 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:05:02.127072 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:05:03.398926 INFO pred_bat: Invertor time 2023-12-10 14:04:31+00:00 AppDaemon time 2023-12-10 14:05:00.006386+00:00 difference -0.5 minutes 2023-12-10 14:05:03.406224 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:05:03.410717 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 52.0 % 2023-12-10 14:05:04.528635 INFO pred_bat: Inverter 0 SOC: 1.93 kw 37 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2424.0 w Current voltage52.0 2023-12-10 14:05:04.530322 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:05:04.532013 INFO pred_bat: Inverter 0 charge windows currently [{'start': 840, 'end': 960, 'average': 0}, {'start': 2280, 'end': 2400, 'average': 0}, {'start': 3720, 'end': 3840, 'average': 0}] 2023-12-10 14:05:04.533625 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:00:00-12-10 16:00:00 limit 52.0 power 2.6 kw 2023-12-10 14:05:04.535975 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:05:04.538231 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:05:04.542375 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 2.72 soc_max 5.22 soc 1.93 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:05:04.687965 INFO pred_bat: Base charge window [ 10-12 14:00:00 - 10-12 16:00:00 @ 0.0p 2.71%, 11-12 14:00:00 - 11-12 16:00:00 @ 0.0p 2.71%, 12-12 14:00:00 - 12-12 16:00:00 @ 0.0p 2.71% ] 2023-12-10 14:05:04.694289 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:05:04.697437 INFO pred_bat: Plan was last updated on 2023-12-10 14:00:00.009763+00:00 and is now 5.0 minutes old 2023-12-10 14:05:04.704958 INFO pred_bat: Best charge window [ 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:00:00 @ 17.66p 5.22% ] 2023-12-10 14:05:04.706263 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:05:04.708775 INFO pred_bat: PV Forecast 4.4 kWh and 10% Forecast 1.6 kWh pv cloud factor 1.0 2023-12-10 14:05:04.733861 INFO pred_bat: predict base end_record 12-11 20:05:00 final soc 0.21 kwh metric 1789.7 p metric_keep 0.0 min_soc 0.21 @ 12-10 16:55:00 kwh load 121.64 pv 3.26 2023-12-10 14:05:04.736186 INFO pred_bat: [ 14:05, 15:05, 16:05, 17:05, 18:05, 19:05, 20:05, 21:05, 22:05, 23:05, 00:05, 01:05, 02:05, 03:05, 04:05, 05:05, 06:05, 07:05, 08:05, 09:05, 10:05, 11:05, 12:05, 13:05, 14:05, 15:05, 16:05, 17:05, 18:05, 19:05] 2023-12-10 14:05:04.738315 INFO pred_bat: SOC: [ 1.93, 2.71, 2.49, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.42, 2.71, 2.49, 0.21, 0.21, 0.21] 2023-12-10 14:05:04.740781 INFO pred_bat: STATE: [ g 18.34 / 7.54', '910 => 17.52 / 7.21', '970 => 40.11 / 16.45', '1030 => 40.7 / 16.69', '1090 => 35.57 / 14.58', '1150 => 19.48 / 8.01', '1210 => 19.0 / 7.81', '1270 => 18.92 / 7.78', '1450 => 12.71 / 5.22', '1510 => 12.44 / 5.12', '1570 => 10.4 / 4.27', '1630 => 11.07 / 4.55', '1690 => 14.18 / 5.83', '1750 => 17.69 / 7.28', '1810 => 19.85 / 8.17', '1870 => 19.71 / 8.11', '1930 => 20.57 / 8.46', '1990 => 20.62 / 8.48', '2050 => 21.14 / 8.69', '2110 => 20.44 / 8.4', '2170 => 21.65 / 8.9', '2230 => 21.79 / 8.96', '2290 => 22.43 / 9.22', '2350 => 22.95 / 9.44', '2410 => 42.25 / 17.33', '2470 => 43.82 / 17.97', '2530 => 41.24 / 16.92', '2590 => 24.23 / 9.97'] 2023-12-10 14:10:01.351018 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:10:01.352953 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:10:01.354903 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:10:01.357247 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:10:01.361046 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:10:01.373798 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:10:01.911727 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:10:01.914258 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:10:01.923792 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:10:01.925920 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:10:01.935870 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:10:01.944609 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:10:02.007506 INFO pred_bat: Todays energy import 23.7 kwh export 0.8 kwh cost 220.28 p import 233.24 p export -12.96 p 2023-12-10 14:10:02.019872 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:10:02.029541 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:10:02.039698 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:10:02.045893 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:10:02.077341 INFO pred_bat: Today's load divergence 85.95 % in-day adjustment 85.95 % damping 1.0x, Predicted so far 34.32 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.98 KWh with 0.0 kWh car excluded and 6.79 kWh import ignored 2023-12-10 14:10:02.162405 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [57.54, 61.57, 83.38, 85.4, 60.25, 62.62] - min 57.54 2023-12-10 14:10:02.164836 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:10:02.167460 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:10:02.168841 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:10:03.244652 INFO pred_bat: Invertor time 2023-12-10 14:09:45+00:00 AppDaemon time 2023-12-10 14:10:00.007449+00:00 difference -0.27 minutes 2023-12-10 14:10:03.245945 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:10:03.247371 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 52.0 % 2023-12-10 14:10:04.296454 INFO pred_bat: Inverter 0 SOC: 2.19 kw 42 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2424.0 w Current voltage52.0 2023-12-10 14:10:04.299237 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:10:04.301171 INFO pred_bat: Inverter 0 charge windows currently [{'start': 840, 'end': 960, 'average': 0}, {'start': 2280, 'end': 2400, 'average': 0}, {'start': 3720, 'end': 3840, 'average': 0}] 2023-12-10 14:10:04.304837 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:00:00-12-10 16:00:00 limit 52.0 power 2.6 kw 2023-12-10 14:10:04.311183 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:10:04.313214 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:10:04.315090 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 2.72 soc_max 5.22 soc 2.19 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:10:04.382152 INFO pred_bat: Base charge window [ 10-12 14:00:00 - 10-12 16:00:00 @ 0.0p 2.71%, 11-12 14:00:00 - 11-12 16:00:00 @ 0.0p 2.71%, 12-12 14:00:00 - 12-12 16:00:00 @ 0.0p 2.71% ] 2023-12-10 14:10:04.383843 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:10:04.384989 INFO pred_bat: Plan was last updated on 2023-12-10 14:00:00.009763+00:00 and is now 10.0 minutes old 2023-12-10 14:10:04.386386 INFO pred_bat: Best charge window [ 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:00:00 @ 17.66p 5.22% ] 2023-12-10 14:10:04.387818 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:10:04.391180 INFO pred_bat: PV Forecast 4.4 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:10:04.425942 INFO pred_bat: predict base end_record 12-11 20:10:00 final soc 0.21 kwh metric 1787.24 p metric_keep 0.0 min_soc 0.21 @ 12-10 16:55:00 kwh load 121.77 pv 3.24 2023-12-10 14:10:04.431144 INFO pred_bat: [ 14:10, 15:10, 16:10, 17:10, 18:10, 19:10, 20:10, 21:10, 22:10, 23:10, 00:10, 01:10, 02:10, 03:10, 04:10, 05:10, 06:10, 07:10, 08:10, 09:10, 10:10, 11:10, 12:10, 13:10, 14:10, 15:10, 16:10, 17:10, 18:10, 19:10] 2023-12-10 14:10:04.433419 INFO pred_bat: SOC: [ 2.19, 2.71, 2.33, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.62, 2.71, 2.26, 0.21, 0.21, 0.21] 2023-12-10 14:10:04.436164 INFO pred_bat: STATE: [ g 18.34 / 7.54', '915 => 17.52 / 7.21', '975 => 40.11 / 16.45', '1035 => 40.7 / 16.69', '1095 => 35.57 / 14.58', '1155 => 19.48 / 8.01', '1215 => 19.0 / 7.81', '1275 => 18.92 / 7.78', '1455 => 12.71 / 5.22', '1515 => 12.44 / 5.12', '1575 => 10.4 / 4.27', '1635 => 11.07 / 4.55', '1695 => 14.18 / 5.83', '1755 => 17.69 / 7.28', '1815 => 19.85 / 8.17', '1875 => 19.71 / 8.11', '1935 => 20.57 / 8.46', '1995 => 20.62 / 8.48', '2055 => 21.14 / 8.69', '2115 => 20.44 / 8.4', '2175 => 21.65 / 8.9', '2235 => 21.79 / 8.96', '2295 => 22.43 / 9.22', '2355 => 22.95 / 9.44', '2415 => 42.25 / 17.33', '2475 => 43.82 / 17.97', '2535 => 41.24 / 16.92', '2595 => 24.23 / 9.97'] 2023-12-10 14:15:01.405215 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:15:01.407010 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:15:01.408437 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:15:01.409932 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:15:01.414206 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:15:01.430687 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:15:01.930985 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:15:01.937321 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:15:01.945978 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:15:01.947944 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:15:01.956726 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:15:01.962724 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:15:02.023880 INFO pred_bat: Todays energy import 24.1 kwh export 0.8 kwh cost 227.2 p import 240.16 p export -12.96 p 2023-12-10 14:15:02.032026 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:15:02.041163 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:15:02.046367 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:15:02.052343 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:15:02.077618 INFO pred_bat: Today's load divergence 85.39 % in-day adjustment 85.39 % damping 1.0x, Predicted so far 34.61 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.98 KWh with 0.0 kWh car excluded and 7.06 kWh import ignored 2023-12-10 14:15:02.155080 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [57.26, 61.33, 83.38, 85.66, 60.39, 62.62] - min 57.26 2023-12-10 14:15:02.161209 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:15:02.163558 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:15:02.164965 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:15:03.242101 INFO pred_bat: Invertor time 2023-12-10 14:14:31+00:00 AppDaemon time 2023-12-10 14:15:00.007250+00:00 difference -0.5 minutes 2023-12-10 14:15:03.244584 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:15:03.247839 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 52.0 % 2023-12-10 14:15:04.294767 INFO pred_bat: Inverter 0 SOC: 2.45 kw 47 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2422.0 w Current voltage52.0 2023-12-10 14:15:04.296811 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:15:04.298878 INFO pred_bat: Inverter 0 charge windows currently [{'start': 840, 'end': 960, 'average': 0}, {'start': 2280, 'end': 2400, 'average': 0}, {'start': 3720, 'end': 3840, 'average': 0}] 2023-12-10 14:15:04.301549 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:00:00-12-10 16:00:00 limit 52.0 power 2.6 kw 2023-12-10 14:15:04.310566 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:15:04.313139 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:15:04.314166 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 2.72 soc_max 5.22 soc 2.45 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:15:04.373899 INFO pred_bat: Base charge window [ 10-12 14:00:00 - 10-12 16:00:00 @ 0.0p 2.71%, 11-12 14:00:00 - 11-12 16:00:00 @ 0.0p 2.71%, 12-12 14:00:00 - 12-12 16:00:00 @ 0.0p 2.71% ] 2023-12-10 14:15:04.375422 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:15:04.376572 INFO pred_bat: Plan was last updated on 2023-12-10 14:10:00.007449+00:00 and is now 5.0 minutes old 2023-12-10 14:15:04.378857 INFO pred_bat: Best charge window [ 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:30:00 @ 17.66p 5.22% ] 2023-12-10 14:15:04.379858 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:15:04.381906 INFO pred_bat: PV Forecast 4.3 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:15:04.410745 INFO pred_bat: predict base end_record 12-11 20:35:00 final soc 0.21 kwh metric 1814.47 p metric_keep 0.0 min_soc 0.21 @ 12-10 16:55:00 kwh load 123.19 pv 3.18 2023-12-10 14:15:04.415532 INFO pred_bat: [ 14:15, 15:15, 16:15, 17:15, 18:15, 19:15, 20:15, 21:15, 22:15, 23:15, 00:15, 01:15, 02:15, 03:15, 04:15, 05:15, 06:15, 07:15, 08:15, 09:15, 10:15, 11:15, 12:15, 13:15, 14:15, 15:15, 16:15, 17:15, 18:15, 19:15, 20:15] 2023-12-10 14:15:04.417682 INFO pred_bat: SOC: [ 2.45, 2.71, 2.11, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.83, 2.71, 2.03, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:15:04.419710 INFO pred_bat: STATE: [ g 18.34 / 7.54', '920 => 17.52 / 7.21', '980 => 40.11 / 16.45', '1040 => 40.7 / 16.69', '1100 => 35.57 / 14.58', '1160 => 19.48 / 8.01', '1220 => 19.0 / 7.81', '1280 => 18.92 / 7.78', '1460 => 12.71 / 5.22', '1520 => 12.44 / 5.12', '1580 => 10.4 / 4.27', '1640 => 11.07 / 4.55', '1700 => 14.18 / 5.83', '1760 => 17.69 / 7.28', '1820 => 19.85 / 8.17', '1880 => 19.71 / 8.11', '1940 => 20.57 / 8.46', '2000 => 20.62 / 8.48', '2060 => 21.14 / 8.69', '2120 => 20.44 / 8.4', '2180 => 21.65 / 8.9', '2240 => 21.79 / 8.96', '2300 => 22.43 / 9.22', '2360 => 22.95 / 9.44', '2420 => 42.25 / 17.33', '2480 => 43.82 / 17.97', '2540 => 41.24 / 16.92', '2600 => 24.23 / 9.97'] 2023-12-10 14:20:01.484350 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:20:01.492133 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:20:01.495977 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:20:01.500877 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:20:01.502606 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:20:01.513934 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:20:02.009978 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:20:02.012130 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:20:02.022230 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:20:02.024309 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:20:02.030910 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:20:02.036375 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:20:02.084533 INFO pred_bat: Todays energy import 24.5 kwh export 0.8 kwh cost 234.12 p import 247.08 p export -12.96 p 2023-12-10 14:20:02.091053 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:20:02.097966 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:20:02.106167 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:20:02.112086 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:20:02.138844 INFO pred_bat: Today's load divergence 85.0 % in-day adjustment 85.0 % damping 1.0x, Predicted so far 34.81 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 25.98 KWh with 0.0 kWh car excluded and 7.34 kWh import ignored 2023-12-10 14:20:02.227453 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [57.11, 60.96, 83.39, 86.04, 60.39, 62.62] - min 57.11 2023-12-10 14:20:02.229640 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:20:02.233010 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:20:02.234336 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:20:03.309969 INFO pred_bat: Invertor time 2023-12-10 14:19:43+00:00 AppDaemon time 2023-12-10 14:20:00.011253+00:00 difference -0.3 minutes 2023-12-10 14:20:03.320968 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:20:03.324168 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 52.0 % 2023-12-10 14:20:04.387844 INFO pred_bat: Inverter 0 SOC: 2.66 kw 51 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 14:20:04.402567 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:20:04.407598 INFO pred_bat: Inverter 0 charge windows currently [{'start': 840, 'end': 960, 'average': 0}, {'start': 2280, 'end': 2400, 'average': 0}, {'start': 3720, 'end': 3840, 'average': 0}] 2023-12-10 14:20:04.410161 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:00:00-12-10 16:00:00 limit 52.0 power 2.6 kw 2023-12-10 14:20:04.412204 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:20:04.414367 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:20:04.416080 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 2.72 soc_max 5.22 soc 2.66 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:20:04.470096 INFO pred_bat: Base charge window [ 10-12 14:00:00 - 10-12 16:00:00 @ 0.0p 2.71%, 11-12 14:00:00 - 11-12 16:00:00 @ 0.0p 2.71%, 12-12 14:00:00 - 12-12 16:00:00 @ 0.0p 2.71% ] 2023-12-10 14:20:04.471945 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:20:04.473127 INFO pred_bat: Plan was last updated on 2023-12-10 14:10:00.007449+00:00 and is now 10.0 minutes old 2023-12-10 14:20:04.474808 INFO pred_bat: Best charge window [ 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 18:30:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:30:00 @ 17.66p 5.22% ] 2023-12-10 14:20:04.477425 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:20:04.479867 INFO pred_bat: PV Forecast 4.3 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:20:04.514126 INFO pred_bat: predict base end_record 12-11 20:40:00 final soc 0.21 kwh metric 1814.98 p metric_keep 0.0 min_soc 0.21 @ 12-10 16:55:00 kwh load 123.33 pv 3.16 2023-12-10 14:20:04.517365 INFO pred_bat: [ 14:20, 15:20, 16:20, 17:20, 18:20, 19:20, 20:20, 21:20, 22:20, 23:20, 00:20, 01:20, 02:20, 03:20, 04:20, 05:20, 06:20, 07:20, 08:20, 09:20, 10:20, 11:20, 12:20, 13:20, 14:20, 15:20, 16:20, 17:20, 18:20, 19:20, 20:20] 2023-12-10 14:20:04.519923 INFO pred_bat: SOC: [ 2.66, 2.71, 1.88, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 1.03, 2.71, 1.8, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:20:04.522077 INFO pred_bat: STATE: [ g 18.34 / 7.54', '925 => 17.52 / 7.21', '985 => 40.11 / 16.45', '1045 => 40.7 / 16.69', '1105 => 35.57 / 14.58', '1165 => 19.48 / 8.01', '1225 => 19.0 / 7.81', '1285 => 18.92 / 7.78', '1465 => 12.71 / 5.22', '1525 => 12.44 / 5.12', '1585 => 10.4 / 4.27', '1645 => 11.07 / 4.55', '1705 => 14.18 / 5.83', '1765 => 17.69 / 7.28', '1825 => 19.85 / 8.17', '1885 => 19.71 / 8.11', '1945 => 20.57 / 8.46', '2005 => 20.62 / 8.48', '2065 => 21.14 / 8.69', '2125 => 20.44 / 8.4', '2185 => 21.65 / 8.9', '2245 => 21.79 / 8.96', '2305 => 22.43 / 9.22', '2365 => 22.95 / 9.44', '2425 => 42.25 / 17.33', '2485 => 43.82 / 17.97', '2545 => 41.24 / 16.92', '2605 => 24.23 / 9.97'] 2023-12-10 14:25:01.658565 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:25:01.661433 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:25:01.662841 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:25:01.664215 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:25:01.665592 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:25:01.679438 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:25:02.155939 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:25:02.161779 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:25:02.178902 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:25:02.188336 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:25:02.196111 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:25:02.209627 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:25:02.274824 INFO pred_bat: Todays energy import 24.6 kwh export 0.8 kwh cost 235.85 p import 248.81 p export -12.96 p 2023-12-10 14:25:02.284434 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:25:02.289592 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:25:02.295653 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:25:02.303182 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:25:02.327757 INFO pred_bat: Today's load divergence 84.88 % in-day adjustment 84.88 % damping 1.0x, Predicted so far 35.15 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 26.26 KWh with 0.0 kWh car excluded and 7.34 kWh import ignored 2023-12-10 14:25:02.412123 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.96, 60.83, 83.55, 86.13, 60.4, 62.49] - min 56.96 2023-12-10 14:25:02.413813 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:25:02.416078 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:25:02.417442 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:25:03.476028 INFO pred_bat: Invertor time 2023-12-10 14:24:55+00:00 AppDaemon time 2023-12-10 14:25:00.003925+00:00 difference -0.1 minutes 2023-12-10 14:25:03.480638 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:25:03.483039 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 52.0 % 2023-12-10 14:25:04.744191 INFO pred_bat: Inverter 0 SOC: 2.66 kw 51 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 14:25:04.746574 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 14:25:04.748652 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 14:25:04.754781 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 14:25:04.758042 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:25:04.760786 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:25:04.763320 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 2.72 soc_max 5.22 soc 2.66 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:25:04.837058 INFO pred_bat: Base charge window [ ] 2023-12-10 14:25:04.838721 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:25:04.839632 INFO pred_bat: Plan was last updated on 2023-12-10 14:20:00.011253+00:00 and is now 5.0 minutes old 2023-12-10 14:25:04.841016 INFO pred_bat: Best charge window [ 10-12 14:00:00 - 10-12 14:30:00 @ 17.3p 2.72%, 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:30:00 @ 17.66p 5.22% ] 2023-12-10 14:25:04.842392 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:25:04.844792 INFO pred_bat: PV Forecast 4.3 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:25:04.872646 INFO pred_bat: predict base end_record 12-11 20:35:00 final soc 0.21 kwh metric 1906.89 p metric_keep 0.0 min_soc 0.21 @ 12-10 15:20:00 kwh load 123.14 pv 3.09 2023-12-10 14:25:04.875754 INFO pred_bat: [ 14:25, 15:25, 16:25, 17:25, 18:25, 19:25, 20:25, 21:25, 22:25, 23:25, 00:25, 01:25, 02:25, 03:25, 04:25, 05:25, 06:25, 07:25, 08:25, 09:25, 10:25, 11:25, 12:25, 13:25, 14:25, 15:25, 16:25, 17:25, 18:25, 19:25, 20:25] 2023-12-10 14:25:04.877774 INFO pred_bat: SOC: [ 2.66, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:25:04.880136 INFO pred_bat: STATE: [ g 18.34 / 7.54', '930 => 17.52 / 7.21', '990 => 40.11 / 16.45', '1050 => 40.7 / 16.69', '1110 => 35.57 / 14.58', '1170 => 19.48 / 8.01', '1230 => 19.0 / 7.81', '1290 => 18.92 / 7.78', '1470 => 12.71 / 5.22', '1530 => 12.44 / 5.12', '1590 => 10.4 / 4.27', '1650 => 11.07 / 4.55', '1710 => 14.18 / 5.83', '1770 => 17.69 / 7.28', '1830 => 19.85 / 8.17', '1890 => 19.71 / 8.11', '1950 => 20.57 / 8.46', '2010 => 20.62 / 8.48', '2070 => 21.14 / 8.69', '2130 => 20.44 / 8.4', '2190 => 21.65 / 8.9', '2250 => 21.79 / 8.96', '2310 => 22.43 / 9.22', '2370 => 22.95 / 9.44', '2430 => 42.25 / 17.33', '2490 => 43.82 / 17.97', '2550 => 41.24 / 16.92', '2610 => 24.23 / 9.97'] 2023-12-10 14:30:01.990099 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:30:01.992521 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:30:01.994092 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:30:01.996004 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:30:01.997840 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:30:02.011752 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:30:02.588381 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:30:02.605235 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:30:02.619850 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:30:02.625947 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:30:02.633030 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:30:02.639714 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:30:02.693122 INFO pred_bat: Todays energy import 24.9 kwh export 0.8 kwh cost 241.04 p import 254.0 p export -12.96 p 2023-12-10 14:30:02.698398 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:30:02.705146 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:30:02.711313 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:30:02.717193 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:30:02.753161 INFO pred_bat: Today's load divergence 84.93 % in-day adjustment 84.93 % damping 1.0x, Predicted so far 35.4 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 26.54 KWh with 0.0 kWh car excluded and 7.34 kWh import ignored 2023-12-10 14:30:02.833078 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.68, 60.73, 83.37, 86.3, 60.41, 62.62] - min 56.68 2023-12-10 14:30:02.837873 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:30:02.839710 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:30:02.841311 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:30:04.116708 INFO pred_bat: Invertor time 2023-12-10 14:29:40+00:00 AppDaemon time 2023-12-10 14:30:00.007578+00:00 difference -0.35 minutes 2023-12-10 14:30:04.118145 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:30:04.125232 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 52.0 % 2023-12-10 14:30:05.209661 INFO pred_bat: Inverter 0 SOC: 2.66 kw 51 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 14:30:05.212516 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 14:30:05.214753 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 14:30:05.216671 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 14:30:05.218678 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:30:05.221616 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:30:05.222927 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 2.72 soc_max 5.22 soc 2.66 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:30:05.275480 INFO pred_bat: Base charge window [ ] 2023-12-10 14:30:05.277428 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:30:05.278319 INFO pred_bat: Plan was last updated on 2023-12-10 14:20:00.011253+00:00 and is now 10.0 minutes old 2023-12-10 14:30:05.279473 INFO pred_bat: Current charge window has expired, removing it 2023-12-10 14:30:05.281363 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:30:00 @ 17.66p 5.22% ] 2023-12-10 14:30:05.282586 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:30:05.285041 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:30:05.309880 INFO pred_bat: predict base end_record 12-11 20:40:00 final soc 0.21 kwh metric 1911.1 p metric_keep 0.0 min_soc 0.21 @ 12-10 15:25:00 kwh load 123.33 pv 3.08 2023-12-10 14:30:05.315404 INFO pred_bat: [ 14:30, 15:30, 16:30, 17:30, 18:30, 19:30, 20:30, 21:30, 22:30, 23:30, 00:30, 01:30, 02:30, 03:30, 04:30, 05:30, 06:30, 07:30, 08:30, 09:30, 10:30, 11:30, 12:30, 13:30, 14:30, 15:30, 16:30, 17:30, 18:30, 19:30, 20:30] 2023-12-10 14:30:05.317743 INFO pred_bat: SOC: [ 2.66, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:30:05.320182 INFO pred_bat: STATE: [ g 18.34 / 7.54', '935 => 17.52 / 7.21', '995 => 40.11 / 16.45', '1055 => 40.7 / 16.69', '1115 => 35.57 / 14.58', '1175 => 19.48 / 8.01', '1235 => 19.0 / 7.81', '1295 => 18.92 / 7.78', '1475 => 12.71 / 5.22', '1535 => 12.44 / 5.12', '1595 => 10.4 / 4.27', '1655 => 11.07 / 4.55', '1715 => 14.18 / 5.83', '1775 => 17.69 / 7.28', '1835 => 19.85 / 8.17', '1895 => 19.71 / 8.11', '1955 => 20.57 / 8.46', '2015 => 20.62 / 8.48', '2075 => 21.14 / 8.69', '2135 => 20.44 / 8.4', '2195 => 21.65 / 8.9', '2255 => 21.79 / 8.96', '2315 => 22.43 / 9.22', '2375 => 22.95 / 9.44', '2435 => 42.25 / 17.33', '2495 => 43.82 / 17.97', '2555 => 41.24 / 16.92', '2615 => 24.23 / 9.97'] 2023-12-10 14:35:01.526334 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:35:01.528255 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:35:01.530100 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:35:01.531693 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:35:01.533775 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:35:01.544983 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:35:02.036081 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:35:02.038534 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:35:02.047471 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:35:02.049556 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:35:02.056315 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:35:02.062327 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:35:02.129593 INFO pred_bat: Todays energy import 25.3 kwh export 0.8 kwh cost 247.17 p import 260.14 p export -12.96 p 2023-12-10 14:35:02.135181 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:35:02.140369 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:35:02.146919 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:35:02.158687 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:35:02.184742 INFO pred_bat: Today's load divergence 85.07 % in-day adjustment 85.07 % damping 1.0x, Predicted so far 35.74 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 26.94 KWh with 0.0 kWh car excluded and 7.34 kWh import ignored 2023-12-10 14:35:02.267821 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.53, 60.47, 83.47, 86.45, 60.41, 62.62] - min 56.53 2023-12-10 14:35:02.272905 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:35:02.275053 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:35:02.276742 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:35:03.330705 INFO pred_bat: Invertor time 2023-12-10 14:34:54+00:00 AppDaemon time 2023-12-10 14:35:00.003676+00:00 difference -0.12 minutes 2023-12-10 14:35:03.333516 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:35:03.336281 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 14:35:04.441483 INFO pred_bat: Inverter 0 SOC: 2.87 kw 55 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 14:35:04.443109 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:35:04.445511 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 14:35:04.453437 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 14:35:04.458244 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:35:04.461296 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:35:04.462834 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 2.87 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:35:04.542035 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 14:35:04.543634 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:35:04.545799 INFO pred_bat: Plan was last updated on 2023-12-10 14:30:00.007578+00:00 and is now 5.0 minutes old 2023-12-10 14:35:04.547186 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:30:00 @ 17.66p 5.22% ] 2023-12-10 14:35:04.549945 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:35:04.551812 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:35:04.582623 INFO pred_bat: predict base end_record 12-11 20:35:00 final soc 0.21 kwh metric 1745.92 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 123.33 pv 3.07 2023-12-10 14:35:04.584948 INFO pred_bat: [ 14:35, 15:35, 16:35, 17:35, 18:35, 19:35, 20:35, 21:35, 22:35, 23:35, 00:35, 01:35, 02:35, 03:35, 04:35, 05:35, 06:35, 07:35, 08:35, 09:35, 10:35, 11:35, 12:35, 13:35, 14:35, 15:35, 16:35, 17:35, 18:35, 19:35] 2023-12-10 14:35:04.587225 INFO pred_bat: SOC: [ 2.87, 5.22, 3.71, 1.08, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.42, 2.89, 2.32, 0.21, 0.21, 0.21] 2023-12-10 14:35:04.589514 INFO pred_bat: STATE: [ g 18.34 / 7.54', '940 => 17.52 / 7.21', '1000 => 40.11 / 16.45', '1060 => 40.7 / 16.69', '1120 => 35.57 / 14.58', '1180 => 19.48 / 8.01', '1240 => 19.0 / 7.81', '1300 => 18.92 / 7.78', '1480 => 12.71 / 5.22', '1540 => 12.44 / 5.12', '1600 => 10.4 / 4.27', '1660 => 11.07 / 4.55', '1720 => 14.18 / 5.83', '1780 => 17.69 / 7.28', '1840 => 19.85 / 8.17', '1900 => 19.71 / 8.11', '1960 => 20.57 / 8.46', '2020 => 20.62 / 8.48', '2080 => 21.14 / 8.69', '2140 => 20.44 / 8.4', '2200 => 21.65 / 8.9', '2260 => 21.79 / 8.96', '2320 => 22.43 / 9.22', '2380 => 22.95 / 9.44', '2440 => 42.25 / 17.33', '2500 => 43.82 / 17.97', '2560 => 41.24 / 16.92', '2620 => 24.23 / 9.97'] 2023-12-10 14:40:01.489858 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:40:01.491236 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:40:01.492589 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:40:01.493873 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:40:01.495435 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:40:01.504885 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:40:01.860125 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:40:01.861919 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:40:01.868954 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:40:01.870543 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:40:01.875389 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:40:01.880532 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:40:01.938832 INFO pred_bat: Todays energy import 25.7 kwh export 0.8 kwh cost 253.31 p import 266.27 p export -12.96 p 2023-12-10 14:40:01.949823 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:40:01.955666 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:40:01.961529 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:40:01.970350 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:40:01.993381 INFO pred_bat: Today's load divergence 85.61 % in-day adjustment 85.61 % damping 1.0x, Predicted so far 35.99 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 27.47 KWh with 0.0 kWh car excluded and 7.34 kWh import ignored 2023-12-10 14:40:02.068639 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.38, 59.98, 83.56, 86.35, 60.8, 62.62] - min 56.38 2023-12-10 14:40:02.072454 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:40:02.074646 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:40:02.080059 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:40:03.355115 INFO pred_bat: Invertor time 2023-12-10 14:39:14+00:00 AppDaemon time 2023-12-10 14:40:00.008943+00:00 difference -0.78 minutes 2023-12-10 14:40:03.357829 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:40:03.364940 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 14:40:04.622996 INFO pred_bat: Inverter 0 SOC: 3.08 kw 59 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2424.0 w Current voltage52.0 2023-12-10 14:40:04.625008 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:40:04.627208 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 14:40:04.635693 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 14:40:04.638551 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:40:04.641040 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:40:04.642975 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 3.08 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:40:04.718885 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 14:40:04.720481 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:40:04.721431 INFO pred_bat: Plan was last updated on 2023-12-10 14:30:00.007578+00:00 and is now 10.0 minutes old 2023-12-10 14:40:04.723041 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 14:30:00 @ 17.66p 5.22% ] 2023-12-10 14:40:04.724472 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:40:04.726667 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:40:04.753569 INFO pred_bat: predict base end_record 12-11 20:40:00 final soc 0.21 kwh metric 1751.63 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 123.96 pv 3.17 2023-12-10 14:40:04.758905 INFO pred_bat: [ 14:40, 15:40, 16:40, 17:40, 18:40, 19:40, 20:40, 21:40, 22:40, 23:40, 00:40, 01:40, 02:40, 03:40, 04:40, 05:40, 06:40, 07:40, 08:40, 09:40, 10:40, 11:40, 12:40, 13:40, 14:40, 15:40, 16:40, 17:40, 18:40, 19:40] 2023-12-10 14:40:04.761306 INFO pred_bat: SOC: [ 3.08, 5.22, 3.48, 0.84, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.62, 3.09, 2.09, 0.21, 0.21, 0.21] 2023-12-10 14:40:04.764124 INFO pred_bat: STATE: [ g 18.34 / 7.54', '945 => 17.52 / 7.21', '1005 => 40.11 / 16.45', '1065 => 40.7 / 16.69', '1125 => 35.57 / 14.58', '1185 => 19.48 / 8.01', '1245 => 19.0 / 7.81', '1305 => 18.92 / 7.78', '1485 => 12.71 / 5.22', '1545 => 12.44 / 5.12', '1605 => 10.4 / 4.27', '1665 => 11.07 / 4.55', '1725 => 14.18 / 5.83', '1785 => 17.69 / 7.28', '1845 => 19.85 / 8.17', '1905 => 19.71 / 8.11', '1965 => 20.57 / 8.46', '2025 => 20.62 / 8.48', '2085 => 21.14 / 8.69', '2145 => 20.44 / 8.4', '2205 => 21.65 / 8.9', '2265 => 21.79 / 8.96', '2325 => 22.43 / 9.22', '2385 => 22.95 / 9.44', '2445 => 42.25 / 17.33', '2505 => 43.82 / 17.97', '2565 => 41.24 / 16.92', '2625 => 24.23 / 9.97'] 2023-12-10 14:45:01.720550 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:45:01.722266 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:45:01.724963 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:45:01.726645 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:45:01.728958 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:45:01.738104 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:45:02.238660 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:45:02.245121 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:45:02.255324 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:45:02.257346 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:45:02.264123 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:45:02.270588 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:45:02.334716 INFO pred_bat: Todays energy import 26.1 kwh export 0.8 kwh cost 259.44 p import 272.4 p export -12.96 p 2023-12-10 14:45:02.340571 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:45:02.346503 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:45:02.352562 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:45:02.359269 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:45:02.390860 INFO pred_bat: Today's load divergence 85.88 % in-day adjustment 85.88 % damping 1.0x, Predicted so far 36.26 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 27.88 KWh with 0.0 kWh car excluded and 7.34 kWh import ignored 2023-12-10 14:45:02.480226 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.24, 59.87, 83.4, 86.38, 61.06, 62.62] - min 56.24 2023-12-10 14:45:02.482262 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:45:02.484294 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:45:02.485911 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:45:04.210777 INFO pred_bat: Invertor time 2023-12-10 14:44:54+00:00 AppDaemon time 2023-12-10 14:45:00.020057+00:00 difference -0.12 minutes 2023-12-10 14:45:04.212958 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:45:04.215100 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 14:45:05.279871 INFO pred_bat: Inverter 0 SOC: 3.29 kw 63 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 14:45:05.281788 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:45:05.283682 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 14:45:05.286118 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 14:45:05.289184 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:45:05.290834 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:45:05.293315 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 3.29 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:45:05.355332 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 14:45:05.356912 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:45:05.358087 INFO pred_bat: Plan was last updated on 2023-12-10 14:40:00.008943+00:00 and is now 5.0 minutes old 2023-12-10 14:45:05.359585 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 19:00:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:00:00 @ 17.66p 5.22% ] 2023-12-10 14:45:05.361025 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:45:05.363860 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:45:05.388363 INFO pred_bat: predict base end_record 12-11 21:05:00 final soc 0.21 kwh metric 1775.79 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 125.37 pv 3.16 2023-12-10 14:45:05.401053 INFO pred_bat: [ 14:45, 15:45, 16:45, 17:45, 18:45, 19:45, 20:45, 21:45, 22:45, 23:45, 00:45, 01:45, 02:45, 03:45, 04:45, 05:45, 06:45, 07:45, 08:45, 09:45, 10:45, 11:45, 12:45, 13:45, 14:45, 15:45, 16:45, 17:45, 18:45, 19:45, 20:45] 2023-12-10 14:45:05.403410 INFO pred_bat: SOC: [ 3.29, 5.22, 3.25, 0.61, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.83, 3.3, 1.86, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:45:05.406751 INFO pred_bat: STATE: [ g 18.34 / 7.54', '950 => 17.52 / 7.21', '1010 => 40.11 / 16.45', '1070 => 40.7 / 16.69', '1130 => 35.57 / 14.58', '1190 => 19.48 / 8.01', '1250 => 19.0 / 7.81', '1310 => 18.92 / 7.78', '1490 => 12.71 / 5.22', '1550 => 12.44 / 5.12', '1610 => 10.4 / 4.27', '1670 => 11.07 / 4.55', '1730 => 14.18 / 5.83', '1790 => 17.69 / 7.28', '1850 => 19.85 / 8.17', '1910 => 19.71 / 8.11', '1970 => 20.57 / 8.46', '2030 => 20.62 / 8.48', '2090 => 21.14 / 8.69', '2150 => 20.44 / 8.4', '2210 => 21.65 / 8.9', '2270 => 21.79 / 8.96', '2330 => 22.43 / 9.22', '2390 => 22.95 / 9.44', '2450 => 42.25 / 17.33', '2510 => 43.82 / 17.97', '2570 => 41.24 / 16.92', '2630 => 24.23 / 9.97'] 2023-12-10 14:50:01.436254 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:50:01.438082 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:50:01.440115 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:50:01.445448 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:50:01.447298 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:50:01.458123 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:50:01.884922 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:50:01.887668 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:50:01.895921 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:50:01.898733 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:50:01.904888 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:50:01.910966 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:50:01.961960 INFO pred_bat: Todays energy import 26.3 kwh export 0.8 kwh cost 262.5 p import 275.47 p export -12.96 p 2023-12-10 14:50:01.971942 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:50:01.978085 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:50:01.985097 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:50:01.991214 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:50:02.022174 INFO pred_bat: Today's load divergence 85.32 % in-day adjustment 85.32 % damping 1.0x, Predicted so far 36.55 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 27.88 KWh with 0.0 kWh car excluded and 7.49 kWh import ignored 2023-12-10 14:50:02.111946 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [55.95, 59.89, 83.37, 86.15, 61.46, 62.36] - min 55.95 2023-12-10 14:50:02.115634 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:50:02.120330 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:50:02.123883 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:50:03.202916 INFO pred_bat: Invertor time 2023-12-10 14:49:16+00:00 AppDaemon time 2023-12-10 14:50:00.007216+00:00 difference -0.75 minutes 2023-12-10 14:50:03.205787 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:50:03.207861 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 14:50:04.271632 INFO pred_bat: Inverter 0 SOC: 3.5 kw 67 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 14:50:04.273579 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:50:04.275125 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 14:50:04.278528 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 14:50:04.280624 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:50:04.284104 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:50:04.287931 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 3.5 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:50:04.354609 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 14:50:04.356147 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:50:04.357346 INFO pred_bat: Plan was last updated on 2023-12-10 14:40:00.008943+00:00 and is now 10.0 minutes old 2023-12-10 14:50:04.358731 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 17:30:00 - 10-12 19:00:00 @ 35.04p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:00:00 @ 17.66p 5.22% ] 2023-12-10 14:50:04.359958 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:50:04.362490 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:50:04.386560 INFO pred_bat: predict base end_record 12-11 21:10:00 final soc 0.21 kwh metric 1771.96 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 125.45 pv 3.15 2023-12-10 14:50:04.391996 INFO pred_bat: [ 14:50, 15:50, 16:50, 17:50, 18:50, 19:50, 20:50, 21:50, 22:50, 23:50, 00:50, 01:50, 02:50, 03:50, 04:50, 05:50, 06:50, 07:50, 08:50, 09:50, 10:50, 11:50, 12:50, 13:50, 14:50, 15:50, 16:50, 17:50, 18:50, 19:50, 20:50] 2023-12-10 14:50:04.394594 INFO pred_bat: SOC: [ 3.5, 5.22, 3.02, 0.39, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 1.03, 3.5, 1.63, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:50:04.396595 INFO pred_bat: STATE: [ g 18.34 / 7.54', '955 => 17.52 / 7.21', '1015 => 40.11 / 16.45', '1075 => 40.7 / 16.69', '1135 => 35.57 / 14.58', '1195 => 19.48 / 8.01', '1255 => 19.0 / 7.81', '1315 => 18.92 / 7.78', '1495 => 12.71 / 5.22', '1555 => 12.44 / 5.12', '1615 => 10.4 / 4.27', '1675 => 11.07 / 4.55', '1735 => 14.18 / 5.83', '1795 => 17.69 / 7.28', '1855 => 19.85 / 8.17', '1915 => 19.71 / 8.11', '1975 => 20.57 / 8.46', '2035 => 20.62 / 8.48', '2095 => 21.14 / 8.69', '2155 => 20.44 / 8.4', '2215 => 21.65 / 8.9', '2275 => 21.79 / 8.96', '2335 => 22.43 / 9.22', '2395 => 22.95 / 9.44', '2455 => 42.25 / 17.33', '2515 => 43.82 / 17.97', '2575 => 41.24 / 16.92', '2635 => 24.23 / 9.97'] 2023-12-10 14:55:02.196168 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:55:02.197803 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 14:55:02.199702 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 14:55:02.201307 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 14:55:02.203776 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 14:55:02.214965 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 14:55:02.695453 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 14:55:02.698245 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 14:55:02.708264 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 14:55:02.709786 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 14:55:02.715512 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 14:55:02.725637 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 14:55:02.788829 INFO pred_bat: Todays energy import 26.6 kwh export 0.8 kwh cost 267.1 p import 280.07 p export -12.96 p 2023-12-10 14:55:02.795630 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 14:55:02.804331 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 14:55:02.811499 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 14:55:02.820079 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 14:55:02.850979 INFO pred_bat: Today's load divergence 85.58 % in-day adjustment 85.58 % damping 1.0x, Predicted so far 36.82 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 28.28 KWh with 0.0 kWh car excluded and 7.49 kWh import ignored 2023-12-10 14:55:02.934225 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [55.69, 60.01, 83.35, 86.16, 61.21, 62.88] - min 55.69 2023-12-10 14:55:02.936130 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 14:55:02.938248 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 14:55:02.940228 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 14:55:04.192985 INFO pred_bat: Invertor time 2023-12-10 14:54:54+00:00 AppDaemon time 2023-12-10 14:55:00.005510+00:00 difference -0.12 minutes 2023-12-10 14:55:04.194890 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 14:55:04.197577 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 14:55:05.458067 INFO pred_bat: Inverter 0 SOC: 3.81 kw 73 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2425.0 w Current voltage52.0 2023-12-10 14:55:05.461304 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 14:55:05.462452 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 14:55:05.470610 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 14:55:05.472342 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 14:55:05.475132 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 14:55:05.476454 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 3.81 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 14:55:05.548690 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 14:55:05.555870 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 14:55:05.557110 INFO pred_bat: Plan was last updated on 2023-12-10 14:50:00.007216+00:00 and is now 5.0 minutes old 2023-12-10 14:55:05.558470 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:00:00 @ 17.66p 5.22% ] 2023-12-10 14:55:05.559426 INFO pred_bat: Best discharge window [ ] 2023-12-10 14:55:05.561040 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 14:55:05.589463 INFO pred_bat: predict base end_record 12-11 21:05:00 final soc 0.21 kwh metric 1766.32 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 125.51 pv 3.14 2023-12-10 14:55:05.594636 INFO pred_bat: [ 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55] 2023-12-10 14:55:05.597234 INFO pred_bat: SOC: [ 3.81, 5.22, 2.79, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 1.24, 3.71, 1.41, 0.21, 0.21, 0.21, 0.21] 2023-12-10 14:55:05.599774 INFO pred_bat: STATE: [ g 17.52 / 7.21', '960 => 40.11 / 16.45', '1020 => 40.7 / 16.69', '1080 => 35.57 / 14.58', '1140 => 19.48 / 8.01', '1200 => 19.0 / 7.81', '1260 => 18.92 / 7.78', '1380 => 19.54 / 8.03', '1440 => 12.71 / 5.22', '1500 => 12.44 / 5.12', '1560 => 10.4 / 4.27', '1620 => 11.07 / 4.55', '1680 => 14.18 / 5.83', '1740 => 17.69 / 7.28', '1800 => 19.85 / 8.17', '1860 => 19.71 / 8.11', '1920 => 20.57 / 8.46', '1980 => 20.62 / 8.48', '2040 => 21.14 / 8.69', '2100 => 20.44 / 8.4', '2160 => 21.65 / 8.9', '2220 => 21.79 / 8.96', '2280 => 22.43 / 9.22', '2340 => 22.95 / 9.44', '2400 => 42.25 / 17.33', '2460 => 43.82 / 17.97', '2520 => 41.24 / 16.92', '2580 => 24.23 / 9.97', '2640 => 22.02 / 9.05'] 2023-12-10 15:00:01.596563 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:00:01.598250 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:00:01.599795 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:00:01.601433 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:00:01.603028 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:00:01.612502 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:00:01.946490 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:00:01.950041 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:00:01.959018 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:00:01.960906 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:00:01.966794 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:00:01.977381 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:00:02.035044 INFO pred_bat: Todays energy import 26.9 kwh export 0.8 kwh cost 271.7 p import 284.66 p export -12.96 p 2023-12-10 15:00:02.043887 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:00:02.047921 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:00:02.052136 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:00:02.060203 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:00:02.089956 INFO pred_bat: Today's load divergence 85.93 % in-day adjustment 85.93 % damping 1.0x, Predicted so far 37.02 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 28.67 KWh with 0.0 kWh car excluded and 7.49 kWh import ignored 2023-12-10 15:00:02.169201 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [55.69, 59.91, 83.33, 86.43, 60.83, 62.88] - min 55.69 2023-12-10 15:00:02.171519 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:00:02.173806 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:00:02.175159 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:00:03.239955 INFO pred_bat: Invertor time 2023-12-10 14:59:40+00:00 AppDaemon time 2023-12-10 15:00:00.012027+00:00 difference -0.35 minutes 2023-12-10 15:00:03.242176 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:00:03.244610 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:00:04.305188 INFO pred_bat: Inverter 0 SOC: 4.02 kw 77 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 15:00:04.315306 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 15:00:04.317800 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 15:00:04.319505 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 15:00:04.321541 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:00:04.323147 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:00:04.324141 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 4.02 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:00:04.384651 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 15:00:04.386059 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:00:04.387263 INFO pred_bat: Plan was last updated on 2023-12-10 14:50:00.007216+00:00 and is now 10.0 minutes old 2023-12-10 15:00:04.389036 INFO pred_bat: Best charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 15.33p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:00:00 @ 17.66p 5.22% ] 2023-12-10 15:00:04.390390 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:00:04.392397 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:00:04.420730 INFO pred_bat: predict base end_record 12-11 21:10:00 final soc 0.21 kwh metric 1770.57 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 125.89 pv 3.14 2023-12-10 15:00:04.425484 INFO pred_bat: [ 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00, 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00] 2023-12-10 15:00:04.427661 INFO pred_bat: SOC: [ 4.02, 5.22, 2.56, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 1.44, 3.92, 1.18, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:00:04.429554 INFO pred_bat: STATE: [ g 17.52 / 7.21', '965 => 40.11 / 16.45', '1025 => 40.7 / 16.69', '1085 => 35.57 / 14.58', '1145 => 19.48 / 8.01', '1205 => 19.0 / 7.81', '1265 => 18.92 / 7.78', '1445 => 12.71 / 5.22', '1505 => 12.44 / 5.12', '1565 => 10.4 / 4.27', '1625 => 11.07 / 4.55', '1685 => 14.18 / 5.83', '1745 => 17.69 / 7.28', '1805 => 19.85 / 8.17', '1865 => 19.71 / 8.11', '1925 => 20.57 / 8.46', '1985 => 20.62 / 8.48', '2045 => 21.14 / 8.69', '2105 => 20.44 / 8.4', '2165 => 21.65 / 8.9', '2225 => 21.79 / 8.96', '2285 => 22.43 / 9.22', '2345 => 22.95 / 9.44', '2405 => 42.25 / 17.33', '2465 => 43.82 / 17.97', '2525 => 41.24 / 16.92', '2585 => 24.23 / 9.97', '2645 => 22.02 / 9.05'] 2023-12-10 15:05:01.377028 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:05:01.378406 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:05:01.381368 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:05:01.383184 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:05:01.385084 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:05:01.397978 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:05:01.746558 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:05:01.749483 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:05:01.760226 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:05:01.762775 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:05:01.769393 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:05:01.776801 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:05:01.847123 INFO pred_bat: Todays energy import 27.2 kwh export 0.8 kwh cost 276.53 p import 289.49 p export -12.96 p 2023-12-10 15:05:01.853663 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:05:01.860099 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:05:01.866306 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:05:01.872595 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:05:01.904816 INFO pred_bat: Today's load divergence 85.55 % in-day adjustment 85.55 % damping 1.0x, Predicted so far 37.22 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 28.68 KWh with 0.0 kWh car excluded and 7.62 kWh import ignored 2023-12-10 15:05:02.002369 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [55.85, 60.03, 83.19, 86.43, 60.84, 63.0] - min 55.85 2023-12-10 15:05:02.004085 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:05:02.006941 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:05:02.008265 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:05:03.053918 INFO pred_bat: Invertor time 2023-12-10 15:04:53+00:00 AppDaemon time 2023-12-10 15:05:00.006607+00:00 difference -0.13 minutes 2023-12-10 15:05:03.055973 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:05:03.057344 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:05:04.106306 INFO pred_bat: Inverter 0 SOC: 4.23 kw 81 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 15:05:04.107651 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 15:05:04.108876 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 15:05:04.110199 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 15:05:04.112206 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:05:04.114464 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:05:04.115531 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 4.23 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:05:04.175587 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 15:05:04.176685 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:05:04.177489 INFO pred_bat: Plan was last updated on 2023-12-10 15:00:00.012027+00:00 and is now 5.0 minutes old 2023-12-10 15:05:04.178537 INFO pred_bat: Best charge window [ 10-12 15:00:00 - 10-12 16:00:00 @ 16.18p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:00:00 @ 17.66p 5.22% ] 2023-12-10 15:05:04.179862 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:05:04.181427 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:05:04.206106 INFO pred_bat: predict base end_record 12-11 21:05:00 final soc 0.21 kwh metric 1762.49 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 125.51 pv 3.14 2023-12-10 15:05:04.208017 INFO pred_bat: [ 15:05, 16:05, 17:05, 18:05, 19:05, 20:05, 21:05, 22:05, 23:05, 00:05, 01:05, 02:05, 03:05, 04:05, 05:05, 06:05, 07:05, 08:05, 09:05, 10:05, 11:05, 12:05, 13:05, 14:05, 15:05, 16:05, 17:05, 18:05, 19:05, 20:05] 2023-12-10 15:05:04.209817 INFO pred_bat: SOC: [ 4.23, 4.99, 2.34, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 1.65, 3.69, 0.95, 0.21, 0.21, 0.21] 2023-12-10 15:05:04.211692 INFO pred_bat: STATE: [ g 17.52 / 7.21', '970 => 40.11 / 16.45', '1030 => 40.7 / 16.69', '1090 => 35.57 / 14.58', '1150 => 19.48 / 8.01', '1210 => 19.0 / 7.81', '1270 => 18.92 / 7.78', '1450 => 12.71 / 5.22', '1510 => 12.44 / 5.12', '1570 => 10.4 / 4.27', '1630 => 11.07 / 4.55', '1690 => 14.18 / 5.83', '1750 => 17.69 / 7.28', '1810 => 19.85 / 8.17', '1870 => 19.71 / 8.11', '1930 => 20.57 / 8.46', '1990 => 20.62 / 8.48', '2050 => 21.14 / 8.69', '2110 => 20.44 / 8.4', '2170 => 21.65 / 8.9', '2230 => 21.79 / 8.96', '2290 => 22.43 / 9.22', '2350 => 22.95 / 9.44', '2410 => 42.25 / 17.33', '2470 => 43.82 / 17.97', '2530 => 41.24 / 16.92', '2590 => 24.23 / 9.97', '2650 => 22.02 / 9.05'] 2023-12-10 15:10:01.593860 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:10:01.595954 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:10:01.597858 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:10:01.599623 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:10:01.601216 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:10:01.611311 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:10:01.966644 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:10:01.973393 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:10:01.981417 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:10:01.983213 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:10:01.994163 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:10:01.999882 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:10:02.065825 INFO pred_bat: Todays energy import 27.5 kwh export 0.8 kwh cost 281.38 p import 294.34 p export -12.96 p 2023-12-10 15:10:02.075413 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:10:02.081788 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:10:02.088369 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:10:02.098933 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:10:02.131607 INFO pred_bat: Today's load divergence 85.03 % in-day adjustment 85.03 % damping 1.0x, Predicted so far 37.49 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 28.68 KWh with 0.0 kWh car excluded and 7.77 kWh import ignored 2023-12-10 15:10:02.204948 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.15, 59.91, 83.17, 86.43, 60.86, 62.87] - min 56.15 2023-12-10 15:10:02.207777 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:10:02.210633 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:10:02.212645 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:10:03.293229 INFO pred_bat: Invertor time 2023-12-10 15:09:39+00:00 AppDaemon time 2023-12-10 15:10:00.005764+00:00 difference -0.37 minutes 2023-12-10 15:10:03.295835 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:10:03.302640 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:10:04.368543 INFO pred_bat: Inverter 0 SOC: 4.44 kw 85 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 15:10:04.371122 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 15:10:04.373695 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 15:10:04.375481 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 15:10:04.383004 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:10:04.384988 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:10:04.386527 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 4.44 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:10:04.443166 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 15:10:04.449586 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:10:04.450662 INFO pred_bat: Plan was last updated on 2023-12-10 15:00:00.012027+00:00 and is now 10.0 minutes old 2023-12-10 15:10:04.453188 INFO pred_bat: Best charge window [ 10-12 15:00:00 - 10-12 16:00:00 @ 16.18p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:00:00 @ 17.66p 5.22% ] 2023-12-10 15:10:04.454447 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:10:04.456328 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:10:04.480746 INFO pred_bat: predict base end_record 12-11 21:10:00 final soc 0.21 kwh metric 1761.1 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 125.53 pv 3.14 2023-12-10 15:10:04.483550 INFO pred_bat: [ 15:10, 16:10, 17:10, 18:10, 19:10, 20:10, 21:10, 22:10, 23:10, 00:10, 01:10, 02:10, 03:10, 04:10, 05:10, 06:10, 07:10, 08:10, 09:10, 10:10, 11:10, 12:10, 13:10, 14:10, 15:10, 16:10, 17:10, 18:10, 19:10, 20:10] 2023-12-10 15:10:04.485725 INFO pred_bat: SOC: [ 4.44, 4.84, 2.11, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 1.86, 3.46, 0.72, 0.21, 0.21, 0.21] 2023-12-10 15:10:04.487652 INFO pred_bat: STATE: [ g 17.52 / 7.21', '975 => 40.11 / 16.45', '1035 => 40.7 / 16.69', '1095 => 35.57 / 14.58', '1155 => 19.48 / 8.01', '1215 => 19.0 / 7.81', '1275 => 18.92 / 7.78', '1455 => 12.71 / 5.22', '1515 => 12.44 / 5.12', '1575 => 10.4 / 4.27', '1635 => 11.07 / 4.55', '1695 => 14.18 / 5.83', '1755 => 17.69 / 7.28', '1815 => 19.85 / 8.17', '1875 => 19.71 / 8.11', '1935 => 20.57 / 8.46', '1995 => 20.62 / 8.48', '2055 => 21.14 / 8.69', '2115 => 20.44 / 8.4', '2175 => 21.65 / 8.9', '2235 => 21.79 / 8.96', '2295 => 22.43 / 9.22', '2355 => 22.95 / 9.44', '2415 => 42.25 / 17.33', '2475 => 43.82 / 17.97', '2535 => 41.24 / 16.92', '2595 => 24.23 / 9.97', '2655 => 22.02 / 9.05'] 2023-12-10 15:15:01.220614 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:15:01.222306 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:15:01.225052 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:15:01.227866 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:15:01.230461 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:15:01.239253 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:15:01.663783 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:15:01.665869 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:15:01.674098 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:15:01.677214 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:15:01.682678 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:15:01.688611 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:15:01.754071 INFO pred_bat: Todays energy import 27.8 kwh export 0.8 kwh cost 286.24 p import 299.2 p export -12.96 p 2023-12-10 15:15:01.757824 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:15:01.761576 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:15:01.766124 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:15:01.769593 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:15:01.799910 INFO pred_bat: Today's load divergence 85.25 % in-day adjustment 85.25 % damping 1.0x, Predicted so far 37.78 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 29.08 KWh with 0.0 kWh car excluded and 7.77 kWh import ignored 2023-12-10 15:15:01.874086 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.17, 59.92, 83.02, 86.43, 61.0, 62.86] - min 56.17 2023-12-10 15:15:01.875776 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:15:01.877749 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:15:01.878816 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:15:02.943741 INFO pred_bat: Invertor time 2023-12-10 15:14:26+00:00 AppDaemon time 2023-12-10 15:15:00.007158+00:00 difference -0.58 minutes 2023-12-10 15:15:02.945316 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:15:02.947656 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:15:04.215486 INFO pred_bat: Inverter 0 SOC: 4.7 kw 90 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2425.0 w Current voltage52.0 2023-12-10 15:15:04.217297 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 15:15:04.219111 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 15:15:04.220936 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 15:15:04.223302 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:15:04.225234 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:15:04.226728 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 4.7 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:15:04.280251 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 15:15:04.282034 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:15:04.282896 INFO pred_bat: Plan was last updated on 2023-12-10 15:10:00.005764+00:00 and is now 5.0 minutes old 2023-12-10 15:15:04.284008 INFO pred_bat: Best charge window [ 10-12 15:00:00 - 10-12 16:00:00 @ 16.18p 5.22%, 10-12 19:00:00 - 10-12 19:30:00 @ 19.18p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:15:04.284965 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:15:04.286871 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:15:04.318125 INFO pred_bat: predict base end_record 12-11 21:35:00 final soc 0.21 kwh metric 1778.44 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 126.85 pv 3.24 2023-12-10 15:15:04.320494 INFO pred_bat: [ 15:15, 16:15, 17:15, 18:15, 19:15, 20:15, 21:15, 22:15, 23:15, 00:15, 01:15, 02:15, 03:15, 04:15, 05:15, 06:15, 07:15, 08:15, 09:15, 10:15, 11:15, 12:15, 13:15, 14:15, 15:15, 16:15, 17:15, 18:15, 19:15, 20:15, 21:15] 2023-12-10 15:15:04.323254 INFO pred_bat: SOC: [ 4.7, 4.62, 1.88, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 2.06, 3.23, 0.49, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:15:04.325443 INFO pred_bat: STATE: [ g 17.52 / 7.21', '980 => 40.11 / 16.45', '1040 => 40.7 / 16.69', '1100 => 35.57 / 14.58', '1160 => 19.48 / 8.01', '1220 => 19.0 / 7.81', '1280 => 18.92 / 7.78', '1460 => 12.71 / 5.22', '1520 => 12.44 / 5.12', '1580 => 10.4 / 4.27', '1640 => 11.07 / 4.55', '1700 => 14.18 / 5.83', '1760 => 17.69 / 7.28', '1820 => 19.85 / 8.17', '1880 => 19.71 / 8.11', '1940 => 20.57 / 8.46', '2000 => 20.62 / 8.48', '2060 => 21.14 / 8.69', '2120 => 20.44 / 8.4', '2180 => 21.65 / 8.9', '2240 => 21.79 / 8.96', '2300 => 22.43 / 9.22', '2360 => 22.95 / 9.44', '2420 => 42.25 / 17.33', '2480 => 43.82 / 17.97', '2540 => 41.24 / 16.92', '2600 => 24.23 / 9.97', '2660 => 22.02 / 9.05'] 2023-12-10 15:20:01.404380 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:20:01.406578 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:20:01.408564 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:20:01.410471 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:20:01.412357 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:20:01.423700 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:20:02.060907 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:20:02.063122 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:20:02.074807 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:20:02.077709 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:20:02.084575 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:20:02.091393 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:20:02.145144 INFO pred_bat: Todays energy import 28.2 kwh export 0.8 kwh cost 292.71 p import 305.67 p export -12.96 p 2023-12-10 15:20:02.151812 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:20:02.158986 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:20:02.165201 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:20:02.171173 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:20:02.204990 INFO pred_bat: Today's load divergence 85.22 % in-day adjustment 85.22 % damping 1.0x, Predicted so far 37.8 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 29.08 KWh with 0.0 kWh car excluded and 8.04 kWh import ignored 2023-12-10 15:20:02.288918 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [56.19, 60.17, 82.75, 86.44, 61.14, 62.86] - min 56.19 2023-12-10 15:20:02.292427 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:20:02.293976 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:20:02.295237 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:20:03.572961 INFO pred_bat: Invertor time 2023-12-10 15:19:37+00:00 AppDaemon time 2023-12-10 15:20:00.004684+00:00 difference -0.4 minutes 2023-12-10 15:20:03.575637 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:20:03.581850 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:20:04.650433 INFO pred_bat: Inverter 0 SOC: 4.96 kw 95 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2423.0 w Current voltage52.0 2023-12-10 15:20:04.652642 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 15:20:04.657580 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 15:20:04.660787 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 15:20:04.662168 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:20:04.663482 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:20:04.664413 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 4.96 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:20:04.718248 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 15:20:04.719598 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:20:04.720886 INFO pred_bat: Plan was last updated on 2023-12-10 15:10:00.005764+00:00 and is now 10.0 minutes old 2023-12-10 15:20:04.722279 INFO pred_bat: Best charge window [ 10-12 15:00:00 - 10-12 16:00:00 @ 16.18p 5.22%, 10-12 19:00:00 - 10-12 19:30:00 @ 19.18p 0.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:20:04.723487 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:20:04.726012 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:20:04.755031 INFO pred_bat: predict base end_record 12-11 21:40:00 final soc 0.21 kwh metric 1781.17 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 127.3 pv 3.24 2023-12-10 15:20:04.759186 INFO pred_bat: [ 15:20, 16:20, 17:20, 18:20, 19:20, 20:20, 21:20, 22:20, 23:20, 00:20, 01:20, 02:20, 03:20, 04:20, 05:20, 06:20, 07:20, 08:20, 09:20, 10:20, 11:20, 12:20, 13:20, 14:20, 15:20, 16:20, 17:20, 18:20, 19:20, 20:20, 21:20] 2023-12-10 15:20:04.761760 INFO pred_bat: SOC: [ 4.96, 4.39, 1.74, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 2.27, 3.0, 0.27, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:20:04.764996 INFO pred_bat: STATE: [ g 17.52 / 7.21', '985 => 40.11 / 16.45', '1045 => 40.7 / 16.69', '1105 => 35.57 / 14.58', '1165 => 19.48 / 8.01', '1225 => 19.0 / 7.81', '1285 => 18.92 / 7.78', '1465 => 12.71 / 5.22', '1525 => 12.44 / 5.12', '1585 => 10.4 / 4.27', '1645 => 11.07 / 4.55', '1705 => 14.18 / 5.83', '1765 => 17.69 / 7.28', '1825 => 19.85 / 8.17', '1885 => 19.71 / 8.11', '1945 => 20.57 / 8.46', '2005 => 20.62 / 8.48', '2065 => 21.14 / 8.69', '2125 => 20.44 / 8.4', '2185 => 21.65 / 8.9', '2245 => 21.79 / 8.96', '2305 => 22.43 / 9.22', '2365 => 22.95 / 9.44', '2425 => 42.25 / 17.33', '2485 => 43.82 / 17.97', '2545 => 41.24 / 16.92', '2605 => 24.23 / 9.97', '2665 => 22.02 / 9.05'] 2023-12-10 15:25:01.258634 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:25:01.260465 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:25:01.262739 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:25:01.264478 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:25:01.266620 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:25:01.276607 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:25:01.613574 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:25:01.618740 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:25:01.629119 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:25:01.632701 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:25:01.642673 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:25:01.660672 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:25:01.721789 INFO pred_bat: Todays energy import 28.6 kwh export 0.8 kwh cost 299.18 p import 312.14 p export -12.96 p 2023-12-10 15:25:01.728318 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:25:01.734434 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:25:01.741182 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:25:01.748628 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:25:01.783445 INFO pred_bat: Today's load divergence 84.53 % in-day adjustment 84.53 % damping 1.0x, Predicted so far 38.15 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 29.08 KWh with 0.0 kWh car excluded and 8.31 kWh import ignored 2023-12-10 15:25:01.863578 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [55.95, 60.56, 82.61, 86.44, 61.27, 62.99] - min 55.95 2023-12-10 15:25:01.866275 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:25:01.868346 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:25:01.869666 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:25:02.930530 INFO pred_bat: Invertor time 2023-12-10 15:24:48+00:00 AppDaemon time 2023-12-10 15:25:00.004830+00:00 difference -0.22 minutes 2023-12-10 15:25:02.932967 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:25:02.937622 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:25:04.203586 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power -2285.0 w Current voltage52.0 2023-12-10 15:25:04.207651 INFO pred_bat: Inverter 0 scheduled charge enable is True 2023-12-10 15:25:04.213892 INFO pred_bat: Inverter 0 charge windows currently [{'start': 870, 'end': 960, 'average': 0}, {'start': 2310, 'end': 2400, 'average': 0}, {'start': 3750, 'end': 3840, 'average': 0}] 2023-12-10 15:25:04.217160 INFO pred_bat: Inverter 0 Charge settings: 12-10 14:30:00-12-10 16:00:00 limit 100.0 power 2.6 kw 2023-12-10 15:25:04.221031 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:25:04.223293 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:25:04.225024 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:25:04.284530 INFO pred_bat: Base charge window [ 10-12 14:30:00 - 10-12 16:00:00 @ 0.0p 5.22%, 11-12 14:30:00 - 11-12 16:00:00 @ 0.0p 5.22%, 12-12 14:30:00 - 12-12 16:00:00 @ 0.0p 5.22% ] 2023-12-10 15:25:04.286215 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:25:04.287275 INFO pred_bat: Plan was last updated on 2023-12-10 15:20:00.004684+00:00 and is now 5.0 minutes old 2023-12-10 15:25:04.289015 INFO pred_bat: Best charge window [ 10-12 15:00:00 - 10-12 16:00:00 @ 16.18p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:25:04.290226 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:25:04.292948 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:25:04.319109 INFO pred_bat: predict base end_record 12-11 21:35:00 final soc 0.21 kwh metric 1772.75 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:50:00 kwh load 126.88 pv 3.24 2023-12-10 15:25:04.322316 INFO pred_bat: [ 15:25, 16:25, 17:25, 18:25, 19:25, 20:25, 21:25, 22:25, 23:25, 00:25, 01:25, 02:25, 03:25, 04:25, 05:25, 06:25, 07:25, 08:25, 09:25, 10:25, 11:25, 12:25, 13:25, 14:25, 15:25, 16:25, 17:25, 18:25, 19:25, 20:25, 21:25] 2023-12-10 15:25:04.324604 INFO pred_bat: SOC: [ 5.22, 4.16, 1.54, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 2.47, 2.78, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:25:04.327316 INFO pred_bat: STATE: [ g 17.52 / 7.21', '990 => 40.11 / 16.45', '1050 => 40.7 / 16.69', '1110 => 35.57 / 14.58', '1170 => 19.48 / 8.01', '1230 => 19.0 / 7.81', '1290 => 18.92 / 7.78', '1470 => 12.71 / 5.22', '1530 => 12.44 / 5.12', '1590 => 10.4 / 4.27', '1650 => 11.07 / 4.55', '1710 => 14.18 / 5.83', '1770 => 17.69 / 7.28', '1830 => 19.85 / 8.17', '1890 => 19.71 / 8.11', '1950 => 20.57 / 8.46', '2010 => 20.62 / 8.48', '2070 => 21.14 / 8.69', '2130 => 20.44 / 8.4', '2190 => 21.65 / 8.9', '2250 => 21.79 / 8.96', '2310 => 22.43 / 9.22', '2370 => 22.95 / 9.44', '2430 => 42.25 / 17.33', '2490 => 43.82 / 17.97', '2550 => 41.24 / 16.92', '2610 => 24.23 / 9.97', '2670 => 22.02 / 9.05'] 2023-12-10 15:30:01.547511 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:30:01.549583 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:30:01.553223 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:30:01.555561 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:30:01.557013 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:30:01.570359 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:30:02.061922 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:30:02.064239 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:30:02.074798 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:30:02.077058 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:30:02.083896 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:30:02.091642 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:30:02.136300 INFO pred_bat: Todays energy import 28.6 kwh export 0.8 kwh cost 299.18 p import 312.14 p export -12.96 p 2023-12-10 15:30:02.143286 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:30:02.146197 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:30:02.149984 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:30:02.153792 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:30:02.191153 INFO pred_bat: Today's load divergence 84.34 % in-day adjustment 84.34 % damping 1.0x, Predicted so far 38.52 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 29.36 KWh with 0.0 kWh car excluded and 8.31 kWh import ignored 2023-12-10 15:30:02.275820 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [55.05, 61.36, 82.6, 86.44, 61.41, 62.99] - min 55.05 2023-12-10 15:30:02.278122 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:30:02.281890 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:30:02.284550 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:30:03.358855 INFO pred_bat: Invertor time 2023-12-10 15:29:34+00:00 AppDaemon time 2023-12-10 15:30:00.009216+00:00 difference -0.45 minutes 2023-12-10 15:30:03.360241 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:30:03.361613 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:30:04.613445 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 15:30:04.615068 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 15:30:04.616884 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 15:30:04.618118 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 15:30:04.619923 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:30:04.621314 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:30:04.622925 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:30:04.713595 INFO pred_bat: Base charge window [ ] 2023-12-10 15:30:04.717523 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:30:04.719105 INFO pred_bat: Plan was last updated on 2023-12-10 15:20:00.004684+00:00 and is now 10.0 minutes old 2023-12-10 15:30:04.720896 INFO pred_bat: Best charge window [ 10-12 15:00:00 - 10-12 16:00:00 @ 16.18p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 08:30:00 @ 3.31p 5.22%, 11-12 09:00:00 - 11-12 09:30:00 @ 17.36p 0.21%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:30:04.722177 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:30:04.725884 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:30:04.758375 INFO pred_bat: predict base end_record 12-11 21:40:00 final soc 0.21 kwh metric 1857.64 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:25:00 kwh load 126.95 pv 3.24 2023-12-10 15:30:04.760804 INFO pred_bat: [ 15:30, 16:30, 17:30, 18:30, 19:30, 20:30, 21:30, 22:30, 23:30, 00:30, 01:30, 02:30, 03:30, 04:30, 05:30, 06:30, 07:30, 08:30, 09:30, 10:30, 11:30, 12:30, 13:30, 14:30, 15:30, 16:30, 17:30, 18:30, 19:30, 20:30, 21:30] 2023-12-10 15:30:04.763143 INFO pred_bat: SOC: [ 5.22, 2.63, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:30:04.765303 INFO pred_bat: STATE: [ g~be-, g 17.52 / 7.21', '995 => 40.11 / 16.45', '1055 => 40.7 / 16.69', '1115 => 35.57 / 14.58', '1175 => 19.48 / 8.01', '1235 => 19.0 / 7.81', '1295 => 18.92 / 7.78', '1475 => 12.71 / 5.22', '1535 => 12.44 / 5.12', '1595 => 10.4 / 4.27', '1655 => 11.07 / 4.55', '1715 => 14.18 / 5.83', '1775 => 17.69 / 7.28', '1835 => 19.85 / 8.17', '1895 => 19.71 / 8.11', '1955 => 20.57 / 8.46', '2015 => 20.62 / 8.48', '2075 => 21.14 / 8.69', '2135 => 20.44 / 8.4', '2195 => 21.65 / 8.9', '2255 => 21.79 / 8.96', '2315 => 22.43 / 9.22', '2375 => 22.95 / 9.44', '2435 => 42.25 / 17.33', '2495 => 43.82 / 17.97', '2555 => 41.24 / 16.92', '2615 => 24.23 / 9.97', '2675 => 22.02 / 9.05'] 2023-12-10 15:35:01.351146 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:35:01.352783 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:35:01.357622 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:35:01.361643 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:35:01.364235 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:35:01.388782 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:35:01.772019 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:35:01.776573 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:35:01.788877 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:35:01.799227 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:35:01.806726 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:35:01.815292 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:35:01.877260 INFO pred_bat: Todays energy import 28.7 kwh export 0.8 kwh cost 300.92 p import 313.88 p export -12.96 p 2023-12-10 15:35:01.883726 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:35:01.892122 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:35:01.898522 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:35:01.904722 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:35:01.938469 INFO pred_bat: Today's load divergence 83.44 % in-day adjustment 83.44 % damping 1.0x, Predicted so far 38.97 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 29.36 KWh with 0.0 kWh car excluded and 8.33 kWh import ignored 2023-12-10 15:35:02.030810 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [54.14, 62.39, 82.6, 86.32, 61.67, 62.86] - min 54.14 2023-12-10 15:35:02.035116 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:35:02.038171 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:35:02.039651 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:35:03.110270 INFO pred_bat: Invertor time 2023-12-10 15:34:46+00:00 AppDaemon time 2023-12-10 15:35:00.006455+00:00 difference -0.25 minutes 2023-12-10 15:35:03.113734 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:35:03.116701 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:35:04.177955 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 15:35:04.182591 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 15:35:04.184494 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 15:35:04.185746 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 15:35:04.188849 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:35:04.190868 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:35:04.192199 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:35:04.247766 INFO pred_bat: Base charge window [ ] 2023-12-10 15:35:04.249414 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:35:04.250282 INFO pred_bat: Plan was last updated on 2023-12-10 15:30:00.009216+00:00 and is now 5.0 minutes old 2023-12-10 15:35:04.251677 INFO pred_bat: Best charge window [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:35:04.253154 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:35:04.255251 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:35:04.284830 INFO pred_bat: predict base end_record 12-11 21:35:00 final soc 0.21 kwh metric 1843.29 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:30:00 kwh load 126.45 pv 3.24 2023-12-10 15:35:04.287508 INFO pred_bat: [ 15:35, 16:35, 17:35, 18:35, 19:35, 20:35, 21:35, 22:35, 23:35, 00:35, 01:35, 02:35, 03:35, 04:35, 05:35, 06:35, 07:35, 08:35, 09:35, 10:35, 11:35, 12:35, 13:35, 14:35, 15:35, 16:35, 17:35, 18:35, 19:35, 20:35] 2023-12-10 15:35:04.290461 INFO pred_bat: SOC: [ 5.22, 2.62, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:35:04.292655 INFO pred_bat: STATE: [ g 17.52 / 7.21', '1000 => 40.11 / 16.45', '1060 => 40.7 / 16.69', '1120 => 35.57 / 14.58', '1180 => 19.48 / 8.01', '1240 => 19.0 / 7.81', '1300 => 18.92 / 7.78', '1480 => 12.71 / 5.22', '1540 => 12.44 / 5.12', '1600 => 10.4 / 4.27', '1660 => 11.07 / 4.55', '1720 => 14.18 / 5.83', '1780 => 17.69 / 7.28', '1840 => 19.85 / 8.17', '1900 => 19.71 / 8.11', '1960 => 20.57 / 8.46', '2020 => 20.62 / 8.48', '2080 => 21.14 / 8.69', '2140 => 20.44 / 8.4', '2200 => 21.65 / 8.9', '2260 => 21.79 / 8.96', '2320 => 22.43 / 9.22', '2380 => 22.95 / 9.44', '2440 => 42.25 / 17.33', '2500 => 43.82 / 17.97', '2560 => 41.24 / 16.92', '2620 => 24.23 / 9.97', '2680 => 22.02 / 9.05'] 2023-12-10 15:40:01.640446 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:40:01.643573 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:40:01.645498 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:40:01.647466 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:40:01.650514 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:40:01.665185 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:40:02.179421 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:40:02.181571 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:40:02.189403 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:40:02.195678 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:40:02.202577 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:40:02.212134 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:40:02.265263 INFO pred_bat: Todays energy import 29.0 kwh export 0.8 kwh cost 306.59 p import 319.55 p export -12.96 p 2023-12-10 15:40:02.272473 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:40:02.278779 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:40:02.282875 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:40:02.286816 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:40:02.324554 INFO pred_bat: Today's load divergence 83.03 % in-day adjustment 83.03 % damping 1.0x, Predicted so far 39.45 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 29.63 KWh with 0.0 kWh car excluded and 8.33 kWh import ignored 2023-12-10 15:40:02.411144 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [52.85, 63.82, 82.34, 86.45, 61.67, 62.86] - min 52.85 2023-12-10 15:40:02.415831 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:40:02.418025 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:40:02.419837 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:40:03.465779 INFO pred_bat: Invertor time 2023-12-10 15:39:07+00:00 AppDaemon time 2023-12-10 15:40:00.006019+00:00 difference -0.9 minutes 2023-12-10 15:40:03.467818 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:40:03.474010 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:40:04.737989 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 15:40:04.739730 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 15:40:04.746698 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 15:40:04.748340 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 15:40:04.750159 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:40:04.757643 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:40:04.759842 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:40:04.818251 INFO pred_bat: Base charge window [ ] 2023-12-10 15:40:04.819701 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:40:04.820796 INFO pred_bat: Plan was last updated on 2023-12-10 15:30:00.009216+00:00 and is now 10.0 minutes old 2023-12-10 15:40:04.822098 INFO pred_bat: Best charge window [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 12-12 09:30:00 @ 16.18p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:40:04.823237 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:40:04.825266 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:40:04.852219 INFO pred_bat: predict base end_record 12-11 21:40:00 final soc 0.21 kwh metric 1841.46 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:35:00 kwh load 126.69 pv 3.24 2023-12-10 15:40:04.856826 INFO pred_bat: [ 15:40, 16:40, 17:40, 18:40, 19:40, 20:40, 21:40, 22:40, 23:40, 00:40, 01:40, 02:40, 03:40, 04:40, 05:40, 06:40, 07:40, 08:40, 09:40, 10:40, 11:40, 12:40, 13:40, 14:40, 15:40, 16:40, 17:40, 18:40, 19:40, 20:40] 2023-12-10 15:40:04.858548 INFO pred_bat: SOC: [ 5.22, 2.62, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:40:04.862238 INFO pred_bat: STATE: [ g 17.52 / 7.21', '1005 => 40.11 / 16.45', '1065 => 40.7 / 16.69', '1125 => 35.57 / 14.58', '1185 => 19.48 / 8.01', '1245 => 19.0 / 7.81', '1305 => 18.92 / 7.78', '1485 => 12.71 / 5.22', '1545 => 12.44 / 5.12', '1605 => 10.4 / 4.27', '1665 => 11.07 / 4.55', '1725 => 14.18 / 5.83', '1785 => 17.69 / 7.28', '1845 => 19.85 / 8.17', '1905 => 19.71 / 8.11', '1965 => 20.57 / 8.46', '2025 => 20.62 / 8.48', '2085 => 21.14 / 8.69', '2145 => 20.44 / 8.4', '2205 => 21.65 / 8.9', '2265 => 21.79 / 8.96', '2325 => 22.43 / 9.22', '2385 => 22.95 / 9.44', '2445 => 42.25 / 17.33', '2505 => 43.82 / 17.97', '2565 => 41.24 / 16.92', '2625 => 24.23 / 9.97', '2685 => 22.02 / 9.05'] 2023-12-10 15:45:01.263984 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:45:01.265732 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:45:01.267652 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:45:01.269621 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:45:01.271113 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:45:01.283285 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:45:01.755777 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:45:01.758710 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:45:01.771202 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:45:01.773035 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:45:01.780241 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:45:01.787661 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:45:01.850967 INFO pred_bat: Todays energy import 29.3 kwh export 0.8 kwh cost 312.26 p import 325.22 p export -12.96 p 2023-12-10 15:45:01.862675 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:45:01.874117 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:45:01.882466 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:45:01.891168 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:45:01.920131 INFO pred_bat: Today's load divergence 82.9 % in-day adjustment 82.9 % damping 1.0x, Predicted so far 39.91 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 30.02 KWh with 0.0 kWh car excluded and 8.33 kWh import ignored 2023-12-10 15:45:01.999117 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [51.94, 64.86, 82.2, 86.71, 61.41, 62.99] - min 51.94 2023-12-10 15:45:02.002264 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:45:02.003902 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:45:02.005320 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:45:03.096788 INFO pred_bat: Invertor time 2023-12-10 15:44:45+00:00 AppDaemon time 2023-12-10 15:45:00.004355+00:00 difference -0.27 minutes 2023-12-10 15:45:03.099290 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:45:03.100847 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:45:04.170163 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 15:45:04.175978 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 15:45:04.178221 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 15:45:04.179675 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 15:45:04.181129 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:45:04.183288 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:45:04.184755 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:45:04.245086 INFO pred_bat: Base charge window [ ] 2023-12-10 15:45:04.247820 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:45:04.248975 INFO pred_bat: Plan was last updated on 2023-12-10 15:40:00.006019+00:00 and is now 5.0 minutes old 2023-12-10 15:45:04.250863 INFO pred_bat: Best charge window [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 5.22%, 10-12 19:30:00 - 10-12 20:00:00 @ 18.32p 1.67%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 11-12 22:00:00 @ 16.18p 0.21%, 11-12 22:00:00 - 12-12 09:30:00 @ 13.23p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:45:04.252111 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:45:04.254643 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:45:04.285920 INFO pred_bat: predict base end_record 12-11 22:05:00 final soc 0.21 kwh metric 1858.35 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:40:00 kwh load 128.1 pv 3.24 2023-12-10 15:45:04.288152 INFO pred_bat: [ 15:45, 16:45, 17:45, 18:45, 19:45, 20:45, 21:45, 22:45, 23:45, 00:45, 01:45, 02:45, 03:45, 04:45, 05:45, 06:45, 07:45, 08:45, 09:45, 10:45, 11:45, 12:45, 13:45, 14:45, 15:45, 16:45, 17:45, 18:45, 19:45, 20:45, 21:45] 2023-12-10 15:45:04.290620 INFO pred_bat: SOC: [ 5.22, 2.62, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:45:04.292930 INFO pred_bat: STATE: [ g~be-, g 17.52 / 7.21', '1010 => 40.11 / 16.45', '1070 => 40.7 / 16.69', '1130 => 35.57 / 14.58', '1190 => 19.48 / 8.01', '1250 => 19.0 / 7.81', '1310 => 18.92 / 7.78', '1490 => 12.71 / 5.22', '1550 => 12.44 / 5.12', '1610 => 10.4 / 4.27', '1670 => 11.07 / 4.55', '1730 => 14.18 / 5.83', '1790 => 17.69 / 7.28', '1850 => 19.85 / 8.17', '1910 => 19.71 / 8.11', '1970 => 20.57 / 8.46', '2030 => 20.62 / 8.48', '2090 => 21.14 / 8.69', '2150 => 20.44 / 8.4', '2210 => 21.65 / 8.9', '2270 => 21.79 / 8.96', '2330 => 22.43 / 9.22', '2390 => 22.95 / 9.44', '2450 => 42.25 / 17.33', '2510 => 43.82 / 17.97', '2570 => 41.24 / 16.92', '2630 => 24.23 / 9.97', '2690 => 22.02 / 9.05'] 2023-12-10 15:50:01.937234 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:50:01.939179 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:50:01.941310 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:50:01.944289 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:50:01.946185 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:50:01.957420 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:50:02.445124 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:50:02.452911 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:50:02.462169 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:50:02.466136 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:50:02.472449 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:50:02.479615 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:50:02.532528 INFO pred_bat: Todays energy import 29.5 kwh export 0.8 kwh cost 316.04 p import 329.0 p export -12.96 p 2023-12-10 15:50:02.538034 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:50:02.545738 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:50:02.551485 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:50:02.557881 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:50:02.597322 INFO pred_bat: Today's load divergence 82.98 % in-day adjustment 82.98 % damping 1.0x, Predicted so far 40.26 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 30.41 KWh with 0.0 kWh car excluded and 8.33 kWh import ignored 2023-12-10 15:50:02.694543 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [50.77, 65.91, 81.94, 87.1, 61.41, 62.86] - min 50.77 2023-12-10 15:50:02.697158 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:50:02.700079 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:50:02.701468 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:50:03.759202 INFO pred_bat: Invertor time 2023-12-10 15:49:30+00:00 AppDaemon time 2023-12-10 15:50:00.021752+00:00 difference -0.52 minutes 2023-12-10 15:50:03.763231 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:50:03.770898 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:50:04.839328 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 15:50:04.840478 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 15:50:04.842152 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 15:50:04.843350 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 15:50:04.845069 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:50:04.846385 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:50:04.848296 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:50:04.902703 INFO pred_bat: Base charge window [ ] 2023-12-10 15:50:04.904006 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:50:04.905443 INFO pred_bat: Plan was last updated on 2023-12-10 15:40:00.006019+00:00 and is now 10.0 minutes old 2023-12-10 15:50:04.910557 INFO pred_bat: Best charge window [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 5.22%, 10-12 19:30:00 - 10-12 20:00:00 @ 18.32p 1.88%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 11-12 22:00:00 @ 16.18p 0.21%, 11-12 22:00:00 - 12-12 09:30:00 @ 13.23p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:50:04.911800 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:50:04.914239 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:50:04.952547 INFO pred_bat: predict base end_record 12-11 22:10:00 final soc 0.21 kwh metric 1859.1 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:40:00 kwh load 128.42 pv 3.24 2023-12-10 15:50:04.955071 INFO pred_bat: [ 15:50, 16:50, 17:50, 18:50, 19:50, 20:50, 21:50, 22:50, 23:50, 00:50, 01:50, 02:50, 03:50, 04:50, 05:50, 06:50, 07:50, 08:50, 09:50, 10:50, 11:50, 12:50, 13:50, 14:50, 15:50, 16:50, 17:50, 18:50, 19:50, 20:50, 21:50] 2023-12-10 15:50:04.958778 INFO pred_bat: SOC: [ 5.22, 2.58, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:50:04.961548 INFO pred_bat: STATE: [ g 17.52 / 7.21', '1015 => 40.11 / 16.45', '1075 => 40.7 / 16.69', '1135 => 35.57 / 14.58', '1195 => 19.48 / 8.01', '1255 => 19.0 / 7.81', '1315 => 18.92 / 7.78', '1495 => 12.71 / 5.22', '1555 => 12.44 / 5.12', '1615 => 10.4 / 4.27', '1675 => 11.07 / 4.55', '1735 => 14.18 / 5.83', '1795 => 17.69 / 7.28', '1855 => 19.85 / 8.17', '1915 => 19.71 / 8.11', '1975 => 20.57 / 8.46', '2035 => 20.62 / 8.48', '2095 => 21.14 / 8.69', '2155 => 20.44 / 8.4', '2215 => 21.65 / 8.9', '2275 => 21.79 / 8.96', '2335 => 22.43 / 9.22', '2395 => 22.95 / 9.44', '2455 => 42.25 / 17.33', '2515 => 43.82 / 17.97', '2575 => 41.24 / 16.92', '2635 => 24.23 / 9.97', '2695 => 22.02 / 9.05'] 2023-12-10 15:55:01.388472 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:55:01.390354 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 15:55:01.392209 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 15:55:01.394053 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 15:55:01.396041 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 15:55:01.408623 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 15:55:01.883126 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 15:55:01.885567 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 15:55:01.898945 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 15:55:01.900796 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 15:55:01.908522 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 15:55:01.916601 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 15:55:01.972062 INFO pred_bat: Todays energy import 29.7 kwh export 0.8 kwh cost 319.82 p import 332.78 p export -12.96 p 2023-12-10 15:55:02.020104 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 15:55:02.044939 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 15:55:02.050200 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 15:55:02.061483 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 15:55:02.103070 INFO pred_bat: Today's load divergence 82.27 % in-day adjustment 82.27 % damping 1.0x, Predicted so far 40.6 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 30.41 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 15:55:02.215933 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [50.38, 66.56, 81.55, 87.49, 61.41, 62.86] - min 50.38 2023-12-10 15:55:02.218026 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 15:55:02.219608 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 15:55:02.220669 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 15:55:03.475022 INFO pred_bat: Invertor time 2023-12-10 15:54:43+00:00 AppDaemon time 2023-12-10 15:55:00.010469+00:00 difference -0.3 minutes 2023-12-10 15:55:03.479807 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 15:55:03.482218 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 15:55:04.728487 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 15:55:04.729692 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 15:55:04.731896 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 15:55:04.734513 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 15:55:04.736875 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 15:55:04.746006 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 15:55:04.747555 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 15:55:04.830806 INFO pred_bat: Base charge window [ ] 2023-12-10 15:55:04.832477 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 15:55:04.833595 INFO pred_bat: Plan was last updated on 2023-12-10 15:50:00.021752+00:00 and is now 5.0 minutes old 2023-12-10 15:55:04.835268 INFO pred_bat: Best charge window [ 10-12 15:30:00 - 10-12 16:00:00 @ 18.9p 5.22%, 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 11-12 22:00:00 @ 16.18p 0.21%, 11-12 22:00:00 - 12-12 09:30:00 @ 13.23p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 15:55:04.836804 INFO pred_bat: Best discharge window [ ] 2023-12-10 15:55:04.839212 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 15:55:04.870899 INFO pred_bat: predict base end_record 12-11 22:05:00 final soc 0.21 kwh metric 1846.79 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:45:00 kwh load 127.99 pv 3.24 2023-12-10 15:55:04.873198 INFO pred_bat: [ 15:55, 16:55, 17:55, 18:55, 19:55, 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55, 21:55] 2023-12-10 15:55:04.876590 INFO pred_bat: SOC: [ 5.22, 2.58, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 15:55:04.878774 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1020 => 40.7 / 16.69', '1080 => 35.57 / 14.58', '1140 => 19.48 / 8.01', '1200 => 19.0 / 7.81', '1260 => 18.92 / 7.78', '1380 => 19.54 / 8.03', '1440 => 12.71 / 5.22', '1500 => 12.44 / 5.12', '1560 => 10.4 / 4.27', '1620 => 11.07 / 4.55', '1680 => 14.18 / 5.83', '1740 => 17.69 / 7.28', '1800 => 19.85 / 8.17', '1860 => 19.71 / 8.11', '1920 => 20.57 / 8.46', '1980 => 20.62 / 8.48', '2040 => 21.14 / 8.69', '2100 => 20.44 / 8.4', '2160 => 21.65 / 8.9', '2220 => 21.79 / 8.96', '2280 => 22.43 / 9.22', '2340 => 22.95 / 9.44', '2400 => 42.25 / 17.33', '2460 => 43.82 / 17.97', '2520 => 41.24 / 16.92', '2580 => 24.23 / 9.97', '2640 => 22.02 / 9.05', '2700 => 20.03 / 8.24'] 2023-12-10 16:00:01.601193 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:00:01.603430 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:00:01.605006 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:00:01.609642 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:00:01.611930 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:00:01.624341 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:00:02.146585 INFO pred_bat: Rate min forward looking: now 3.3075 at end of forecast 3.3075 2023-12-10 16:00:02.149956 INFO pred_bat: Import rates min 3.31 max 39.36 average 16.6 2023-12-10 16:00:02.159045 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:00:02.161095 INFO pred_bat: Rate thresholds (for charge/discharge) are import 38.86p (0.0) export 6.26p (0.0) 2023-12-10 16:00:02.169657 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:00:02.176920 INFO pred_bat: Low Import rate found rates in range 3.31 to 36.58 2023-12-10 16:00:02.232862 INFO pred_bat: Todays energy import 29.8 kwh export 0.8 kwh cost 321.71 p import 334.67 p export -12.96 p 2023-12-10 16:00:02.238783 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:00:02.247229 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:00:02.253039 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:00:02.259207 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:00:02.287253 INFO pred_bat: Today's load divergence 81.98 % in-day adjustment 81.98 % damping 1.0x, Predicted so far 41.01 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 30.67 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:00:02.374705 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [50.12, 66.8, 81.29, 87.88, 61.41, 62.99] - min 50.12 2023-12-10 16:00:02.377314 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:00:02.379747 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:00:02.381036 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:00:03.458491 INFO pred_bat: Invertor time 2023-12-10 15:59:31+00:00 AppDaemon time 2023-12-10 16:00:00.006302+00:00 difference -0.5 minutes 2023-12-10 16:00:03.461813 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:00:03.465870 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 100.0 % 2023-12-10 16:00:04.536937 INFO pred_bat: Inverter 0 SOC: 5.22 kw 100 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 0.0 w Current voltage52.0 2023-12-10 16:00:04.539752 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:00:04.545678 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:00:04.559082 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:00:04.567625 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:00:04.570762 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:00:04.576790 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 5.22 soc_max 5.22 soc 5.22 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:00:04.636988 INFO pred_bat: Base charge window [ ] 2023-12-10 16:00:04.638399 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:00:04.639907 INFO pred_bat: Plan was last updated on 2023-12-10 15:50:00.021752+00:00 and is now 10.0 minutes old 2023-12-10 16:00:04.641033 INFO pred_bat: Current charge window has expired, removing it 2023-12-10 16:00:04.642480 INFO pred_bat: Best charge window [ 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.22%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 11-12 22:00:00 @ 16.18p 0.21%, 11-12 22:00:00 - 12-12 09:30:00 @ 13.23p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 16:00:04.645186 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:00:04.647776 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:00:04.681736 INFO pred_bat: predict base end_record 12-11 22:10:00 final soc 0.21 kwh metric 1842.32 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:55:00 kwh load 128.06 pv 3.24 2023-12-10 16:00:04.687789 INFO pred_bat: [ 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00, 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00] 2023-12-10 16:00:04.691911 INFO pred_bat: SOC: [ 5.22, 2.58, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:00:04.696907 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1025 => 40.7 / 16.69', '1085 => 35.57 / 14.58', '1145 => 19.48 / 8.01', '1205 => 19.0 / 7.81', '1265 => 18.92 / 7.78', '1445 => 12.71 / 5.22', '1505 => 12.44 / 5.12', '1565 => 10.4 / 4.27', '1625 => 11.07 / 4.55', '1685 => 14.18 / 5.83', '1745 => 17.69 / 7.28', '1805 => 19.85 / 8.17', '1865 => 19.71 / 8.11', '1925 => 20.57 / 8.46', '1985 => 20.62 / 8.48', '2045 => 21.14 / 8.69', '2105 => 20.44 / 8.4', '2165 => 21.65 / 8.9', '2225 => 21.79 / 8.96', '2285 => 22.43 / 9.22', '2345 => 22.95 / 9.44', '2405 => 42.25 / 17.33', '2465 => 43.82 / 17.97', '2525 => 41.24 / 16.92', '2585 => 24.23 / 9.97', '2645 => 22.02 / 9.05', '2705 => 20.03 / 8.24'] 2023-12-10 16:05:01.255911 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:05:01.257279 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:05:01.258582 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:05:01.260026 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:05:01.261379 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:05:01.268877 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:05:01.598750 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:05:01.600347 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:05:01.607262 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:05:01.608773 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:05:01.613737 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:05:01.618952 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:05:01.680924 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:05:01.690232 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:05:01.695926 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:05:01.701878 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:05:01.712239 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:05:01.748611 INFO pred_bat: Today's load divergence 81.51 % in-day adjustment 81.51 % damping 1.0x, Predicted so far 41.36 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 30.8 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:05:01.834160 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [49.47, 67.47, 81.16, 88.14, 61.02, 63.25] - min 49.47 2023-12-10 16:05:01.835909 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:05:01.837441 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:05:01.838487 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:05:02.909934 INFO pred_bat: Invertor time 2023-12-10 16:04:44+00:00 AppDaemon time 2023-12-10 16:05:00.019232+00:00 difference -0.28 minutes 2023-12-10 16:05:02.914735 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:05:02.921119 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:05:04.003732 INFO pred_bat: Inverter 0 SOC: 5.07 kw 97 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2657.0 w Current voltage52.0 2023-12-10 16:05:04.006883 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:05:04.009171 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:05:04.011509 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:05:04.013518 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:05:04.018409 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:05:04.022225 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 5.07 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:05:04.086989 INFO pred_bat: Base charge window [ ] 2023-12-10 16:05:04.088280 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:05:04.089353 INFO pred_bat: Plan was last updated on 2023-12-10 16:00:00.006302+00:00 and is now 5.0 minutes old 2023-12-10 16:05:04.090418 INFO pred_bat: Best charge window [ 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 0.22%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 11-12 22:00:00 @ 16.18p 0.21%, 11-12 22:00:00 - 12-12 09:30:00 @ 13.23p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 16:05:04.091570 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:05:04.093803 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:05:04.119496 INFO pred_bat: predict base end_record 12-11 22:05:00 final soc 0.21 kwh metric 2023.48 p metric_keep 0.0 min_soc 0.21 @ 12-10 17:55:00 kwh load 127.57 pv 3.24 2023-12-10 16:05:04.121687 INFO pred_bat: [ 16:05, 17:05, 18:05, 19:05, 20:05, 21:05, 22:05, 23:05, 00:05, 01:05, 02:05, 03:05, 04:05, 05:05, 06:05, 07:05, 08:05, 09:05, 10:05, 11:05, 12:05, 13:05, 14:05, 15:05, 16:05, 17:05, 18:05, 19:05, 20:05, 21:05] 2023-12-10 16:05:04.123411 INFO pred_bat: SOC: [ 5.07, 2.43, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:05:04.125333 INFO pred_bat: STATE: [ g~be-, g 40.11 / 16.45', '1030 => 40.7 / 16.69', '1090 => 35.57 / 14.58', '1150 => 19.48 / 8.01', '1210 => 19.0 / 7.81', '1270 => 18.92 / 7.78', '1450 => 12.71 / 5.22', '1510 => 12.44 / 5.12', '1570 => 10.4 / 4.27', '1630 => 11.07 / 4.55', '1690 => 14.18 / 5.83', '1750 => 17.69 / 7.28', '1810 => 19.85 / 8.17', '1870 => 19.71 / 8.11', '1930 => 20.57 / 8.46', '1990 => 20.62 / 8.48', '2050 => 21.14 / 8.69', '2110 => 20.44 / 8.4', '2170 => 21.65 / 8.9', '2230 => 21.79 / 8.96', '2290 => 22.43 / 9.22', '2350 => 22.95 / 9.44', '2410 => 42.25 / 17.33', '2470 => 43.82 / 17.97', '2530 => 41.24 / 16.92', '2590 => 24.23 / 9.97', '2650 => 22.02 / 9.05', '2710 => 20.03 / 8.24'] 2023-12-10 16:10:01.449965 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:10:01.451926 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:10:01.453525 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:10:01.455049 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:10:01.456649 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:10:01.466119 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:10:01.924081 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:10:01.926871 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:10:01.950567 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:10:01.954745 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:10:01.965612 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:10:01.975198 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:10:02.027601 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:10:02.033784 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:10:02.040001 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:10:02.044674 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:10:02.050267 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:10:02.078206 INFO pred_bat: Today's load divergence 81.5 % in-day adjustment 81.5 % damping 1.0x, Predicted so far 41.63 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.06 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:10:02.173068 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [48.95, 68.1, 81.17, 88.27, 60.76, 63.51] - min 48.95 2023-12-10 16:10:02.175641 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:10:02.178836 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:10:02.182128 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:10:03.438367 INFO pred_bat: Invertor time 2023-12-10 16:09:31+00:00 AppDaemon time 2023-12-10 16:10:00.003143+00:00 difference -0.5 minutes 2023-12-10 16:10:03.440726 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:10:03.443603 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:10:04.516686 INFO pred_bat: Inverter 0 SOC: 5.01 kw 96 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 503.0 w Current voltage52.0 2023-12-10 16:10:04.517794 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:10:04.518881 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:10:04.524963 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:10:04.526578 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:10:04.528233 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:10:04.529502 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 5.01 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:10:04.588222 INFO pred_bat: Base charge window [ ] 2023-12-10 16:10:04.589575 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:10:04.591269 INFO pred_bat: Plan was last updated on 2023-12-10 16:00:00.006302+00:00 and is now 10.0 minutes old 2023-12-10 16:10:04.592572 INFO pred_bat: Best charge window [ 10-12 21:30:00 - 10-12 22:30:00 @ 16.18p 0.22%, 10-12 22:30:00 - 11-12 00:30:00 @ 9.04p 1.47%, 11-12 01:30:00 - 11-12 02:30:00 @ 7.21p 1.47%, 11-12 02:30:00 - 11-12 09:30:00 @ 3.31p 5.22%, 11-12 13:30:00 - 11-12 15:30:00 @ 17.66p 5.22%, 11-12 21:30:00 - 11-12 22:00:00 @ 16.18p 0.22%, 11-12 22:00:00 - 12-12 09:30:00 @ 13.23p 5.22%, 12-12 13:30:00 - 12-12 15:30:00 @ 17.66p 5.22% ] 2023-12-10 16:10:04.594349 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:10:04.596403 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:10:04.618225 INFO pred_bat: predict base end_record 12-11 22:10:00 final soc 0.21 kwh metric 2025.16 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:00:00 kwh load 127.82 pv 3.24 2023-12-10 16:10:04.622560 INFO pred_bat: [ 16:10, 17:10, 18:10, 19:10, 20:10, 21:10, 22:10, 23:10, 00:10, 01:10, 02:10, 03:10, 04:10, 05:10, 06:10, 07:10, 08:10, 09:10, 10:10, 11:10, 12:10, 13:10, 14:10, 15:10, 16:10, 17:10, 18:10, 19:10, 20:10, 21:10] 2023-12-10 16:10:04.624587 INFO pred_bat: SOC: [ 5.01, 2.29, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:10:04.626834 INFO pred_bat: STATE: [ g~be-, g 40.11 / 16.45', '1035 => 40.7 / 16.69', '1095 => 35.57 / 14.58', '1155 => 19.48 / 8.01', '1215 => 19.0 / 7.81', '1275 => 18.92 / 7.78', '1455 => 12.71 / 5.22', '1515 => 12.44 / 5.12', '1575 => 10.4 / 4.27', '1635 => 11.07 / 4.55', '1695 => 14.18 / 5.83', '1755 => 17.69 / 7.28', '1815 => 19.85 / 8.17', '1875 => 19.71 / 8.11', '1935 => 20.57 / 8.46', '1995 => 20.62 / 8.48', '2055 => 21.14 / 8.69', '2115 => 20.44 / 8.4', '2175 => 21.65 / 8.9', '2235 => 21.79 / 8.96', '2295 => 22.43 / 9.22', '2355 => 22.95 / 9.44', '2415 => 42.25 / 17.33', '2475 => 43.82 / 17.97', '2535 => 41.24 / 16.92', '2595 => 24.23 / 9.97', '2655 => 22.02 / 9.05', '2715 => 20.03 / 8.24'] 2023-12-10 16:15:01.276687 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:15:01.278163 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:15:01.280635 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:15:01.282527 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:15:01.284450 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:15:01.293165 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:15:01.699582 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:15:01.706347 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:15:01.721737 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:15:01.724521 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:15:01.732459 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:15:01.738271 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:15:01.803757 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:15:01.809302 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:15:01.816817 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:15:01.823528 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:15:01.829322 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:15:01.853865 INFO pred_bat: Today's load divergence 80.76 % in-day adjustment 80.76 % damping 1.0x, Predicted so far 41.99 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.07 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:15:01.926597 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [48.69, 68.62, 80.97, 88.21, 60.63, 63.64] - min 48.69 2023-12-10 16:15:01.932314 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:15:01.934820 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:15:01.937792 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:15:03.114649 INFO pred_bat: Invertor time 2023-12-10 16:14:44+00:00 AppDaemon time 2023-12-10 16:15:00.003914+00:00 difference -0.28 minutes 2023-12-10 16:15:03.116745 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:15:03.119124 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:15:04.198850 INFO pred_bat: Inverter 0 SOC: 4.96 kw 95 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 652.0 w Current voltage52.0 2023-12-10 16:15:04.201166 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:15:04.202376 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:15:04.203627 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:15:04.204994 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:15:04.206700 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:15:04.207719 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 4.96 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:15:04.265458 INFO pred_bat: Base charge window [ ] 2023-12-10 16:15:04.266544 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:15:04.267341 INFO pred_bat: Plan was last updated on 2023-12-10 16:10:00.003143+00:00 and is now 5.0 minutes old 2023-12-10 16:15:04.268643 INFO pred_bat: Best charge window [ 10-12 19:00:00 - 10-12 19:30:00 @ 19.18p 0.22%, 10-12 19:30:00 - 10-12 20:00:00 @ 18.32p 1.89%, 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 5.22%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 0.22%, 11-12 22:30:00 - 12-12 06:00:00 @ 18.08p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:15:04.269532 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:15:04.271065 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:15:04.292864 INFO pred_bat: predict base end_record 12-11 22:35:00 final soc 0.21 kwh metric 2042.18 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:05:00 kwh load 129.06 pv 3.24 2023-12-10 16:15:04.294747 INFO pred_bat: [ 16:15, 17:15, 18:15, 19:15, 20:15, 21:15, 22:15, 23:15, 00:15, 01:15, 02:15, 03:15, 04:15, 05:15, 06:15, 07:15, 08:15, 09:15, 10:15, 11:15, 12:15, 13:15, 14:15, 15:15, 16:15, 17:15, 18:15, 19:15, 20:15, 21:15, 22:15] 2023-12-10 16:15:04.296488 INFO pred_bat: SOC: [ 4.96, 2.22, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:15:04.298161 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1040 => 40.7 / 16.69', '1100 => 35.57 / 14.58', '1160 => 19.48 / 8.01', '1220 => 19.0 / 7.81', '1280 => 18.92 / 7.78', '1460 => 12.71 / 5.22', '1520 => 12.44 / 5.12', '1580 => 10.4 / 4.27', '1640 => 11.07 / 4.55', '1700 => 14.18 / 5.83', '1760 => 17.69 / 7.28', '1820 => 19.85 / 8.17', '1880 => 19.71 / 8.11', '1940 => 20.57 / 8.46', '2000 => 20.62 / 8.48', '2060 => 21.14 / 8.69', '2120 => 20.44 / 8.4', '2180 => 21.65 / 8.9', '2240 => 21.79 / 8.96', '2300 => 22.43 / 9.22', '2360 => 22.95 / 9.44', '2420 => 42.25 / 17.33', '2480 => 43.82 / 17.97', '2540 => 41.24 / 16.92', '2600 => 24.23 / 9.97', '2660 => 22.02 / 9.05', '2720 => 20.03 / 8.24'] 2023-12-10 16:20:01.383962 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:20:01.385648 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:20:01.387384 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:20:01.389010 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:20:01.390840 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:20:01.397935 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:20:01.723558 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:20:01.731751 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:20:01.740996 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:20:01.750669 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:20:01.762135 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:20:01.782162 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:20:01.825596 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:20:01.832155 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:20:01.835541 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:20:01.838388 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:20:01.842087 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:20:01.865249 INFO pred_bat: Today's load divergence 80.13 % in-day adjustment 80.13 % damping 1.0x, Predicted so far 42.42 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.2 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:20:01.941808 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [47.91, 69.42, 80.64, 88.53, 60.37, 63.9] - min 47.91 2023-12-10 16:20:01.943990 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:20:01.946295 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:20:01.947661 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:20:03.236754 INFO pred_bat: Invertor time 2023-12-10 16:19:55+00:00 AppDaemon time 2023-12-10 16:20:00.008075+00:00 difference -0.1 minutes 2023-12-10 16:20:03.238976 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:20:03.241703 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:20:04.314063 INFO pred_bat: Inverter 0 SOC: 4.86 kw 93 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 1841.0 w Current voltage52.0 2023-12-10 16:20:04.316567 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:20:04.321989 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:20:04.323795 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:20:04.328987 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:20:04.330882 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:20:04.332935 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 4.86 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:20:04.393532 INFO pred_bat: Base charge window [ ] 2023-12-10 16:20:04.395445 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:20:04.396632 INFO pred_bat: Plan was last updated on 2023-12-10 16:10:00.003143+00:00 and is now 10.0 minutes old 2023-12-10 16:20:04.398542 INFO pred_bat: Best charge window [ 10-12 19:00:00 - 10-12 19:30:00 @ 19.18p 0.22%, 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 4.47%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 0.22%, 11-12 22:30:00 - 12-12 06:00:00 @ 18.08p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:20:04.400950 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:20:04.402888 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:20:04.430818 INFO pred_bat: predict base end_record 12-11 22:40:00 final soc 0.21 kwh metric 2037.22 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:05:00 kwh load 129.02 pv 3.24 2023-12-10 16:20:04.433815 INFO pred_bat: [ 16:20, 17:20, 18:20, 19:20, 20:20, 21:20, 22:20, 23:20, 00:20, 01:20, 02:20, 03:20, 04:20, 05:20, 06:20, 07:20, 08:20, 09:20, 10:20, 11:20, 12:20, 13:20, 14:20, 15:20, 16:20, 17:20, 18:20, 19:20, 20:20, 21:20, 22:20] 2023-12-10 16:20:04.437320 INFO pred_bat: SOC: [ 4.86, 2.22, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:20:04.439608 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1045 => 40.7 / 16.69', '1105 => 35.57 / 14.58', '1165 => 19.48 / 8.01', '1225 => 19.0 / 7.81', '1285 => 18.92 / 7.78', '1465 => 12.71 / 5.22', '1525 => 12.44 / 5.12', '1585 => 10.4 / 4.27', '1645 => 11.07 / 4.55', '1705 => 14.18 / 5.83', '1765 => 17.69 / 7.28', '1825 => 19.85 / 8.17', '1885 => 19.71 / 8.11', '1945 => 20.57 / 8.46', '2005 => 20.62 / 8.48', '2065 => 21.14 / 8.69', '2125 => 20.44 / 8.4', '2185 => 21.65 / 8.9', '2245 => 21.79 / 8.96', '2305 => 22.43 / 9.22', '2365 => 22.95 / 9.44', '2425 => 42.25 / 17.33', '2485 => 43.82 / 17.97', '2545 => 41.24 / 16.92', '2605 => 24.23 / 9.97', '2665 => 22.02 / 9.05', '2725 => 20.03 / 8.24'] 2023-12-10 16:25:01.257494 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:25:01.259191 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:25:01.260827 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:25:01.262458 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:25:01.264109 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:25:01.271965 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:25:01.601343 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:25:01.604275 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:25:01.611653 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:25:01.613467 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:25:01.618911 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:25:01.624498 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:25:01.696225 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:25:01.701680 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:25:01.708245 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:25:01.713804 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:25:01.719849 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:25:01.745654 INFO pred_bat: Today's load divergence 79.55 % in-day adjustment 79.55 % damping 1.0x, Predicted so far 42.82 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.32 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:25:01.813309 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [47.26, 69.81, 80.38, 88.79, 60.63, 63.77] - min 47.26 2023-12-10 16:25:01.815263 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:25:01.821853 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:25:01.823426 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:25:02.898129 INFO pred_bat: Invertor time 2023-12-10 16:24:41+00:00 AppDaemon time 2023-12-10 16:25:00.012601+00:00 difference -0.33 minutes 2023-12-10 16:25:02.914621 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:25:02.916700 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:25:04.012536 INFO pred_bat: Inverter 0 SOC: 4.7 kw 90 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2117.0 w Current voltage52.0 2023-12-10 16:25:04.015630 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:25:04.019071 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:25:04.026847 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:25:04.028525 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:25:04.030951 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:25:04.032567 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 4.7 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:25:04.094563 INFO pred_bat: Base charge window [ ] 2023-12-10 16:25:04.095934 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:25:04.097137 INFO pred_bat: Plan was last updated on 2023-12-10 16:20:00.008075+00:00 and is now 5.0 minutes old 2023-12-10 16:25:04.099553 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 5.22%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 0.22%, 11-12 22:30:00 - 12-12 06:00:00 @ 18.08p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:25:04.100569 INFO pred_bat: Best discharge window [ 10-12 19:00:00 - 10-12 20:00:00 @ 16.93p 8.0% ] 2023-12-10 16:25:04.102774 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:25:04.141891 INFO pred_bat: predict base end_record 12-11 22:35:00 final soc 0.21 kwh metric 2021.81 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 128.37 pv 3.24 2023-12-10 16:25:04.144307 INFO pred_bat: [ 16:25, 17:25, 18:25, 19:25, 20:25, 21:25, 22:25, 23:25, 00:25, 01:25, 02:25, 03:25, 04:25, 05:25, 06:25, 07:25, 08:25, 09:25, 10:25, 11:25, 12:25, 13:25, 14:25, 15:25, 16:25, 17:25, 18:25, 19:25, 20:25, 21:25, 22:25] 2023-12-10 16:25:04.150185 INFO pred_bat: SOC: [ 4.7, 2.09, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:25:04.153541 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1050 => 40.7 / 16.69', '1110 => 35.57 / 14.58', '1170 => 19.48 / 8.01', '1230 => 19.0 / 7.81', '1290 => 18.92 / 7.78', '1470 => 12.71 / 5.22', '1530 => 12.44 / 5.12', '1590 => 10.4 / 4.27', '1650 => 11.07 / 4.55', '1710 => 14.18 / 5.83', '1770 => 17.69 / 7.28', '1830 => 19.85 / 8.17', '1890 => 19.71 / 8.11', '1950 => 20.57 / 8.46', '2010 => 20.62 / 8.48', '2070 => 21.14 / 8.69', '2130 => 20.44 / 8.4', '2190 => 21.65 / 8.9', '2250 => 21.79 / 8.96', '2310 => 22.43 / 9.22', '2370 => 22.95 / 9.44', '2430 => 42.25 / 17.33', '2490 => 43.82 / 17.97', '2550 => 41.24 / 16.92', '2610 => 24.23 / 9.97', '2670 => 22.02 / 9.05', '2730 => 20.03 / 8.24'] 2023-12-10 16:30:01.480480 INFO octoblock: Best priced 1.5 hour period starts at: 2023-12-10T22:30:00GMT 2023-12-10 16:30:01.538698 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:30:01.546792 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:30:01.551065 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:30:01.557717 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:30:01.569721 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:30:01.584482 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:30:02.023165 INFO octoblock: Lowest average price for 2 hour block is: 11.79 p/kWh 2023-12-10 16:30:02.027067 INFO octoblock: Best priced 2 hour period starts at: 2023-12-10T22:30:00GMT 2023-12-10 16:30:02.202208 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:30:02.204186 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:30:02.215796 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:30:02.218839 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:30:02.225402 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:30:02.232759 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:30:02.271975 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:30:02.279555 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:30:02.307156 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:30:02.311555 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:30:02.315109 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:30:02.353206 INFO pred_bat: Today's load divergence 79.41 % in-day adjustment 79.41 % damping 1.0x, Predicted so far 43.14 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.58 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:30:02.421454 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [47.0, 69.94, 79.99, 89.05, 60.63, 63.9] - min 47.0 2023-12-10 16:30:02.425187 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:30:02.428087 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:30:02.429364 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:30:03.504747 INFO pred_bat: Invertor time 2023-12-10 16:29:54+00:00 AppDaemon time 2023-12-10 16:30:00.010719+00:00 difference -0.12 minutes 2023-12-10 16:30:03.507273 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:30:03.511196 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:30:04.583908 INFO pred_bat: Inverter 0 SOC: 4.44 kw 85 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2427.0 w Current voltage52.0 2023-12-10 16:30:04.586646 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:30:04.587991 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:30:04.589794 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:30:04.591814 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:30:04.593665 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:30:04.599197 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 4.44 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:30:04.662923 INFO pred_bat: Base charge window [ ] 2023-12-10 16:30:04.664394 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:30:04.665686 INFO pred_bat: Plan was last updated on 2023-12-10 16:20:00.008075+00:00 and is now 10.0 minutes old 2023-12-10 16:30:04.667748 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 4.47%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 0.22%, 11-12 22:30:00 - 12-12 06:00:00 @ 18.08p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:30:04.668929 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:30:04.671146 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:30:04.697056 INFO pred_bat: predict base end_record 12-11 22:40:00 final soc 0.21 kwh metric 2026.81 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:05:00 kwh load 128.66 pv 3.24 2023-12-10 16:30:04.700541 INFO pred_bat: [ 16:30, 17:30, 18:30, 19:30, 20:30, 21:30, 22:30, 23:30, 00:30, 01:30, 02:30, 03:30, 04:30, 05:30, 06:30, 07:30, 08:30, 09:30, 10:30, 11:30, 12:30, 13:30, 14:30, 15:30, 16:30, 17:30, 18:30, 19:30, 20:30, 21:30, 22:30] 2023-12-10 16:30:04.702412 INFO pred_bat: SOC: [ 4.44, 1.84, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:30:04.704223 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1055 => 40.7 / 16.69', '1115 => 35.57 / 14.58', '1175 => 19.48 / 8.01', '1235 => 19.0 / 7.81', '1295 => 18.92 / 7.78', '1475 => 12.71 / 5.22', '1535 => 12.44 / 5.12', '1595 => 10.4 / 4.27', '1655 => 11.07 / 4.55', '1715 => 14.18 / 5.83', '1775 => 17.69 / 7.28', '1835 => 19.85 / 8.17', '1895 => 19.71 / 8.11', '1955 => 20.57 / 8.46', '2015 => 20.62 / 8.48', '2075 => 21.14 / 8.69', '2135 => 20.44 / 8.4', '2195 => 21.65 / 8.9', '2255 => 21.79 / 8.96', '2315 => 22.43 / 9.22', '2375 => 22.95 / 9.44', '2435 => 42.25 / 17.33', '2495 => 43.82 / 17.97', '2555 => 41.24 / 16.92', '2615 => 24.23 / 9.97', '2675 => 22.02 / 9.05', '2735 => 20.03 / 8.24'] 2023-12-10 16:35:01.837689 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:35:01.839967 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:35:01.846891 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:35:01.848823 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:35:01.850722 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:35:01.862673 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:35:02.371728 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:35:02.375551 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:35:02.394164 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:35:02.398123 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:35:02.408872 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:35:02.415876 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:35:02.481053 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:35:02.488341 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:35:02.493904 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:35:02.499521 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:35:02.504901 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:35:02.538109 INFO pred_bat: Today's load divergence 78.94 % in-day adjustment 78.94 % damping 1.0x, Predicted so far 43.62 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.84 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:35:02.611784 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [46.74, 70.07, 79.99, 89.18, 60.89, 63.77] - min 46.74 2023-12-10 16:35:02.614137 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:35:02.616256 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:35:02.617618 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:35:04.082705 INFO pred_bat: Invertor time 2023-12-10 16:34:38+00:00 AppDaemon time 2023-12-10 16:35:00.012038+00:00 difference -0.38 minutes 2023-12-10 16:35:04.084299 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:35:04.086860 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:35:05.152405 INFO pred_bat: Inverter 0 SOC: 4.23 kw 81 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2232.0 w Current voltage52.0 2023-12-10 16:35:05.162266 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:35:05.163946 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:35:05.168511 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:35:05.170704 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:35:05.172471 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:35:05.173891 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 4.23 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:35:05.227944 INFO pred_bat: Base charge window [ ] 2023-12-10 16:35:05.231049 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:35:05.232245 INFO pred_bat: Plan was last updated on 2023-12-10 16:30:00.010719+00:00 and is now 5.0 minutes old 2023-12-10 16:35:05.234236 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 5.22%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 1.47%, 11-12 23:00:00 - 12-12 06:00:00 @ 14.33p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:35:05.235953 INFO pred_bat: Best discharge window [ 10-12 19:00:00 - 10-12 20:00:00 @ 16.93p 8.0% ] 2023-12-10 16:35:05.237635 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:35:05.272448 INFO pred_bat: predict base end_record 12-11 23:05:00 final soc 0.21 kwh metric 2048.05 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 130.03 pv 3.24 2023-12-10 16:35:05.274353 INFO pred_bat: [ 16:35, 17:35, 18:35, 19:35, 20:35, 21:35, 22:35, 23:35, 00:35, 01:35, 02:35, 03:35, 04:35, 05:35, 06:35, 07:35, 08:35, 09:35, 10:35, 11:35, 12:35, 13:35, 14:35, 15:35, 16:35, 17:35, 18:35, 19:35, 20:35, 21:35, 22:35] 2023-12-10 16:35:05.276444 INFO pred_bat: SOC: [ 4.23, 1.64, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:35:05.278199 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1060 => 40.7 / 16.69', '1120 => 35.57 / 14.58', '1180 => 19.48 / 8.01', '1240 => 19.0 / 7.81', '1300 => 18.92 / 7.78', '1480 => 12.71 / 5.22', '1540 => 12.44 / 5.12', '1600 => 10.4 / 4.27', '1660 => 11.07 / 4.55', '1720 => 14.18 / 5.83', '1780 => 17.69 / 7.28', '1840 => 19.85 / 8.17', '1900 => 19.71 / 8.11', '1960 => 20.57 / 8.46', '2020 => 20.62 / 8.48', '2080 => 21.14 / 8.69', '2140 => 20.44 / 8.4', '2200 => 21.65 / 8.9', '2260 => 21.79 / 8.96', '2320 => 22.43 / 9.22', '2380 => 22.95 / 9.44', '2440 => 42.25 / 17.33', '2500 => 43.82 / 17.97', '2560 => 41.24 / 16.92', '2620 => 24.23 / 9.97', '2680 => 22.02 / 9.05', '2740 => 20.03 / 8.24'] 2023-12-10 16:40:01.441718 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:40:01.443350 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:40:01.444891 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:40:01.446997 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:40:01.448548 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:40:01.457512 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:40:01.959938 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:40:01.962271 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:40:01.973510 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:40:01.975571 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:40:01.982917 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:40:01.989920 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:40:02.034821 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:40:02.040942 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:40:02.047271 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:40:02.053720 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:40:02.060017 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:40:02.091326 INFO pred_bat: Today's load divergence 78.52 % in-day adjustment 78.52 % damping 1.0x, Predicted so far 43.95 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 31.98 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:40:02.167746 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [45.57, 70.98, 80.12, 89.18, 60.89, 63.38] - min 45.57 2023-12-10 16:40:02.169961 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:40:02.172510 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:40:02.173643 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:40:03.240784 INFO pred_bat: Invertor time 2023-12-10 16:39:50+00:00 AppDaemon time 2023-12-10 16:40:00.009484+00:00 difference -0.18 minutes 2023-12-10 16:40:03.249116 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:40:03.259075 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:40:04.312145 INFO pred_bat: Inverter 0 SOC: 4.02 kw 77 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2054.0 w Current voltage52.0 2023-12-10 16:40:04.319615 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:40:04.328160 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:40:04.333628 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:40:04.339162 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:40:04.343084 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:40:04.348366 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 4.02 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:40:04.422078 INFO pred_bat: Base charge window [ ] 2023-12-10 16:40:04.423621 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:40:04.425180 INFO pred_bat: Plan was last updated on 2023-12-10 16:30:00.010719+00:00 and is now 10.0 minutes old 2023-12-10 16:40:04.426843 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 4.47%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 1.47%, 11-12 23:00:00 - 12-12 06:00:00 @ 14.33p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:40:04.428205 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:40:04.430085 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:40:04.456015 INFO pred_bat: predict base end_record 12-11 23:10:00 final soc 0.21 kwh metric 2048.04 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 130.23 pv 3.24 2023-12-10 16:40:04.458255 INFO pred_bat: [ 16:40, 17:40, 18:40, 19:40, 20:40, 21:40, 22:40, 23:40, 00:40, 01:40, 02:40, 03:40, 04:40, 05:40, 06:40, 07:40, 08:40, 09:40, 10:40, 11:40, 12:40, 13:40, 14:40, 15:40, 16:40, 17:40, 18:40, 19:40, 20:40, 21:40, 22:40] 2023-12-10 16:40:04.460435 INFO pred_bat: SOC: [ 4.02, 1.43, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:40:04.462468 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1065 => 40.7 / 16.69', '1125 => 35.57 / 14.58', '1185 => 19.48 / 8.01', '1245 => 19.0 / 7.81', '1305 => 18.92 / 7.78', '1485 => 12.71 / 5.22', '1545 => 12.44 / 5.12', '1605 => 10.4 / 4.27', '1665 => 11.07 / 4.55', '1725 => 14.18 / 5.83', '1785 => 17.69 / 7.28', '1845 => 19.85 / 8.17', '1905 => 19.71 / 8.11', '1965 => 20.57 / 8.46', '2025 => 20.62 / 8.48', '2085 => 21.14 / 8.69', '2145 => 20.44 / 8.4', '2205 => 21.65 / 8.9', '2265 => 21.79 / 8.96', '2325 => 22.43 / 9.22', '2385 => 22.95 / 9.44', '2445 => 42.25 / 17.33', '2505 => 43.82 / 17.97', '2565 => 41.24 / 16.92', '2625 => 24.23 / 9.97', '2685 => 22.02 / 9.05', '2745 => 20.03 / 8.24'] 2023-12-10 16:45:01.510393 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:45:01.511817 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:45:01.513234 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:45:01.514584 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:45:01.516241 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:45:01.522890 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:45:01.949710 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:45:01.952667 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:45:01.960373 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:45:01.961955 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:45:01.967140 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:45:01.973648 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:45:02.035735 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:45:02.041982 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:45:02.048523 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:45:02.056165 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:45:02.061541 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:45:02.091644 INFO pred_bat: Today's load divergence 78.35 % in-day adjustment 78.35 % damping 1.0x, Predicted so far 44.28 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 32.24 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:45:02.179340 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [45.44, 71.17, 80.06, 89.18, 61.02, 62.86] - min 45.44 2023-12-10 16:45:02.184157 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:45:02.186306 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:45:02.187957 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:45:03.252222 INFO pred_bat: Invertor time 2023-12-10 16:44:38+00:00 AppDaemon time 2023-12-10 16:45:00.020471+00:00 difference -0.38 minutes 2023-12-10 16:45:03.255819 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:45:03.258024 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:45:04.338792 INFO pred_bat: Inverter 0 SOC: 3.81 kw 73 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2638.0 w Current voltage52.0 2023-12-10 16:45:04.344323 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:45:04.352802 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:45:04.354852 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:45:04.358657 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:45:04.373068 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:45:04.378958 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 3.81 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:45:04.447051 INFO pred_bat: Base charge window [ ] 2023-12-10 16:45:04.451665 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:45:04.452755 INFO pred_bat: Plan was last updated on 2023-12-10 16:40:00.009484+00:00 and is now 5.0 minutes old 2023-12-10 16:45:04.454382 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 5.22%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 1.47%, 11-12 23:00:00 - 12-12 06:00:00 @ 14.33p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:45:04.455605 INFO pred_bat: Best discharge window [ 10-12 19:00:00 - 10-12 20:00:00 @ 16.93p 8.0% ] 2023-12-10 16:45:04.457868 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:45:04.486905 INFO pred_bat: predict base end_record 12-11 23:05:00 final soc 0.21 kwh metric 2041.69 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 129.93 pv 3.24 2023-12-10 16:45:04.498179 INFO pred_bat: [ 16:45, 17:45, 18:45, 19:45, 20:45, 21:45, 22:45, 23:45, 00:45, 01:45, 02:45, 03:45, 04:45, 05:45, 06:45, 07:45, 08:45, 09:45, 10:45, 11:45, 12:45, 13:45, 14:45, 15:45, 16:45, 17:45, 18:45, 19:45, 20:45, 21:45, 22:45] 2023-12-10 16:45:04.504191 INFO pred_bat: SOC: [ 3.81, 1.22, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:45:04.509238 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1070 => 40.7 / 16.69', '1130 => 35.57 / 14.58', '1190 => 19.48 / 8.01', '1250 => 19.0 / 7.81', '1310 => 18.92 / 7.78', '1490 => 12.71 / 5.22', '1550 => 12.44 / 5.12', '1610 => 10.4 / 4.27', '1670 => 11.07 / 4.55', '1730 => 14.18 / 5.83', '1790 => 17.69 / 7.28', '1850 => 19.85 / 8.17', '1910 => 19.71 / 8.11', '1970 => 20.57 / 8.46', '2030 => 20.62 / 8.48', '2090 => 21.14 / 8.69', '2150 => 20.44 / 8.4', '2210 => 21.65 / 8.9', '2270 => 21.79 / 8.96', '2330 => 22.43 / 9.22', '2390 => 22.95 / 9.44', '2450 => 42.25 / 17.33', '2510 => 43.82 / 17.97', '2570 => 41.24 / 16.92', '2630 => 24.23 / 9.97', '2690 => 22.02 / 9.05', '2750 => 20.03 / 8.24'] 2023-12-10 16:50:01.488592 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:50:01.490016 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:50:01.491364 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:50:01.492703 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:50:01.494018 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:50:01.502860 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:50:01.836406 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:50:01.838008 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:50:01.845019 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:50:01.846630 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:50:01.851541 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:50:01.856776 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:50:01.911814 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:50:01.917340 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:50:01.923336 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:50:01.932573 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:50:01.939787 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:50:01.976981 INFO pred_bat: Today's load divergence 78.09 % in-day adjustment 78.09 % damping 1.0x, Predicted so far 44.66 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 32.5 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:50:02.126584 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [45.31, 71.63, 79.73, 89.44, 60.89, 62.6] - min 45.31 2023-12-10 16:50:02.129130 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:50:02.132591 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:50:02.134355 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:50:03.210911 INFO pred_bat: Invertor time 2023-12-10 16:49:49+00:00 AppDaemon time 2023-12-10 16:50:00.008315+00:00 difference -0.2 minutes 2023-12-10 16:50:03.215609 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:50:03.217422 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:50:04.480056 INFO pred_bat: Inverter 0 SOC: 3.6 kw 69 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 1840.0 w Current voltage52.0 2023-12-10 16:50:04.483099 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:50:04.485133 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:50:04.486943 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:50:04.488946 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:50:04.492314 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:50:04.493314 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 3.6 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:50:04.554115 INFO pred_bat: Base charge window [ ] 2023-12-10 16:50:04.555867 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:50:04.556967 INFO pred_bat: Plan was last updated on 2023-12-10 16:40:00.009484+00:00 and is now 10.0 minutes old 2023-12-10 16:50:04.559286 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 4.47%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 1.47%, 11-12 23:00:00 - 12-12 06:00:00 @ 14.33p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:50:04.561119 INFO pred_bat: Best discharge window [ ] 2023-12-10 16:50:04.563401 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:50:04.593456 INFO pred_bat: predict base end_record 12-11 23:10:00 final soc 0.21 kwh metric 2041.52 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 130.0 pv 3.24 2023-12-10 16:50:04.595503 INFO pred_bat: [ 16:50, 17:50, 18:50, 19:50, 20:50, 21:50, 22:50, 23:50, 00:50, 01:50, 02:50, 03:50, 04:50, 05:50, 06:50, 07:50, 08:50, 09:50, 10:50, 11:50, 12:50, 13:50, 14:50, 15:50, 16:50, 17:50, 18:50, 19:50, 20:50, 21:50, 22:50] 2023-12-10 16:50:04.597238 INFO pred_bat: SOC: [ 3.6, 1.01, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:50:04.599155 INFO pred_bat: STATE: [ g 40.11 / 16.45', '1075 => 40.7 / 16.69', '1135 => 35.57 / 14.58', '1195 => 19.48 / 8.01', '1255 => 19.0 / 7.81', '1315 => 18.92 / 7.78', '1495 => 12.71 / 5.22', '1555 => 12.44 / 5.12', '1615 => 10.4 / 4.27', '1675 => 11.07 / 4.55', '1735 => 14.18 / 5.83', '1795 => 17.69 / 7.28', '1855 => 19.85 / 8.17', '1915 => 19.71 / 8.11', '1975 => 20.57 / 8.46', '2035 => 20.62 / 8.48', '2095 => 21.14 / 8.69', '2155 => 20.44 / 8.4', '2215 => 21.65 / 8.9', '2275 => 21.79 / 8.96', '2335 => 22.43 / 9.22', '2395 => 22.95 / 9.44', '2455 => 42.25 / 17.33', '2515 => 43.82 / 17.97', '2575 => 41.24 / 16.92', '2635 => 24.23 / 9.97', '2695 => 22.02 / 9.05', '2755 => 20.03 / 8.24'] 2023-12-10 16:55:01.465267 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:55:01.467144 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 16:55:01.468691 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 16:55:01.470266 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 16:55:01.471915 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 16:55:01.479843 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 16:55:01.803552 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 16:55:01.807619 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 16:55:01.822014 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 16:55:01.826246 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 16:55:01.838760 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 16:55:01.848881 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 16:55:01.902036 INFO pred_bat: Todays energy import 29.9 kwh export 0.8 kwh cost 324.16 p import 337.12 p export -12.96 p 2023-12-10 16:55:01.913642 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 16:55:01.917815 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 16:55:01.924172 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 16:55:01.935348 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 16:55:01.974652 INFO pred_bat: Today's load divergence 77.63 % in-day adjustment 77.63 % damping 1.0x, Predicted so far 45.14 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 32.76 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 16:55:02.059582 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [45.05, 72.13, 79.09, 89.96, 60.89, 62.47] - min 45.05 2023-12-10 16:55:02.062549 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 16:55:02.065068 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 16:55:02.066463 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 16:55:04.182970 INFO pred_bat: Invertor time 2023-12-10 16:54:35+00:00 AppDaemon time 2023-12-10 16:55:00.004396+00:00 difference -0.43 minutes 2023-12-10 16:55:04.185878 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 16:55:04.192307 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 16:55:05.273034 INFO pred_bat: Inverter 0 SOC: 3.45 kw 66 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 1925.0 w Current voltage52.0 2023-12-10 16:55:05.275008 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 16:55:05.276694 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 16:55:05.278672 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 16:55:05.281514 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 16:55:05.283360 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 16:55:05.284593 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 3.45 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 16:55:05.342393 INFO pred_bat: Base charge window [ ] 2023-12-10 16:55:05.345815 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 16:55:05.346933 INFO pred_bat: Plan was last updated on 2023-12-10 16:50:00.008315+00:00 and is now 5.0 minutes old 2023-12-10 16:55:05.348760 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 5.22%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 1.47%, 11-12 23:00:00 - 12-12 06:00:00 @ 14.33p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 16:55:05.350525 INFO pred_bat: Best discharge window [ 10-12 19:00:00 - 10-12 20:00:00 @ 16.93p 8.0% ] 2023-12-10 16:55:05.352691 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 16:55:05.387135 INFO pred_bat: predict base end_record 12-11 23:05:00 final soc 0.21 kwh metric 2032.58 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 129.67 pv 3.24 2023-12-10 16:55:05.389974 INFO pred_bat: [ 16:55, 17:55, 18:55, 19:55, 20:55, 21:55, 22:55, 23:55, 00:55, 01:55, 02:55, 03:55, 04:55, 05:55, 06:55, 07:55, 08:55, 09:55, 10:55, 11:55, 12:55, 13:55, 14:55, 15:55, 16:55, 17:55, 18:55, 19:55, 20:55, 21:55, 22:55] 2023-12-10 16:55:05.392595 INFO pred_bat: SOC: [ 3.45, 0.91, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 16:55:05.395076 INFO pred_bat: STATE: [ g 40.7 / 16.69', '1080 => 35.57 / 14.58', '1140 => 19.48 / 8.01', '1200 => 19.0 / 7.81', '1260 => 18.92 / 7.78', '1380 => 19.54 / 8.03', '1440 => 12.71 / 5.22', '1500 => 12.44 / 5.12', '1560 => 10.4 / 4.27', '1620 => 11.07 / 4.55', '1680 => 14.18 / 5.83', '1740 => 17.69 / 7.28', '1800 => 19.85 / 8.17', '1860 => 19.71 / 8.11', '1920 => 20.57 / 8.46', '1980 => 20.62 / 8.48', '2040 => 21.14 / 8.69', '2100 => 20.44 / 8.4', '2160 => 21.65 / 8.9', '2220 => 21.79 / 8.96', '2280 => 22.43 / 9.22', '2340 => 22.95 / 9.44', '2400 => 42.25 / 17.33', '2460 => 43.82 / 17.97', '2520 => 41.24 / 16.92', '2580 => 24.23 / 9.97', '2640 => 22.02 / 9.05', '2700 => 20.03 / 8.24'] 2023-12-10 17:00:01.435073 INFO pred_bat: Joined Octopus saving session: 2023-11-16T17:30:00+00:00 - 2023-11-16T18:30:00+00:00 at rate 225.0 state False 2023-12-10 17:00:01.436844 INFO pred_bat: Joined Octopus saving session: 2023-11-29T17:00:00+00:00 - 2023-11-29T18:30:00+00:00 at rate 400.0 state False 2023-12-10 17:00:01.438530 INFO pred_bat: Joined Octopus saving session: 2023-12-01T16:30:00+00:00 - 2023-12-01T18:00:00+00:00 at rate 400.0 state False 2023-12-10 17:00:01.440197 INFO pred_bat: Joined Octopus saving session: 2023-12-05T17:30:00+00:00 - 2023-12-05T18:30:00+00:00 at rate 225.0 state False 2023-12-10 17:00:01.441824 INFO pred_bat: Standing charge is set to 0.0 p 2023-12-10 17:00:01.450027 INFO pred_bat: Adding rate {'date': '2023-12-08', 'start': '15:00:00', 'end': '17:00:00', 'rate': 0} => 12-10 15:00:00 to 12-10 17:00:00 @ 0.0 date 2023-12-08 00:00:00 2023-12-10 17:00:01.777791 INFO pred_bat: Rate min forward looking: now 9.0405 at end of forecast 11.025 2023-12-10 17:00:01.785875 INFO pred_bat: Import rates min 9.04 max 39.56 average 19.4 2023-12-10 17:00:01.795420 INFO pred_bat: Export rates min 5.76 max 28.1 average 16.93 2023-12-10 17:00:01.797262 INFO pred_bat: Rate thresholds (for charge/discharge) are import 39.06p (0.0) export 6.26p (0.0) 2023-12-10 17:00:01.802422 INFO pred_bat: High export rate found rates in range 16.93 to 28.1 2023-12-10 17:00:01.811903 INFO pred_bat: Low Import rate found rates in range 9.04 to 36.58 2023-12-10 17:00:01.868305 INFO pred_bat: Todays energy import 30.0 kwh export 0.8 kwh cost 327.91 p import 340.87 p export -12.96 p 2023-12-10 17:00:01.874206 INFO pred_bat: PV Data for pv_forecast_today total 2.15 kWh 2023-12-10 17:00:01.879743 INFO pred_bat: PV Data for pv_forecast_tomorrow total 2.54 kWh 2023-12-10 17:00:01.885589 INFO pred_bat: PV Data for pv_forecast_d3 total 1.66 kWh 2023-12-10 17:00:01.892431 INFO pred_bat: PV Data for pv_forecast_d4 total 1.22 kWh 2023-12-10 17:00:01.929831 INFO pred_bat: Today's load divergence 76.98 % in-day adjustment 76.98 % damping 1.0x, Predicted so far 45.55 kWh with 0.0 kWh car excluded and 7.05 kWh import ignored and 0.0 forecast extra, Actual so far 32.89 KWh with 0.0 kWh car excluded and 8.46 kWh import ignored 2023-12-10 17:00:02.009287 INFO pred_bat: Historical data totals for days [2, 3, 4, 5, 6, 7] are [43.62, 73.32, 78.44, 90.68, 60.82, 62.6] - min 43.62 2023-12-10 17:00:02.011694 INFO pred_bat: Model filter enabled - Discarding day 2 as it is the lowest of the 6 datapoints 2023-12-10 17:00:02.014136 INFO pred_bat: Historical days now [3, 4, 5, 6, 7] weight [1, 1, 1, 1, 1] 2023-12-10 17:00:02.015487 INFO pred_bat: Inverter 0 using Rest API http://homeassistant.local:6346 2023-12-10 17:00:03.151112 INFO pred_bat: Invertor time 2023-12-10 16:59:47+00:00 AppDaemon time 2023-12-10 17:00:00.023440+00:00 difference -0.23 minutes 2023-12-10 17:00:03.153423 INFO pred_bat: Reserve min: 4.0% Battery_min:4.0% 2023-12-10 17:00:03.155162 INFO pred_bat: New Inverter 0 with soc_max 5.22 kWh nominal_capacity 5.22 kWh battery rate raw 2600.0 w charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 kw export limit 5.0 kw reserve 4.0 % current_reserve 4.0 % 2023-12-10 17:00:04.215198 INFO pred_bat: Inverter 0 SOC: 3.24 kw 62 % Current charge rate 2600.0 w Current discharge rate 2600.0 w Current power 2062.0 w Current voltage52.0 2023-12-10 17:00:04.222507 INFO pred_bat: Inverter 0 scheduled charge enable is False 2023-12-10 17:00:04.224864 INFO pred_bat: Inverter 0 charge windows currently [] 2023-12-10 17:00:04.227906 INFO pred_bat: Inverter 0 Charge settings: timed charged is disabled, power 2.6 kw 2023-12-10 17:00:04.229624 INFO pred_bat: Inverter 0 scheduled discharge enable is False 2023-12-10 17:00:04.232172 INFO pred_bat: Inverter 0 discharge windows currently [{'start': 30, 'end': 421, 'average': 0}, {'start': 1470, 'end': 1861, 'average': 0}] 2023-12-10 17:00:04.233412 INFO pred_bat: Found 1 inverters totals: min reserve 0.21 current reserve 0.21 soc_max 5.22 soc 3.24 charge rate 2.6 kw discharge rate 2.6 kw battery_rate_min 0.0 w ac limit 5.0 export limit 5.0 kw loss charge 5 % loss discharge 5 % inverter loss 0 % 2023-12-10 17:00:04.290646 INFO pred_bat: Base charge window [ ] 2023-12-10 17:00:04.292415 INFO pred_bat: Base discharge window [ 10-12 00:30:00 - 10-12 07:01:00 @ 0.0p 100.0%, 11-12 00:30:00 - 11-12 07:01:00 @ 0.0p 100.0% ] 2023-12-10 17:00:04.293801 INFO pred_bat: Plan was last updated on 2023-12-10 16:50:00.008315+00:00 and is now 10.0 minutes old 2023-12-10 17:00:04.297498 INFO pred_bat: Best charge window [ 10-12 20:30:00 - 10-12 22:00:00 @ 18.02p 0.22%, 10-12 22:00:00 - 10-12 23:00:00 @ 13.23p 3.12%, 10-12 23:00:00 - 10-12 23:30:00 @ 14.33p 2.72%, 10-12 23:30:00 - 11-12 01:00:00 @ 11.89p 4.47%, 11-12 01:30:00 - 11-12 02:00:00 @ 11.49p 5.22%, 11-12 02:30:00 - 11-12 03:00:00 @ 11.02p 5.22%, 11-12 03:30:00 - 11-12 06:00:00 @ 11.91p 5.22%, 11-12 06:30:00 - 11-12 07:00:00 @ 16.98p 4.22%, 11-12 07:00:00 - 11-12 07:30:00 @ 15.92p 5.22%, 11-12 08:00:00 - 11-12 08:30:00 @ 17.28p 5.22%, 11-12 09:30:00 - 11-12 10:00:00 @ 17.78p 4.7%, 11-12 10:30:00 - 11-12 11:00:00 @ 18.0p 3.22%, 11-12 11:00:00 - 11-12 11:30:00 @ 17.49p 4.89%, 11-12 14:00:00 - 11-12 15:00:00 @ 18.08p 3.11%, 11-12 20:30:00 - 11-12 21:00:00 @ 16.89p 1.88%, 11-12 21:30:00 - 11-12 22:30:00 @ 17.93p 1.47%, 11-12 23:00:00 - 12-12 06:00:00 @ 14.33p 5.22%, 12-12 06:30:00 - 12-12 07:30:00 @ 16.98p 5.22%, 12-12 08:00:00 - 12-12 08:30:00 @ 17.28p 5.22%, 12-12 09:30:00 - 12-12 10:00:00 @ 17.78p 5.22%, 12-12 10:30:00 - 12-12 11:30:00 @ 18.0p 5.22%, 12-12 14:00:00 - 12-12 15:00:00 @ 18.08p 5.22% ] 2023-12-10 17:00:04.299409 INFO pred_bat: Best discharge window [ ] 2023-12-10 17:00:04.306001 INFO pred_bat: PV Forecast 4.2 kWh and 10% Forecast 1.5 kWh pv cloud factor 1.0 2023-12-10 17:00:04.330421 INFO pred_bat: predict base end_record 12-11 23:10:00 final soc 0.21 kwh metric 2032.75 p metric_keep 0.0 min_soc 0.21 @ 12-10 18:10:00 kwh load 129.86 pv 3.24 2023-12-10 17:00:04.333332 INFO pred_bat: [ 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00, 00:00, 01:00, 02:00, 03:00, 04:00, 05:00, 06:00, 07:00, 08:00, 09:00, 10:00, 11:00, 12:00, 13:00, 14:00, 15:00, 16:00, 17:00, 18:00, 19:00, 20:00, 21:00, 22:00, 23:00] 2023-12-10 17:00:04.335618 INFO pred_bat: SOC: [ 3.24, 0.78, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21, 0.21] 2023-12-10 17:00:04.337774 INFO pred_bat: STATE: [ g~be-, g~be-, g