@SmartHomeJunkie
  @SmartHomeJunkie
Smart Home Junkie | Save Money Now: Track Dynamic Energy Prices in Home Assistant @SmartHomeJunkie | Uploaded January 2023 | Updated October 2024, 8 hours ago.
Energy prices are going through the roof these days. Some energy companies deliver dynamic energy prices so that the price of energy changes every hour. This way, you can turn on your appliances when the prices are low. I am going to show you in this tutorial how you can create a bar chart of the dynamic energy prices in Home Assistant so that you can monitor these prices and see when it's the best time to turn on appliances like your washing machine. And on top of that, you learn more about how to work with templates in Home Assistant.

⭐ You can download the code that I created for this video at: ko-fi.com/s/e937e90ca8

The download file also contains some optimizations to the code that is shown in the video.

Links referred to in this video:
* How to install HACS in Home Assistant: youtu.be/Q8Gj0LiklRE
* Apex Chart manual: github.com/RomRider/apexcharts-card
* The ENTSO-e transparency site: https://transparency.entsoe.eu
* Save Money! Start Appliances at the LOWEST ENERGY PRICE using Home Assistant!
youtu.be/um_rU44WDSs

Blog version: smarthomejunkie.net/how-to-track-dynamic-energy-prices-in-home-assistant-now

NOTE:
If you install Zonneplan, you have to enable the following entity to make this work: sensor.zonneplan_current_electricity_tariff
* Go to Settings
* Go to Devices and Services
* Go to the entities tab
* Search for Zonneplan
* Click on Zonneplan current electricity tariff
* Select Enable Entity

NOTE 2:
In some cases, the bar chart is not shown for some people. If you experience issues with the Apexchart card that does not show a graph, then change the following code in the template:

replace float by float(0)

NOTE 3:
If you did not fill in the VAT percentage in the integration, you can also choose to multiply the price with your VAT percentage in the template, and on top of that add additional costs. In that case, the formula would be something like this if your VAT is 21%:

{%- set ns.prices = ns.prices + [(hours.value * 1.21) + states('input_number.nordpool_additional_costs') | float] -%}

Special thanks to TheFes for tweaking the code so that it got smaller.

⭐⭐⭐
* Join this channel to get access to perks: 📺 youtube.com/c/smarthomejunkie/join
* Please consider becoming my patron 🏅 at patreon.com/join/smarthomejunkie
* Or please support me by buying me a ☕ at ko-fi.com/smarthomejunkie
⭐⭐⭐

My Devices: github.com/smarthomejunkie/MyDevices

Instagram: instagram.com/smarthomejunkie
Twitter: twitter.com/smarth0mejunkie
Facebook: facebook.com/smarthomejunkie
TikTok: tiktok.com/@smarthomejunkie
Discord: discord.gg/at8v5hW

Music by:
* 2TECH-AUDIO: 2tech-audio.bandcamp.com

00:00:00 Introduction
00:01:11 Install the Nordpool integration in Home Assistant
00:02:48 Show the data that the Norpool integration sends to Home Assistant
00:03:46 Create a template sensor to combine data of today and tomorrow
00:04:38 Create a number helper to store additional costs
00:05:21 Create the template
00:05:51 Install Studio Code Server
00:06:21 Create the templates.yaml file
00:07:01 Add the template code to the templates.yaml file
00:07:47 Retrieve the time from the Nordpool integration
00:08:41 Retrieve the energy prices from the Nordpool integration
00:09:27 Let's test the template
00:09:57 Create the bar-chart
00:11:12 Add the additional costs helper field
00:11:44 Install the ENTSO-e integration
00:12:27 Retrieve the API key from ENTSO-e
00:13:10 Configure ENTSO-e in Home Assistant
00:13:57 Download the code for the ENTSO-e and Zonneplan integration
00:14:16 Conclusion

#homeassistant #variableenergyprices #energyprices #trackenergy #tutorial #smarthome #homeautomation
Save Money Now: Track Dynamic Energy Prices in Home AssistantAsk Me Anything #6 - Home Assistant Q&A, Tutorials, and new product presentationsAutomatic Presence Simulation in Home Assistant - TutorialMastering Home Assistant: How to Verify If Everyones Left the HouseUnlock the Potential of Home Assistant with the Perfect Mini Sensor DisplayHow To Create a USER specific Dashboard in Home Assistant - ShortThese ZemiSmart MATTER devices ACTUALLY work with Home AssistantRevolutionizing Your Smart Home: Control Switchbot Blind Tilts using Matter in Home Assistant!Create Stunning ANIMATED MUSHROOM CARDS On Your Dashboard NOW!The NEW Settings Menu in Home Assistant versus the Old Configuration Menu + FREE GIVE-AWAYInstall HACS in Home Assistant - 2024 COMPLETE HOW TO GuideSave Money! Start Appliances at the LOWEST ENERGY PRICE! - Short

Save Money Now: Track Dynamic Energy Prices in Home Assistant @SmartHomeJunkie

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER