Last active
March 10, 2026 08:44
-
-
Save peyanski/058fa40bb02e19ab7076d67fe8c70f8b to your computer and use it in GitHub Desktop.
Summarizes daily solar energy production and EV charging potential based on forecast data using AI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias: AI Solar and EV Charging Summary | |
| description: >- | |
| Summarizes daily solar energy production and EV charging potential based on | |
| forecast data using AI. | |
| triggers: | |
| - trigger: time | |
| at: "08:00:00" | |
| conditions: [] | |
| actions: | |
| - action: ai_task.generate_data | |
| data: | |
| entity_id: ai_task.ollama_ai_task_gpt_oss_120b_cloud | |
| task_name: AI Solar Summary | |
| instructions: >- | |
| Here is the upcoming forecast for solar energy production for a PV | |
| system of solar panels: | |
| Estimated Energy Production - Today (in kWh): {{ | |
| states('sensor.total_energy_production_today') | float(0) }} | |
| Estimated Energy Production - Tomorrow (in kWh): {{ | |
| states('sensor.total_energy_production_tomorrow') | float(0) }} | |
| Highest Power Peak Time - Today: {{ | |
| states('sensor.total_power_highest_peak_time_today') }} | |
| Estimated Power Production - Now (in Watt): {{ | |
| states('sensor.total_power_production_now') | float(0) }} | |
| Estimated Energy Production - Next Hour (in kWh): {{ | |
| states('sensor.total_energy_next_hour') | float(0) }} | |
| Based only on this data, explain what today will be like for generating | |
| energy and charging an electric car. Do not share estimated power | |
| production now as I can see it real-time, but focus on the total today | |
| and compare it to tomorrow's data. Share when today's peak today will be | |
| and also the forecast for the next hour. If there are hours, state them | |
| in the Bulgarian time zone, but do not say that there is a conversion or | |
| which zone they are in, and do not include “h” in the answer because it | |
| is not important. Convert relevant data to kW if necessary and round it | |
| to keep it shorter. Make it understandable for children in 3rd grade. | |
| Give only one answer and keep it under 100 words. Do not use emojis. Use | |
| a fun style with lots of positivity so it is enjoyable. | |
| response_variable: ai_response | |
| - action: persistent_notification.create | |
| data: | |
| title: AI Solar and EV Charging Summary | |
| message: >- | |
| {{ ai_response.data | default('No AI Solar Charging Summary Available.') | |
| }} | |
| notification_id: AI Solar | |
| mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment