Hi, thanks for the great implementation and the idea. I installed it straight away.
I’m missing the sensor for the actual PV production. Have I overlooked it?
I am new to the HA. How can I insert the map for the diagram display? I have inserted it in Map, but only see a blank sheet.
Unfortunately, I have not yet been able to read out any sensors. Otherwise I have no errors in the log.
2024-11-08 04:00:01.679770 INFO wattwise: Waiting for all forecasts to be ready...
2024-11-08 04:00:01.680267 INFO wattwise: Retrieving energy price forecast.
2024-11-08 04:00:01.680956 INFO wattwise: Energy price forecast data for today is unavailable.
2024-11-08 04:52:13.760766 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2024-11-08 04:52:18.765860 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2024-11-08 04:52:23.772586 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2024-11-08 04:52:28.776945 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2024-11-08 04:52:33.789269 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2024-11-08 04:52:38.796155 WARNING HASS: Disconnected from Home Assistant, retrying in 5 seconds
2024-11-08 04:52:43.843403 INFO HASS: Connected to Home Assistant 2024.11.0
2024-11-08 04:52:44.035758 INFO HASS: Evaluating startup conditions
2024-11-08 04:52:44.048257 INFO HASS: Startup condition met: hass state=RUNNING
2024-11-08 04:52:44.048500 INFO HASS: All startup conditions met
2024-11-08 04:52:44.084291 INFO AppDaemon: Processing restart for HASS
2024-11-08 04:52:44.084580 INFO AppDaemon: Terminating hello_world
2024-11-08 04:52:44.085032 INFO AppDaemon: Terminating wattwise
2024-11-08 04:52:44.085956 INFO AppDaemon: Reloading Module: /config/apps/hello.py
2024-11-08 04:52:44.086867 INFO AppDaemon: Reloading Module: /config/apps/wattwise.py
2024-11-08 04:52:44.095020 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello
2024-11-08 04:52:44.097762 INFO AppDaemon: Loading app wattwise using class WattWise from module wattwise
2024-11-08 04:52:44.100340 INFO AppDaemon: Calling initialize() for hello_world
2024-11-08 04:52:44.102117 INFO hello_world: Hello from AppDaemon
2024-11-08 04:52:44.102767 INFO hello_world: You are now ready to run Apps!
2024-11-08 04:52:44.103414 INFO AppDaemon: Calling initialize() for wattwise
2024-11-08 04:52:44.105772 INFO wattwise: Scheduled hourly optimization starting at 2024-11-08 05:00:00+01:00.
2024-11-08 04:52:44.107125 INFO wattwise: Listening for manual optimization trigger event 'MANUAL_BATTERY_OPTIMIZATION'.
2024-11-08 05:00:00.108429 INFO wattwise: Retrieving consumption forecast.
2024-11-08 05:00:00.321834 INFO wattwise: Loaded existing consumption history. Path: /config/apps/wattwise_consumption_history.json
2024-11-08 05:00:01.070245 INFO wattwise: Consumption history saved. Path: /config/apps/wattwise_consumption_history.json
2024-11-08 05:00:01.153367 INFO wattwise: Consumption forecast retrieved: [688.2685973878478, 834.8808319280495, 866.7527839643652, 714.2358175750834, 452.06939625260236, 612.0743550834597, 684.0053475935829, 2270.464484679666, 1435.7568149210904, 502.4457579972184, 550.4614315496873, 596.4377622377623, 586.0264127764128, 760.5156950672646, 849.4503496503496, 640.6872222222222, 719.396878483835, 749.1601307189543, 1015.2623716153128, 811.3830892772792, 762.5187826913932, 652.5087885985748, 546.179646440516, 642.9162870159454, 688.2685973878478, 834.8808319280495, 866.7527839643652, 714.2358175750834, 452.06939625260236, 612.0743550834597, 684.0053475935829, 2270.464484679666, 1435.7568149210904, 502.4457579972184, 550.4614315496873, 596.4377622377623, 586.0264127764128, 760.5156950672646, 849.4503496503496, 640.6872222222222, 719.396878483835, 749.1601307189543, 1015.2623716153128, 811.3830892772792, 762.5187826913932, 652.5087885985748, 546.179646440516, 642.9162870159454]
2024-11-08 05:00:01.154263 INFO wattwise: Waiting for all forecasts to be ready...
2024-11-08 05:00:01.154814 INFO wattwise: Retrieving solar production forecast.
2024-11-08 05:00:01.159149 INFO wattwise: Solar production forecast for hour 43 not found.
2024-11-08 05:00:01.159803 INFO wattwise: Setting time horizon to 43 hours.
2024-11-08 05:00:01.160420 INFO wattwise: Solar production forecast retrieved: [0.0, 0.0, 0.0561, 0.437, 1.1265, 1.6031, 1.6667, 1.3575, 1.0984, 0.7839, 0.3622, 0.0376, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2591, 1.4506, 1.8968, 1.7829, 1.2364, 0.5198, 0.3697, 0.3574, 0.2325, 0.0331, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
2024-11-08 05:00:01.161052 INFO wattwise: Waiting for all forecasts to be ready...
2024-11-08 05:00:01.161550 INFO wattwise: Retrieving energy price forecast.
2024-11-08 05:00:01.162286 INFO wattwise: Energy price forecast data for today is unavailable.
2024-11-08 05:01:29.781799 INFO AppDaemon: New client Admin Client connected
2024-11-08 05:12:17.974867 INFO AppDaemon: Terminating wattwise
2024-11-08 05:12:17.976150 INFO AppDaemon: Reloading Module: /config/apps/wattwise.py
2024-11-08 05:12:17.988384 INFO AppDaemon: Loading app wattwise using class WattWise from module wattwise
2024-11-08 05:12:17.989817 INFO AppDaemon: Calling initialize() for wattwise
2024-11-08 05:12:17.992757 INFO wattwise: Scheduled hourly optimization starting at 2024-11-08 06:00:00+01:00.
2024-11-08 05:12:17.994322 INFO wattwise: Listening for manual optimization trigger event 'MANUAL_BATTERY_OPTIMIZATION'.