fboundy / pv_opt

Home Assistant PV Optimisation for Solis Inverters
Other
27 stars 6 forks source link

Pvopt Pass Threshold P #255

Closed pughster25 closed 2 months ago

pughster25 commented 4 months ago

somehow i have changed the default value from the dashboard slider and its reset it to max 1 not 4

i have it set in the pv_opt.py file to be 4 (it was 1) and overwrite_ha_on_restart: false was set

"pass_threshold_p": {
    "default": 4.0,
    "attributes": {
        "min": 0.0,
        "max": 4.0,
        "step": 0.5,
        "mode": "slider",
    },
    "domain": "number",

i have since updated it to 4 as above and also set the overwrite_ha_on_restart: true in config.yaml but whenever i restart HA or appdeamon the value is still 1 even though the pv_opt.py file after restarting eithe ha or appdeamon shows the above config default 4

any ideas?

SzosszeNET commented 4 months ago

Logs would help - can you have a look there?

pughster25 commented 4 months ago

cant get the logging to work, i have added in the below to the appdaemon.yaml

logs: main_log: filename: /share/logs/main.log date_format: '%H:%M:%S' error_log: filename: /share/logs/error.log date_format: '%H:%M:%S'
pv_opt_log: name: PV_Opt filename: /share/logs/pv_opt.log date_format: '%H:%M:%S'
format: '{asctime} {levelname:>8s}: {message}'

installed samba in HA and added HA as an allowed host, and created the logs folder

is there anything else i should add to get logs?

pughster25 commented 4 months ago

MENU AppDaemon v4.4.2 Logs Log main_log Search 2024-07-20 14:54:36.088617 INFO AppDaemon: App initialization complete 2024-07-20 14:54:36.087207 INFO pv_opt: Optimiser will run every 15 minutes from 14:00 or on PV_OPT Event 2024-07-20 14:54:36.074865 INFO pv_opt: Next charge window starts in 785.4 minutes . Nothing to do. 2024-07-20 14:54:36.069861 INFO pv_opt: 2024-07-20 14:54:36.068737 INFO pv_opt: soc : 80.0 2024-07-20 14:54:36.067598 INFO pv_opt: active : False 2024-07-20 14:54:36.066473 INFO pv_opt: hold_soc : 2024-07-20 14:54:36.065345 INFO pv_opt: active : False 2024-07-20 14:54:36.064204 INFO pv_opt: current : 90.0 2024-07-20 14:54:36.062972 INFO pv_opt: end : 20-Jul 00:00 BST 2024-07-20 14:54:36.061812 INFO pv_opt: start : 20-Jul 00:00 BST 2024-07-20 14:54:36.060600 INFO pv_opt: discharge : 2024-07-20 14:54:36.059485 INFO pv_opt: active : False 2024-07-20 14:54:36.058414 INFO pv_opt: current : 61.9 2024-07-20 14:54:36.057333 INFO pv_opt: end : 20-Jul 05:00 BST 2024-07-20 14:54:36.056254 INFO pv_opt: start : 20-Jul 05:00 BST 2024-07-20 14:54:36.055097 INFO pv_opt: charge : 2024-07-20 14:54:36.053980 INFO pv_opt: FeedInPriority : False 2024-07-20 14:54:36.052849 INFO pv_opt: GridCharge : True 2024-07-20 14:54:36.051713 INFO pv_opt: Backup : False 2024-07-20 14:54:36.050573 INFO pv_opt: BatteryWake : False 2024-07-20 14:54:36.049426 INFO pv_opt: OffGrid : False 2024-07-20 14:54:36.048283 INFO pv_opt: Timed : True 2024-07-20 14:54:36.047139 INFO pv_opt: SelfUse : True 2024-07-20 14:54:36.045971 INFO pv_opt: switches : 2024-07-20 14:54:36.044817 INFO pv_opt: code : 35 2024-07-20 14:54:36.043332 INFO pv_opt: mode : Self-Use 2024-07-20 14:54:36.042192 INFO pv_opt: ------------------------ 2024-07-20 14:54:36.040980 INFO pv_opt: Current inverter status: 2024-07-20 14:54:36.039657 INFO pv_opt: 2024-07-20 14:54:36.022727 INFO pv_opt: Output written to sensor.pvopt_soc_h12 2024-07-20 14:54:36.013659 INFO pv_opt: Output written to sensor.pvopt_soc_h8 2024-07-20 14:54:36.004556 INFO pv_opt: Output written to sensor.pvopt_soc_h4 2024-07-20 14:54:35.993421 INFO pv_opt: Output written to sensor.pvopt_soc_h1 2024-07-20 14:54:35.986066 INFO pv_opt: Output written to sensor.pvopt_charge_current 2024-07-20 14:54:35.978698 INFO pv_opt: Output written to sensor.pvopt_charge_end 2024-07-20 14:54:35.972559 INFO pv_opt: Output written to sensor.pvopt_charge_start 2024-07-20 14:54:35.966034 INFO pv_opt: Output written to sensor.pvopt_opt_cost 2024-07-20 14:54:35.871355 INFO pv_opt: Output written to sensor.pvopt_base_cost 2024-07-20 14:54:35.776542 INFO pv_opt: Output written to sensor.pvopt_unit_cost_today 2024-07-20 14:54:35.769101 INFO pv_opt: Average unit cost today: 9.90p/kWh 2024-07-20 14:54:35.680238 INFO pv_opt: Output written to sensor.pvopt_optimiser_elapsed 2024-07-20 14:54:35.680144 INFO pv_opt: Previous message repeated 1 times 2024-07-20 14:54:35.671411 INFO pv_opt: 2024-07-20 14:54:35.670276 INFO pv_opt: Optimiser elapsed time 5.3 seconds 2024-07-20 14:54:35.669071 INFO pv_opt: 2024-07-20 14:54:35.667812 INFO pv_opt: Plan time: 20-Jul 12:30 - 21-Jul 23:30 Initial SOC: 100.0 Base Cost: 77.4 Opt Cost: 77.7 2024-07-20 14:54:35.666523 INFO pv_opt: 2024-07-20 14:54:35.663502 INFO pv_opt: 21-Jul 03:00 BST - 21-Jul 04:00 BST Power: 700W SOC: 20% -> 26% 2024-07-20 14:54:35.662059 INFO pv_opt: Optimal forced charge/discharge slots: 2024-07-20 14:54:35.660986 INFO pv_opt: 2024-07-20 14:54:35.659297 INFO pv_opt: Checking for Hold SOC slots 2024-07-20 14:54:35.647888 INFO pv_opt: 2024-07-20 14:54:35.646933 INFO pv_opt: Optimised cost (Forced Discharge): 77.7p 2024-07-20 14:54:35.645867 INFO pv_opt: Optimised cost (Optimised PV Export): 77.7p <=== Current Setup 2024-07-20 14:54:35.644751 INFO pv_opt: Optimised cost (Optimised Charging): 77.7p 2024-07-20 14:54:35.562388 INFO pv_opt: Base cost: 77.4p 2024-07-20 14:54:35.561281 INFO pv_opt: 2024-07-20 14:54:35.560264 INFO pv_opt: -------------------- 2024-07-20 14:54:35.559231 INFO pv_opt: Optimisation Summary 2024-07-20 14:54:35.558152 INFO pv_opt: 2024-07-20 14:54:33.953694 INFO pv_opt: [] 2024-07-20 14:54:33.899706 INFO pv_opt: Charge net cost delta: -0.3p: < Pass Threshold (1.0p) => Slots Excluded 2024-07-20 14:54:32.820266 INFO pv_opt: 21/07 06:00 BST: 0.01 kWh at 0.18p. <==> 21/07 03:00 BST: 11.55p/kWh 0.13p SOC: 20.0%-> 25.5% New SOC: 20.0%-> 22.8% Net: 77.7 2024-07-20 14:54:32.797259 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 728W End SOC: 25.5% SPR: 11W SCPA: 4272W SAC: 8938W Min Power: 11W 2024-07-20 14:54:32.793903 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 728W End SOC: 22.8% SPR: 11W SCPA: 4272W SAC: 9269W Min Power: 11W 2024-07-20 14:54:32.753831 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 24.8% New SOC: 20.0%-> 22.8% Net: 77.7 2024-07-20 14:54:32.735211 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 637W End SOC: 24.8% SPR: 91W SCPA: 4363W SAC: 9020W Min Power: 91W 2024-07-20 14:54:32.733707 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 637W End SOC: 22.4% SPR: 91W SCPA: 4363W SAC: 9310W Min Power: 91W 2024-07-20 14:54:32.717436 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 24.1% New SOC: 20.0%-> 22.4% Net: 77.7 2024-07-20 14:54:32.694985 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 546W End SOC: 24.1% SPR: 91W SCPA: 4454W SAC: 9103W Min Power: 91W 2024-07-20 14:54:32.693250 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 546W End SOC: 22.1% SPR: 91W SCPA: 4454W SAC: 9352W Min Power: 91W 2024-07-20 14:54:32.676288 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 23.4% New SOC: 20.0%-> 22.1% Net: 77.6 2024-07-20 14:54:32.657137 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 455W End SOC: 23.4% SPR: 91W SCPA: 4545W SAC: 9186W Min Power: 91W 2024-07-20 14:54:32.655636 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 455W End SOC: 21.7% SPR: 91W SCPA: 4545W SAC: 9393W Min Power: 91W 2024-07-20 14:54:32.637956 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 22.8% New SOC: 20.0%-> 21.7% Net: 77.5 2024-07-20 14:54:32.617178 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 364W End SOC: 22.8% SPR: 91W SCPA: 4636W SAC: 9269W Min Power: 91W 2024-07-20 14:54:32.615684 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 364W End SOC: 21.4% SPR: 91W SCPA: 4636W SAC: 9434W Min Power: 91W 2024-07-20 14:54:32.598132 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 22.1% New SOC: 20.0%-> 21.4% Net: 77.4 2024-07-20 14:54:32.579033 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 273W End SOC: 22.1% SPR: 91W SCPA: 4727W SAC: 9352W Min Power: 91W 2024-07-20 14:54:32.577547 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 273W End SOC: 21.0% SPR: 91W SCPA: 4727W SAC: 9476W Min Power: 91W 2024-07-20 14:54:32.558769 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 21.4% New SOC: 20.0%-> 21.0% Net: 77.4 2024-07-20 14:54:32.538935 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 182W End SOC: 21.4% SPR: 91W SCPA: 4818W SAC: 9434W Min Power: 91W 2024-07-20 14:54:32.537294 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 182W End SOC: 20.7% SPR: 91W SCPA: 4818W SAC: 9517W Min Power: 91W 2024-07-20 14:54:32.519611 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 20.7% New SOC: 20.0%-> 20.7% Net: 77.4 2024-07-20 14:54:32.496874 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 91W End SOC: 20.7% SPR: 91W SCPA: 4909W SAC: 9517W Min Power: 91W 2024-07-20 14:54:32.495194 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 91W End SOC: 20.3% SPR: 91W SCPA: 4909W SAC: 9559W Min Power: 91W 2024-07-20 14:54:32.476430 INFO pv_opt: 21/07 06:00 BST: 0.09 kWh at 1.07p. <==> 21/07 03:00 BST: 11.55p/kWh 1.05p SOC: 20.0%-> 20.0% New SOC: 20.0%-> 20.3% Net: 77.4 2024-07-20 14:54:32.456602 INFO pv_opt: >>> Slot: 21/07 02:30 UTC Factor: 0.500 Forced: 0W End SOC: 20.0% SPR: 91W SCPA: 5000W SAC: 9600W Min Power: 91W 2024-07-20 14:54:32.454998 INFO pv_opt: >>> Slot: 21/07 02:00 UTC Factor: 0.500 Forced: 0W End SOC: 20.0% SPR: 91W SCPA: 5000W SAC: 9600W Min Power: 91W 2024-07-20 14:54:32.297834 INFO pv_opt: [] 2024-07-20 14:54:32.297743 INFO pv_opt: 2024-07-20 14:54:32.296723 INFO pv_opt: --------------------- 2024-07-20 14:54:32.295730 INFO pv_opt: High Cost Usage Swaps 2024-07-20 14:54:32.294774 INFO pv_opt: 2024-07-20 14:54:32.293792 INFO pv_opt: Base cost: 77.4 2024-07-20 14:54:32.277437 INFO pv_opt: Optimiser prices loaded for period 20/07 12:30 UTC - 21/07 23:30 UTC 2024-07-20 14:54:30.758673 INFO pv_opt: [] 2024-07-20 14:54:30.741068 INFO pv_opt: Ignoring export pricing because Use Export is turned off 2024-07-20 14:54:30.720392 INFO pv_opt: Optimising for Solcast 50% confidence level forecast from 20-Jul 12:30 UTC to 21-Jul 23:30 UTC 2024-07-20 14:54:30.719328 INFO pv_opt: 2024-07-20 14:54:30.707348 INFO pv_opt: Retrieved day ahead forecast for period 13/07 22:00 UTC - 21/07 21:00 UTC for tariff E-1R-AGILE-24-04-03-E 2024-07-20 14:54:30.705899 INFO pv_opt: 2024-07-20 14:54:30.458435 INFO pv_opt: Calculating Base flows: 2024-07-20 14:54:30.453375 INFO pv_opt: Initial SOC: 100.0 2024-07-20 14:54:30.452468 INFO pv_opt: 2024-07-20 14:54:30.436193 INFO pv_opt: - Total consumption: 40.0 kWh 2024-07-20 14:54:30.434880 INFO pv_opt: - Consumption estimated OK 2024-07-20 14:54:30.429994 INFO pv_opt: and typical usage profile. 2024-07-20 14:54:30.428953 INFO pv_opt: - Creating consumption based on daily estimate of 20 kWh 2024-07-20 14:54:30.427400 INFO pv_opt: Getting expected consumption data for 2024-07-20 00:00:00+0000 to 2024-07-22 00:00:00+0000: 2024-07-20 14:54:30.426486 INFO pv_opt: 2024-07-20 14:54:30.425620 INFO pv_opt: Solcast forecast loaded OK 2024-07-20 14:54:30.417229 INFO pv_opt: 2024-07-20 14:54:30.416416 INFO pv_opt: Tariffs OK 2024-07-20 14:54:30.415528 INFO pv_opt: AGILE tariff detected. Rates will update at 16:00 daily 2024-07-20 14:54:30.414536 INFO pv_opt: Export: None Start: 2024-07-19 00:00:00+0000 End: N/A 2024-07-20 14:54:30.413521 INFO pv_opt: Import: E-1R-AGILE-24-04-03-E Start: 2024-07-10 12:00:00+0000 End: 2024-07-20 22:00:00+0000 2024-07-20 14:54:30.405415 INFO pv_opt: ------------------------------------ 2024-07-20 14:54:30.404403 INFO pv_opt: Checking tariff start and end times: 2024-07-20 14:54:30.403315 INFO pv_opt: 2024-07-20 14:54:30.402453 INFO pv_opt: Export: No OE Integration entity found. 2024-07-20 14:54:30.401494 INFO pv_opt: Import: Average Prices - PV_OPT: 17.92 p/kWh OE Integration: 17.92 p/kWh Mean difference: 0.00 p/kWh 2024-07-20 14:54:30.395562 INFO AppDaemon: pv_opt: Entity sensor.pvopt_tariff_import_OK created in namespace: default 2024-07-20 14:54:30.395237 WARNING pv_opt: pv_opt: Entity sensor.pvopt_tariff_import_OK not found in namespace default 2024-07-20 14:54:30.383465 INFO pv_opt: 2024-07-20 14:54:30.382619 INFO pv_opt: ----------------------------------------------------- 2024-07-20 14:54:30.381767 INFO pv_opt: Checking tariff prices vs Octopus Energy Integration: 2024-07-20 14:54:30.380883 INFO pv_opt: 2024-07-20 14:54:30.378136 INFO pv_opt: Contract last loaded at 20-Jul 12:54 UTC 2024-07-20 14:54:30.377467 INFO pv_opt: 2024-07-20 14:54:30.376779 INFO pv_opt: ----------------- 2024-07-20 14:54:30.376091 INFO pv_opt: Checking tariffs: 2024-07-20 14:54:30.375419 INFO pv_opt: 2024-07-20 14:54:30.374749 INFO pv_opt: -------------------------------------------- 2024-07-20 14:54:30.374104 INFO pv_opt: Starting Opimisation with discharge disabled 2024-07-20 14:54:30.373458 INFO pv_opt: 2024-07-20 14:54:30.372790 INFO pv_opt: No upcoming Octopus Saving Events detected or joined: 2024-07-20 14:54:30.371960 INFO pv_opt: 2024-07-20 14:54:30.370155 INFO pv_opt: Found Octopus Savings Events entity: event.octoplus_saving_sessionevents** 2024-07-20 14:54:30.370061 INFO pv_opt: Previous message repeated 1 times 2024-07-20 14:54:30.365613 INFO pv_opt: 2024-07-20 14:54:30.364954 INFO pv_opt: Running initial Optimisation: 2024-07-20 14:54:30.364341 INFO pv_opt: 2024-07-20 14:54:30.278457 INFO AppDaemon: pv_opt: Entity sensor.pvopt_opt_cost_Flux created in namespace: default 2024-07-20 14:54:30.277961 WARNING pv_opt: pv_opt: Entity sensor.pvopt_opt_cost_Flux not found in namespace default 2024-07-20 14:54:30.277402 INFO pv_opt: Flux 3.844 3.221 2024-07-20 14:54:26.430822 INFO pv_opt: [] 2024-07-20 14:54:26.376371 INFO AppDaemon: pv_opt: Entity sensor.pvopt_opt_cost_Eco7_Fix created in namespace: default 2024-07-20 14:54:26.375897 WARNING pv_opt: pv_opt: Entity sensor.pvopt_opt_cost_Eco7_Fix not found in namespace default 2024-07-20 14:54:26.375391 INFO pv_opt: Eco7_Fix 4.238 3.353 2024-07-20 14:54:18.752688 INFO pv_opt: [] 2024-07-20 14:54:18.609023 INFO AppDaemon: pv_opt: Entity sensor.pvopt_opt_cost_Agile_Fix created in namespace: default 2024-07-20 14:54:18.608536 WARNING pv_opt: pv_opt: Entity sensor.pvopt_opt_cost_Agile_Fix not found in namespace default 2024-07-20 14:54:18.607819 INFO pv_opt: Agile_Fix 3.181 2.364 2024-07-20 14:54:14.816700 INFO pv_opt: [] 2024-07-20 14:54:14.757514 INFO pv_opt: current 3.290 2.473 2024-07-20 14:54:13.346286 INFO pv_opt: [] 2024-07-20 14:54:13.309254 INFO pv_opt: Actual 0.624 2024-07-20 14:54:13.308205 INFO pv_opt: ------ --------------- -------------------- 2024-07-20 14:54:13.307428 INFO pv_opt: Tariff Base Cost (GBP) Optimised Cost (GBP) 2024-07-20 14:54:13.306665 INFO pv_opt: 2024-07-20 14:54:13.305818 INFO pv_opt: Net Cost comparison: 2024-07-20 14:54:13.304899 INFO pv_opt: 2024-07-20 14:54:12.160703 INFO pv_opt: Solar: 0.1 kWh 2024-07-20 14:54:12.159919 INFO pv_opt: Consumption: 20.0 kWh 2024-07-20 14:54:12.159120 INFO pv_opt: Initial SOC: 75.0% 2024-07-20 14:54:12.158462 INFO pv_opt: End: 20-Jul 00:00 UTC 2024-07-20 14:54:12.157787 INFO pv_opt: Start: 19-Jul 00:00 UTC 2024-07-20 14:54:12.157086 INFO pv_opt: 2024-07-20 14:54:12.131728 INFO pv_opt: - Total consumption: 20.0 kWh 2024-07-20 14:54:12.130525 INFO pv_opt: - Consumption estimated OK 2024-07-20 14:54:12.124835 INFO pv_opt: and typical usage profile. 2024-07-20 14:54:12.123888 INFO pv_opt: - Creating consumption based on daily estimate of 20 kWh 2024-07-20 14:54:12.122282 INFO pv_opt: Getting expected consumption data for 2024-07-19 00:00:00+0000 to 2024-07-20 00:00:00+0000: 2024-07-20 14:54:12.121478 INFO pv_opt: 2024-07-20 14:54:11.785554 INFO pv_opt: Getting yesterday's solar generation (19-Jul 00:00 UTC - 20-Jul 00:00 UTC): 2024-07-20 14:54:11.784530 INFO pv_opt: 2024-07-20 14:54:11.783851 INFO pv_opt: ----------------------------- 2024-07-20 14:54:11.783017 INFO pv_opt: Comparing yesterday's tariffs 2024-07-20 14:54:11.782904 INFO pv_opt: Previous message repeated 1 times 2024-07-20 14:54:11.774051 INFO pv_opt: 2024-07-20 14:54:11.773377 INFO pv_opt: No Zappi sensors found 2024-07-20 14:54:11.761154 INFO pv_opt: 2024-07-20 14:54:11.760526 INFO pv_opt: -------------------------- 2024-07-20 14:54:11.759757 INFO pv_opt: Checking for Zappi Sensors 2024-07-20 14:54:11.759157 INFO pv_opt: 2024-07-20 14:54:11.758114 INFO pv_opt: Finished loading contract 2024-07-20 14:54:11.757230 INFO pv_opt: >>> IO entity state: None 2024-07-20 14:54:11.755900 INFO pv_opt: >>> binary_sensor.octopusenergy**_intelligent_dispatching 2024-07-20 14:54:11.753867 INFO pv_opt: 2024-07-20 14:54:11.753001 INFO pv_opt: -------------------------------- 2024-07-20 14:54:11.752143 INFO pv_opt: Checking for Intelligent Octopus 2024-07-20 14:54:11.751296 INFO pv_opt: 2024-07-20 14:54:11.750429 INFO pv_opt: No upcoming Octopus Saving Events detected or joined: 2024-07-20 14:54:11.749345 INFO pv_opt: 2024-07-20 14:54:11.746471 INFO pv_opt: Found Octopus Savings Events entity: event.octoplus_saving_sessionevents** 2024-07-20 14:54:11.746370 INFO pv_opt: Previous message repeated 1 times 2024-07-20 14:54:11.738966 INFO pv_opt: 2024-07-20 14:54:11.737687 INFO pv_opt: Contract tariffs loaded OK 2024-07-20 14:54:11.736546 INFO pv_opt: 2024-07-20 14:54:11.735417 INFO pv_opt: Contract: current ------------------ import export 2024-07-20 14:54:11.735218 INFO pv_opt: Contract = 2024-07-20 14:54:11.524838 INFO pv_opt: Found import entity event.octopus_energy_electricity_17p7115272_2500001321045_current_day_rates: Tariff code: E-1R-AGILE-24-04-03-E 2024-07-20 14:54:11.521883 INFO pv_opt: Trying to auto detect Octopus tariffs: 2024-07-20 14:54:11.521190 INFO pv_opt: ----------------- 2024-07-20 14:54:11.512194 INFO pv_opt: Loading Contract: 2024-07-20 14:54:11.510902 INFO pv_opt: 2024-07-20 14:54:11.499599 INFO pv_opt: sleep_soc number.pvopt_sleep_soc 0 2024-07-20 14:54:11.497569 INFO pv_opt: wakeup_soc number.pvopt_wakeup_soc 0 2024-07-20 14:54:11.495670 INFO pv_opt: maximum_soc number.pvopt_maximum_soc 100 2024-07-20 14:54:11.493789 INFO pv_opt: forced_power_group_tolerance number.pvopt_forced_power_group_tolerance 100 2024-07-20 14:54:11.491908 INFO pv_opt: consumption_grouping select.pvopt_consumption_grouping mean 2024-07-20 14:54:11.489996 INFO pv_opt: shape_consumption_profile switch.pvopt_shape_consumption_profile on 2024-07-20 14:54:11.487974 INFO pv_opt: daily_consumption_kwh number.pvopt_daily_consumption_kwh 20 2024-07-20 14:54:11.486026 INFO pv_opt: consumption_margin number.pvopt_consumption_margin 10 2024-07-20 14:54:11.484137 INFO pv_opt: consumption_history_days number.pvopt_consumption_history_days 7 2024-07-20 14:54:11.482238 INFO pv_opt: use_consumption_history switch.pvopt_use_consumption_history off 2024-07-20 14:54:11.480378 INFO pv_opt: solar_forecast select.pvopt_solar_forecast Solcast 2024-07-20 14:54:11.478480 INFO pv_opt: ev_charger select.pvopt_ev_charger None 2024-07-20 14:54:11.476570 INFO pv_opt: ev_battery_capacity_kwh number.pvopt_ev_battery_capacity_kwh 30 2024-07-20 14:54:11.474553 INFO pv_opt: ev_charger_power_watts number.pvopt_ev_charger_power_watts 7000 2024-07-20 14:54:11.472498 INFO pv_opt: battery_current_limit_amps number.pvopt_battery_current_limit_amps 100 2024-07-20 14:54:11.470607 INFO pv_opt: inverter_loss_watts number.pvopt_inverter_loss_watts 100 2024-07-20 14:54:11.468761 INFO pv_opt: inverter_power_watts number.pvopt_inverter_power_watts 6000 2024-07-20 14:54:11.466856 INFO pv_opt: charger_power_watts number.pvopt_charger_power_watts 5000 2024-07-20 14:54:11.464978 INFO pv_opt: charger_efficiency_percent number.pvopt_charger_efficiency_percent 91 2024-07-20 14:54:11.463080 INFO pv_opt: inverter_efficiency_percent number.pvopt_inverter_efficiency_percent 97 2024-07-20 14:54:11.461224 INFO pv_opt: battery_capacity_wh number.pvopt_battery_capacity_wh 12000 2024-07-20 14:54:11.459333 INFO pv_opt: discharge_threshold_p number.pvopt_discharge_threshold_p 5.0 2024-07-20 14:54:11.457349 INFO pv_opt: plunge_threshold_p_kwh number.pvopt_plunge_threshold_p_kwh -10 2024-07-20 14:54:11.455499 INFO pv_opt: pass_threshold_p number.pvopt_pass_threshold_p 1 2024-07-20 14:54:11.453567 INFO pv_opt: day_of_week_weighting number.pvopt_day_of_week_weighting 0.5 2024-07-20 14:54:11.451671 INFO pv_opt: slot_threshold_p number.pvopt_slot_threshold_p 2 2024-07-20 14:54:11.449775 INFO pv_opt: solcast_confidence_level number.pvopt_solcast_confidence_level 50 2024-07-20 14:54:11.447861 INFO pv_opt: test_button button.pvopt_test_button 2024-07-19T17:45:11.218262+00:00 2024-07-20 14:54:11.445987 INFO pv_opt: test_function select.pvopt_test_function Charge 2024-07-20 14:54:11.444036 INFO pv_opt: test_enable select.pvopt_test_enable Enable 2024-07-20 14:54:11.442163 INFO pv_opt: test_target_soc number.pvopt_test_target_soc 100 2024-07-20 14:54:11.440286 INFO pv_opt: test_power number.pvopt_test_power 3000 2024-07-20 14:54:11.438408 INFO pv_opt: test_end text.pvopt_test_end 00:00 2024-07-20 14:54:11.436481 INFO pv_opt: test_start text.pvopt_test_start 00:00 2024-07-20 14:54:11.434539 INFO pv_opt: optimise_frequency_minutes number.pvopt_optimise_frequency_minutes 15 2024-07-20 14:54:11.432641 INFO pv_opt: ev_part_of_house_load switch.pvopt_ev_part_of_house_load on 2024-07-20 14:54:11.430705 INFO pv_opt: use_solar switch.pvopt_use_solar on 2024-07-20 14:54:11.428574 INFO pv_opt: allow_cyclic switch.pvopt_allow_cyclic off 2024-07-20 14:54:11.426228 INFO pv_opt: forced_discharge switch.pvopt_forced_discharge off 2024-07-20 14:54:11.424268 INFO pv_opt: include_export switch.pvopt_include_export on 2024-07-20 14:54:11.421458 INFO pv_opt: read_only switch.pvopt_read_only off 2024-07-20 14:54:11.420212 INFO pv_opt: ----------- --------- ------------- 2024-07-20 14:54:11.418990 INFO pv_opt: Config Item HA Entity Current State 2024-07-20 14:54:11.417763 INFO pv_opt: 2024-07-20 14:54:11.416541 INFO pv_opt: ----------------------------------- 2024-07-20 14:54:11.415290 INFO pv_opt: Syncing config with Home Assistant: 2024-07-20 14:54:11.415198 INFO pv_opt: Previous message repeated 1 times 2024-07-20 14:54:11.377472 INFO pv_opt: 2024-07-20 14:54:11.376340 WARNING pv_opt: id_backup_mode_soc = number.solis_local_backup_mode_soc 80.0: system default. Not in YAML. 2024-07-20 14:54:11.374616 WARNING pv_opt: id_inverter_mode = select.solis_local_energy_storage_control_switch Self-Use: system default. Not in YAML. 2024-07-20 14:54:11.372760 WARNING pv_opt: id_timed_charge_discharge_button = button.solis_local_update_charge_discharge_times 2024-07-20T04:30:53.210802+00:00: system default. Not in YAML. 2024-07-20 14:54:11.371054 WARNING pv_opt: id_timed_discharge_current = number.solis_local_timed_discharge_current 90.0: system default. Not in YAML. 2024-07-20 14:54:11.369350 WARNING pv_opt: id_timed_discharge_end_minutes = number.solis_local_timed_discharge_end_minutes 0.0: system default. Not in YAML. 2024-07-20 14:54:11.367658 WARNING pv_opt: id_timed_discharge_end_hours = number.solis_local_timed_discharge_end_hours 0.0: system default. Not in YAML. 2024-07-20 14:54:11.365865 WARNING pv_opt: id_timed_discharge_start_minutes = number.solis_local_timed_discharge_start_minutes 0.0: system default. Not in YAML. 2024-07-20 14:54:11.364051 WARNING pv_opt: id_timed_discharge_start_hours = number.solis_local_timed_discharge_start_hours 0.0: system default. Not in YAML. 2024-07-20 14:54:11.362336 WARNING pv_opt: id_timed_charge_current = number.solis_local_timed_charge_current 61.9: system default. Not in YAML. 2024-07-20 14:54:11.360617 WARNING pv_opt: id_timed_charge_end_minutes = number.solis_local_timed_charge_end_minutes 0.0: system default. Not in YAML. 2024-07-20 14:54:11.358866 WARNING pv_opt: id_timed_charge_end_hours = number.solis_local_timed_charge_end_hours 5.0: system default. Not in YAML. 2024-07-20 14:54:11.357057 WARNING pv_opt: id_timed_charge_start_minutes = number.solis_local_timed_charge_start_minutes 0.0: system default. Not in YAML. 2024-07-20 14:54:11.355334 WARNING pv_opt: id_timed_charge_start_hours = number.solis_local_timed_charge_start_hours 5.0: system default. Not in YAML. 2024-07-20 14:54:11.353437 WARNING pv_opt: supports_forced_discharge = True True: system default. Not in YAML. 2024-07-20 14:54:11.352315 WARNING pv_opt: supports_hold_soc = True True: system default. Not in YAML. 2024-07-20 14:54:11.351195 WARNING pv_opt: id_inverter_ac_power = sensor.solis_local_active_power 1530.0: system default. Not in YAML. 2024-07-20 14:54:11.349414 WARNING pv_opt: id_battery_charge_power = sensor.solis_local_battery_input_energy 0.0: system default. Not in YAML. 2024-07-20 14:54:11.347406 WARNING pv_opt: id_grid_export_today = sensor.solis_local_grid_export_today 1.5: system default. Not in YAML. 2024-07-20 14:54:11.345390 WARNING pv_opt: id_grid_import_today = sensor.solis_local_grid_import_today 2.3: system default. Not in YAML. 2024-07-20 14:54:11.343319 WARNING pv_opt: id_battery_soc = sensor.solis_local_battery_soc 100.0: system default. Not in YAML. 2024-07-20 14:54:11.340732 WARNING pv_opt: sleep_soc = 0 0: system default. Not in YAML. 2024-07-20 14:54:11.339645 WARNING pv_opt: hold_soc_active = True True: system default. Not in YAML. 2024-07-20 14:54:11.338565 WARNING pv_opt: discharge_active = True True: system default. Not in YAML. 2024-07-20 14:54:11.337469 WARNING pv_opt: charge_active = True True: system default. Not in YAML. 2024-07-20 14:54:11.336376 WARNING pv_opt: wakeup_soc = 0 0: system default. Not in YAML. 2024-07-20 14:54:11.335285 WARNING pv_opt: maximum_soc = 100 100: system default. Not in YAML. 2024-07-20 14:54:11.334174 WARNING pv_opt: forced_power_group_tolerance = 100 100: system default. Not in YAML. 2024-07-20 14:54:11.333056 WARNING pv_opt: consumption_grouping = mean mean: system default. Not in YAML. 2024-07-20 14:54:11.331412 WARNING pv_opt: consumption_margin = 10 10: system default. Not in YAML. 2024-07-20 14:54:11.330304 WARNING pv_opt: consumption_history_days = 7 7: system default. Not in YAML. 2024-07-20 14:54:11.329165 WARNING pv_opt: id_solcast_tomorrow = sensor.solcast_pv_forecast_forecast_tomorrow 21.2486: system default. Not in YAML. 2024-07-20 14:54:11.327250 WARNING pv_opt: id_solcast_today = sensor.solcast_pv_forecast_forecast_today 12.8247: system default. Not in YAML. 2024-07-20 14:54:11.325321 WARNING pv_opt: solar_forecast = Solcast Solcast: system default. Not in YAML. 2024-07-20 14:54:11.323737 WARNING pv_opt: ev_charger = None None: system default. Not in YAML. 2024-07-20 14:54:11.321215 WARNING pv_opt: ev_battery_capacity_kwh = 30 30: system default. Not in YAML. 2024-07-20 14:54:11.319593 WARNING pv_opt: ev_charger_power_watts = 7000 7000: system default. Not in YAML. 2024-07-20 14:54:11.317759 WARNING pv_opt: discharge_threshold_p = 5.0 5.0: system default. Not in YAML. 2024-07-20 14:54:11.315468 WARNING pv_opt: plunge_threshold_p_kwh = -5.0 -5.0: system default. Not in YAML. 2024-07-20 14:54:11.313642 WARNING pv_opt: pass_threshold_p = 4.0 4.0: system default. Not in YAML. 2024-07-20 14:54:11.312344 WARNING pv_opt: day_of_week_weighting = 0.5 0.5: system default. Not in YAML. 2024-07-20 14:54:11.311121 WARNING pv_opt: slot_threshold_p = 1.0 1.0: system default. Not in YAML. 2024-07-20 14:54:11.309955 WARNING pv_opt: solcast_confidence_level = 50 50: system default. Not in YAML. 2024-07-20 14:54:11.308802 WARNING pv_opt: test_button = 2024-07-20 12:54:11.058215+00:00 2024-07-20 12:54:11.058215+00:00: system default. Not in YAML. 2024-07-20 14:54:11.307554 WARNING pv_opt: test_function = Charge Charge: system default. Not in YAML. 2024-07-20 14:54:11.305799 WARNING pv_opt: test_enable = Enable Enable: system default. Not in YAML. 2024-07-20 14:54:11.304122 WARNING pv_opt: test_target_soc = 100 100: system default. Not in YAML. 2024-07-20 14:54:11.303018 WARNING pv_opt: test_power = 3000 3000: system default. Not in YAML. 2024-07-20 14:54:11.301884 WARNING pv_opt: test_end = 00:00 00:00: system default. Not in YAML. 2024-07-20 14:54:11.300372 WARNING pv_opt: test_start = 00:00 00:00: system default. Not in YAML. 2024-07-20 14:54:11.297705 WARNING pv_opt: optimise_frequency_minutes = 10 10: system default. Not in YAML. 2024-07-20 14:54:11.296615 WARNING pv_opt: ev_part_of_house_load = True True: system default. Not in YAML. 2024-07-20 14:54:11.295525 WARNING pv_opt: use_solar = True True: system default. Not in YAML. 2024-07-20 14:54:11.294283 WARNING pv_opt: include_export = True True: system default. Not in YAML. 2024-07-20 14:54:11.293164 INFO pv_opt: ----------------------- 2024-07-20 14:54:11.292114 INFO pv_opt: Checking config: 2024-07-20 14:54:11.291063 INFO pv_opt: 2024-07-20 14:54:11.290009 INFO pv_opt: Export: E-1R-FLUX-EXPORT-23-02-14-G 2024-07-20 14:54:11.289340 INFO pv_opt: Flux Import: E-1R-FLUX-IMPORT-23-02-14-G 2024-07-20 14:54:11.288673 INFO pv_opt: Export: E-1R-OUTGOING-FIX-12M-19-05-13-G 2024-07-20 14:54:11.287997 INFO pv_opt: Eco7_Fix Import: E-2R-VAR-22-11-01-G 2024-07-20 14:54:11.287329 INFO pv_opt: Export: E-1R-OUTGOING-FIX-12M-19-05-13-G 2024-07-20 14:54:11.286642 INFO pv_opt: alt_tariffs = Agile_Fix Import: E-1R-AGILE-23-12-06-G 2024-07-20 14:54:11.285933 INFO pv_opt: id_solar_power = sensor.solis_local_pv_total_power 1522.0: value(s) in YAML 2024-07-20 14:54:11.284356 INFO pv_opt: id_consumption = ['sensor.solis_local_house_load', 'sensor.solis_local_bypass_load'] 616.0: value(s) in YAML 2024-07-20 14:54:11.281980 WARNING pv_opt: id_consumption_today = sensor.solis_local_house_load_today 9.3: system default. Entities listed in YAML ['sensor.solis_local_consumption_today'] do not all exist in HA. 2024-07-20 14:54:11.279894 INFO pv_opt: update_cycle_seconds = 15 15: value in YAML 2024-07-20 14:54:11.278865 INFO pv_opt: battery_voltage = sensor.solis_local_battery_voltage 53.8: value in YAML 2024-07-20 14:54:11.273621 INFO pv_opt: octopus_auto = True True: value in YAML 2024-07-20 14:54:11.272489 INFO pv_opt: 24.00 300 W 2024-07-20 14:54:11.271796 INFO pv_opt: 22.00 750 W 2024-07-20 14:54:11.271112 INFO pv_opt: 17.00 750 W 2024-07-20 14:54:11.270424 INFO pv_opt: 15.50 500 W 2024-07-20 14:54:11.269739 INFO pv_opt: 8.00 500 W 2024-07-20 14:54:11.269052 INFO pv_opt: 6.00 150 W 2024-07-20 14:54:11.268372 INFO pv_opt: 0.50 200 W 2024-07-20 14:54:11.267686 INFO pv_opt: consumption_shape = Hour: 0.00 Consumption: 300 W 2024-07-20 14:54:11.266985 INFO pv_opt: shape_consumption_profile = True True: value in YAML 2024-07-20 14:54:11.266009 INFO pv_opt: daily_consumption_kwh = 20 20: value in YAML 2024-07-20 14:54:11.265022 INFO pv_opt: use_consumption_history = False False: value in YAML 2024-07-20 14:54:11.264037 INFO pv_opt: battery_current_limit_amps = 100 100: value in YAML 2024-07-20 14:54:11.262996 INFO pv_opt: inverter_loss_watts = 100 100: value in YAML 2024-07-20 14:54:11.262000 INFO pv_opt: inverter_power_watts = 6000 6000: value in YAML 2024-07-20 14:54:11.261003 INFO pv_opt: charger_power_watts = 5000 5000: value in YAML 2024-07-20 14:54:11.259743 INFO pv_opt: maximum_dod_percent = 20 20: value in YAML 2024-07-20 14:54:11.258638 INFO pv_opt: charger_efficiency_percent = 91 91: value in YAML 2024-07-20 14:54:11.257493 INFO pv_opt: inverter_efficiency_percent = 97 97: value in YAML 2024-07-20 14:54:11.256452 INFO pv_opt: battery_capacity_wh = 12000 12000: value in YAML 2024-07-20 14:54:11.255463 INFO pv_opt: allow_cyclic = False False: value in YAML 2024-07-20 14:54:11.254470 INFO pv_opt: forced_discharge = False False: value in YAML 2024-07-20 14:54:11.253478 INFO pv_opt: read_only = False False: value in YAML 2024-07-20 14:54:11.252453 INFO pv_opt: Over-write flag is set so YAML will over-write HA 2024-07-20 14:54:11.251780 INFO pv_opt: 2024-07-20 14:54:11.251153 INFO pv_opt: ----------------------------------- 2024-07-20 14:54:11.250442 INFO pv_opt: Reading arguments from YAML: 2024-07-20 14:54:11.238282 INFO pv_opt: 2024-07-20 14:54:11.237709 INFO pv_opt: sensor.solis_local_meter_grid_export_total (energy): 207.96 kWh 2024-07-20 14:54:11.237163 INFO pv_opt: sensor.solis_local_meter_grid_import_total (energy): 228.86 kWh 2024-07-20 14:54:11.236614 INFO pv_opt: sensor.solis_local_meter_grid_frequency (frequency): 50.04 Hz 2024-07-20 14:54:11.236065 INFO pv_opt: sensor.solis_local_meter_power_factor (power_factor): 0.89 2024-07-20 14:54:11.235519 INFO pv_opt: sensor.solis_local_meter_apparent_power_total (apparent_power): 1011 VA 2024-07-20 14:54:11.234970 INFO pv_opt: sensor.solis_local_meter_apparent_power (apparent_power): 1011 VA 2024-07-20 14:54:11.234424 INFO pv_opt: sensor.solis_local_meter_reactive_power_total (reactive_power): 450 var 2024-07-20 14:54:11.233875 INFO pv_opt: sensor.solis_local_meter_reactive_power (reactive_power): 450 var 2024-07-20 14:54:11.233317 INFO pv_opt: sensor.solis_local_meter_active_power_total (power): 0.908 kW 2024-07-20 14:54:11.232629 INFO pv_opt: sensor.solis_local_meter_ac_current (current): 4.36 A 2024-07-20 14:54:11.232070 INFO pv_opt: sensor.solis_local_meter_ac_voltage (voltage): 245.0 V 2024-07-20 14:54:11.231521 INFO pv_opt: sensor.solis_local_battery_discharge_current_limit (current): 100.0 A 2024-07-20 14:54:11.230967 INFO pv_opt: sensor.solis_local_battery_charge_current_limit (current): 0.0 A 2024-07-20 14:54:11.230417 INFO pv_opt: sensor.solis_local_house_load_yesterday (energy): 13.9 kWh 2024-07-20 14:54:11.229858 INFO pv_opt: sensor.solis_local_house_load_today (energy): 9.3 kWh 2024-07-20 14:54:11.229301 INFO pv_opt: sensor.solis_local_house_load_total (energy): 728 kWh 2024-07-20 14:54:11.228748 INFO pv_opt: sensor.solis_local_grid_export_today (energy): 1.5 kWh 2024-07-20 14:54:11.228192 INFO pv_opt: sensor.solis_local_grid_import_today (energy): 2.3 kWh 2024-07-20 14:54:11.227627 INFO pv_opt: sensor.solis_local_battery_discharge_yesterday (energy): 6.0 kWh 2024-07-20 14:54:11.227063 INFO pv_opt: sensor.solis_local_battery_discharge_today (energy): 3.8 kWh 2024-07-20 14:54:11.226502 INFO pv_opt: sensor.solis_local_total_battery_discharge (energy): 318 kWh 2024-07-20 14:54:11.225929 INFO pv_opt: sensor.solis_local_battery_charge_yesterday (energy): 7.0 kWh 2024-07-20 14:54:11.225318 INFO pv_opt: sensor.solis_local_battery_charge_today (energy): 6.3 kWh 2024-07-20 14:54:11.224702 INFO pv_opt: sensor.solis_local_total_battery_charge (energy): 343 kWh 2024-07-20 14:54:11.224089 INFO pv_opt: sensor.solis_local_battery_output_energy (power): 0.048 kW 2024-07-20 14:54:11.223517 INFO pv_opt: sensor.solis_local_battery_input_energy (power): 0.0 kW 2024-07-20 14:54:11.222964 INFO pv_opt: sensor.solis_local_bypass_load (power): 0 W 2024-07-20 14:54:11.222283 INFO pv_opt: sensor.solis_local_house_load (power): 616 W 2024-07-20 14:54:11.221722 INFO pv_opt: sensor.solis_local_bms_battery_discharge_limit (current): 205.0 A 2024-07-20 14:54:11.221171 INFO pv_opt: sensor.solis_local_bms_battery_charge_limit (current): 0.0 A 2024-07-20 14:54:11.220617 INFO pv_opt: sensor.solis_local_bms_battery_current (current): 0.9 A 2024-07-20 14:54:11.220060 INFO pv_opt: sensor.solis_local_bms_battery_voltage (voltage): 54.33 V 2024-07-20 14:54:11.219513 INFO pv_opt: sensor.solis_local_battery_soh (None): 100 % 2024-07-20 14:54:11.218964 INFO pv_opt: sensor.solis_local_battery_soc (battery): 100 % 2024-07-20 14:54:11.218421 INFO pv_opt: sensor.solis_local_battery_current (current): 0.9 A 2024-07-20 14:54:11.217875 INFO pv_opt: sensor.solis_local_battery_voltage (voltage): 53.8 V 2024-07-20 14:54:11.217330 INFO pv_opt: sensor.solis_local_energy_storage_control_switch (None): Self-Use 2024-07-20 14:54:11.216773 INFO pv_opt: sensor.solis_local_meter_active_power (power): 908 W 2024-07-20 14:54:11.216224 INFO pv_opt: sensor.solis_local_meter_current (current): 4.36 A 2024-07-20 14:54:11.215670 INFO pv_opt: sensor.solis_local_meter_voltage (voltage): 245.0 V 2024-07-20 14:54:11.215121 INFO pv_opt: sensor.solis_local_meter_total_activepower (energy): 4368.2 kWh 2024-07-20 14:54:11.214570 INFO pv_opt: sensor.solis_local_inverter_status (None): BMS Alarm 2024-07-20 14:54:11.214014 INFO pv_opt: sensor.solis_local_inverter_frequency (frequency): 50.04 Hz 2024-07-20 14:54:11.213459 INFO pv_opt: sensor.solis_local_inverter_temperature (temperature): 43.2 ��C 2024-07-20 14:54:11.212745 INFO pv_opt: sensor.solis_local_apparent_power (apparent_power): 1520 VA 2024-07-20 14:54:11.212181 INFO pv_opt: sensor.solis_local_active_power (power): 1530 W 2024-07-20 14:54:11.211606 INFO pv_opt: sensor.solis_local_inverter_current (current): 6.5 A 2024-07-20 14:54:11.211047 INFO pv_opt: sensor.solis_local_inverter_voltage (voltage): 244.7 V 2024-07-20 14:54:11.210502 INFO pv_opt: sensor.solis_local_pv_total_power (power): 1522 W 2024-07-20 14:54:11.209945 INFO pv_opt: sensor.solis_local_pv_power_2 (power): 0.82524 kW 2024-07-20 14:54:11.209394 INFO pv_opt: sensor.solis_local_pv_current_2 (current): 2.6 A 2024-07-20 14:54:11.208833 INFO pv_opt: sensor.solis_local_pv_voltage_2 (voltage): 317.4 V 2024-07-20 14:54:11.208274 INFO pv_opt: sensor.solis_local_pv_power_1 (power): 0.69687 kW 2024-07-20 14:54:11.207688 INFO pv_opt: sensor.solis_local_pv_current_1 (current): 2.7 A 2024-07-20 14:54:11.206633 INFO pv_opt: sensor.solis_local_pv_voltage_1 (voltage): 258.1 V 2024-07-20 14:54:11.205740 INFO pv_opt: sensor.solis_local_power_generation_this_year (energy): 733 kWh 2024-07-20 14:54:11.204814 INFO pv_opt: sensor.solis_local_power_generation_yesterday (energy): 32.6 kWh 2024-07-20 14:54:11.203922 INFO pv_opt: sensor.solis_local_power_generation_today (energy): 10.9 kWh 2024-07-20 14:54:11.203044 INFO pv_opt: sensor.solis_local_power_generation_last_month (energy): 336 kWh 2024-07-20 14:54:11.202315 INFO pv_opt: sensor.solis_local_power_generation_this_month (energy): 397 kWh 2024-07-20 14:54:11.201671 INFO pv_opt: sensor.solis_local_power_generation_total (energy): 733 kWh 2024-07-20 14:54:11.181655 INFO pv_opt: - min: 0 max: 100 step: 1 2024-07-20 14:54:11.181045 INFO pv_opt: number.solis_local_timed_discharge_current (current): 90.0 A 2024-07-20 14:54:11.180500 INFO pv_opt: - min: 0 max: 100 step: 1 2024-07-20 14:54:11.179764 INFO pv_opt: number.solis_local_timed_charge_current (current): 61.9 A 2024-07-20 14:54:11.179199 INFO pv_opt: - min: 0 max: 100 step: 1 2024-07-20 14:54:11.178591 INFO pv_opt: number.solis_local_battery_discharge_current (current): 100.0 A 2024-07-20 14:54:11.178030 INFO pv_opt: - min: 0 max: 100 step: 1 2024-07-20 14:54:11.177431 INFO pv_opt: number.solis_local_battery_charge_current (current): 100.0 A 2024-07-20 14:54:11.176878 INFO pv_opt: - min: 0 max: 100 step: 1 2024-07-20 14:54:11.176274 INFO pv_opt: number.solis_local_battery_chargedischarge_current (current): 0.0 A 2024-07-20 14:54:11.175720 INFO pv_opt: - min: 0 max: 9900 step: 100 2024-07-20 14:54:11.175111 INFO pv_opt: number.solis_local_backflow_power (power): 0 W 2024-07-20 14:54:11.174558 INFO pv_opt: - min: 10 max: 100 step: 1 2024-07-20 14:54:11.173950 INFO pv_opt: number.solis_local_backup_mode_soc (None): 80 % 2024-07-20 14:54:11.173402 INFO pv_opt: - min: 10 max: 100 step: 1 2024-07-20 14:54:11.172797 INFO pv_opt: number.solis_local_force_charge_soc (None): 20 % 2024-07-20 14:54:11.172253 INFO pv_opt: - min: 10 max: 100 step: 1 2024-07-20 14:54:11.171642 INFO pv_opt: number.solis_local_battery_minimum_soc (None): 21 % 2024-07-20 14:54:11.171087 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.170349 INFO pv_opt: number.solis_local_timed_discharge_end_minutes_3 (None): 0 min 2024-07-20 14:54:11.169783 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.169169 INFO pv_opt: number.solis_local_timed_discharge_end_hours_3 (None): 0 h 2024-07-20 14:54:11.168610 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.167998 INFO pv_opt: number.solis_local_timed_discharge_start_minutes_3 (None): 0 min 2024-07-20 14:54:11.167443 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.166830 INFO pv_opt: number.solis_local_timed_discharge_start_hours_3 (None): 0 h 2024-07-20 14:54:11.166277 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.165661 INFO pv_opt: number.solis_local_timed_charge_end_minutes_3 (None): 0 min 2024-07-20 14:54:11.165109 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.164496 INFO pv_opt: number.solis_local_timed_charge_end_hours_3 (None): 0 h 2024-07-20 14:54:11.163939 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.163318 INFO pv_opt: number.solis_local_timed_charge_start_minutes_3 (None): 0 min 2024-07-20 14:54:11.162757 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.162152 INFO pv_opt: number.solis_local_timed_charge_start_hours_3 (None): 0 h 2024-07-20 14:54:11.161599 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.160978 INFO pv_opt: number.solis_local_timed_discharge_end_minutes_2 (None): 0 min 2024-07-20 14:54:11.160294 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.159684 INFO pv_opt: number.solis_local_timed_discharge_end_hours_2 (None): 0 h 2024-07-20 14:54:11.159137 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.158523 INFO pv_opt: number.solis_local_timed_discharge_start_minutes_2 (None): 0 min 2024-07-20 14:54:11.157971 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.157369 INFO pv_opt: number.solis_local_timed_discharge_start_hours_2 (None): 0 h 2024-07-20 14:54:11.156816 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.156211 INFO pv_opt: number.solis_local_timed_charge_end_minutes_2 (None): 0 min 2024-07-20 14:54:11.155656 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.155045 INFO pv_opt: number.solis_local_timed_charge_end_hours_2 (None): 0 h 2024-07-20 14:54:11.154502 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.153891 INFO pv_opt: number.solis_local_timed_charge_start_minutes_2 (None): 0 min 2024-07-20 14:54:11.153340 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.152717 INFO pv_opt: number.solis_local_timed_charge_start_hours_2 (None): 0 h 2024-07-20 14:54:11.152157 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.151533 INFO pv_opt: number.solis_local_timed_discharge_end_minutes (None): 0 min 2024-07-20 14:54:11.150841 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.150228 INFO pv_opt: number.solis_local_timed_discharge_end_hours (None): 0 h 2024-07-20 14:54:11.149659 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.149044 INFO pv_opt: number.solis_local_timed_discharge_start_minutes (None): 0 min 2024-07-20 14:54:11.148490 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.147875 INFO pv_opt: number.solis_local_timed_discharge_start_hours (None): 0 h 2024-07-20 14:54:11.147322 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.146699 INFO pv_opt: number.solis_local_timed_charge_end_minutes (None): 0 min 2024-07-20 14:54:11.146137 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.145376 INFO pv_opt: number.solis_local_timed_charge_end_hours (None): 5 h 2024-07-20 14:54:11.144643 INFO pv_opt: - min: 0 max: 59 step: 1 2024-07-20 14:54:11.143971 INFO pv_opt: number.solis_local_timed_charge_start_minutes (None): 0 min 2024-07-20 14:54:11.143415 INFO pv_opt: - min: 0 max: 23 step: 1 2024-07-20 14:54:11.142782 INFO pv_opt: number.solis_local_timed_charge_start_hours (None): 5 h 2024-07-20 14:54:11.142205 INFO pv_opt: - min: -30 max: 30 step: 1 2024-07-20 14:54:11.141390 INFO pv_opt: number.solis_local_sync_rtc_offset (None): 0 s 2024-07-20 14:54:11.137421 INFO pv_opt: Off 2024-07-20 14:54:11.136806 INFO pv_opt: On 2024-07-20 14:54:11.136187 INFO pv_opt: select.solis_local_power_switch (None): 2024-07-20 14:54:11.135634 INFO pv_opt: Feed-in priority 2024-07-20 14:54:11.135019 INFO pv_opt: Feed-in priority - No Timed Charge/Discharge 2024-07-20 14:54:11.134388 INFO pv_opt: Feed-in priority - No Grid Charging 2024-07-20 14:54:11.133774 INFO pv_opt: Backup/Reserve 2024-07-20 14:54:11.133158 INFO pv_opt: Backup/Reserve - No Timed Charge/Discharge 2024-07-20 14:54:11.132534 INFO pv_opt: Battery Awaken + Timed Charge/Discharge 2024-07-20 14:54:11.131892 INFO pv_opt: Battery Awaken 2024-07-20 14:54:11.131129 INFO pv_opt: Off-Grid Mode 2024-07-20 14:54:11.130503 INFO pv_opt: Self-Use 2024-07-20 14:54:11.129884 INFO pv_opt: Self-Use - No Timed Charge/Discharge 2024-07-20 14:54:11.129266 INFO pv_opt: Backup/Reserve - No Grid Charging 2024-07-20 14:54:11.128641 INFO pv_opt: Timed Charge/Discharge - No Grid Charging 2024-07-20 14:54:11.127999 INFO pv_opt: Self-Use - No Grid Charging 2024-07-20 14:54:11.127375 INFO pv_opt: select.solis_local_energy_storage_control_switch (None): 2024-07-20 14:54:11.126796 INFO pv_opt: On 2024-07-20 14:54:11.126164 INFO pv_opt: Off 2024-07-20 14:54:11.125491 INFO pv_opt: select.solis_local_backflow_power_switch (None): 2024-07-20 14:54:11.123330 INFO pv_opt: 2024-07-20 14:54:11.122749 INFO pv_opt: ------------------------------------------ 2024-07-20 14:54:11.122165 INFO pv_opt: Available entities for device solis_local: 2024-07-20 14:54:11.121581 INFO pv_opt: 2024-07-20 14:54:11.120977 INFO pv_opt: Inverter appears to be online 2024-07-20 14:54:11.119378 INFO pv_opt: Serial number: 2024-07-20 14:54:11.118150 INFO pv_opt: Device name: solis_local 2024-07-20 14:54:11.117176 INFO pv_opt: Inverter type: SOLIS_SOLAX_MODBUS: inverter module: solis.py 2024-07-20 14:54:11.116567 INFO pv_opt: Time Zone Offset: 120.0 minutes 2024-07-20 14:54:11.115494 INFO pv_opt: Local timezone set to GB 2024-07-20 14:54:11.112103 INFO pv_opt: 2024-07-20 14:54:11.111422 INFO pv_opt: PV Opt v3.15.4 2024-07-20 14:54:11.110841 INFO pv_opt: 2024-07-20 14:54:11.108479 INFO AppDaemon: Calling initialize() for pv_opt 2024-07-20 14:54:11.107808 INFO hello_world: You are now ready to run Apps! 2024-07-20 14:54:11.107299 INFO hello_world: Hello from AppDaemon 2024-07-20 14:54:11.068030 INFO AppDaemon: Calling initialize() for hello_world 2024-07-20 14:54:11.066124 INFO AppDaemon: Loading app pv_opt using class PVOpt from module pv_opt 2024-07-20 14:54:11.065125 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello 2024-07-20 14:54:11.060007 INFO AppDaemon: Loading Global Module: /config/apps/pv_opt/solis.py 2024-07-20 14:54:11.059475 INFO AppDaemon: Loading Global Module: /config/apps/pv_opt/pvpy.py 2024-07-20 14:54:11.058942 WARNING AppDaemon: No app description found for: /config/apps/pv_opt/sunsynk.py - ignoring 2024-07-20 14:54:10.806675 INFO AppDaemon: Loading App Module: /config/apps/pv_opt/pv_opt.py 2024-07-20 14:54:10.806196 WARNING AppDaemon: No app description found for: /config/apps/pv_opt/solax.py - ignoring 2024-07-20 14:54:10.780379 INFO AppDaemon: Loading App Module: /config/apps/hello.py 2024-07-20 14:54:10.778230 INFO AppDaemon: Adding /config/apps/pv_opt/config to module import path 2024-07-20 14:54:10.778034 INFO AppDaemon: Adding /config/apps/pv_opt to module import path 2024-07-20 14:54:10.777839 INFO AppDaemon: Adding /config/apps to module import path 2024-07-20 14:54:10.773957 INFO AppDaemon: Scheduler running in realtime Booted: 7/20/2024, 1:54:36 PM | Uptime: 0:00:33

pughster25 commented 3 months ago

@SzosszeNET is the above log any help?

fboundy commented 3 months ago

cant get the logging to work, i have added in the below to the appdaemon.yaml

logs: main_log: filename: /share/logs/main.log date_format: '%H:%M:%S' error_log: filename: /share/logs/error.log date_format: '%H:%M:%S' pv_opt_log: name: PV_Opt filename: /share/logs/pv_opt.log date_format: '%H:%M:%S' format: '{asctime} {levelname:>8s}: {message}'

installed samba in HA and added HA as an allowed host, and created the logs folder

is there anything else i should add to get logs?

Did you make any progress. I think you need to restart the addon to update the logging

philicibine commented 1 month ago

I see this issue aswell. In pv_opt.py the default is set at 4p but the max of the slider is set at 1p

"pass_threshold_p": {
        "default": 4.0,
        "attributes": {
            "min": 0.0,
            "max": 1.0,
            "step": 0.5,
            "mode": "slider",
        },
        "domain": "number",

Changing the max to 4p has no effect.

fboundy commented 1 month ago

I've corrected this in the code now but once the entity exists in HA you will need to change the min and max attributes under STATES in Developer Tools

pughster25 commented 1 month ago

i get Value 3 for number.pvopt_pass_threshold_p is outside valid range 0.0 - 1.0. popup when setting the value in dev tools and then trying to change the slider to 4 on the dashboard, the stat then resets back to max 1