Scrape ANY Data from ANY website in Home Assistant - TUTORIAL

Опубликовано: 04 Октябрь 2024
на канале: Smart Home Junkie
34,093
1.1k

Sometimes there's no integration for the specific data that you want to show in Home Assistant. Next to the default scrape integration in Home Assistant, there is a HACS integration that allows you to scrape websites and load data from those websites into custom sensors. In this Home Assistant tutorial, I show you as an example how to scrape the current energy prices from your energy provider's website and the top three box-office movies from the IMDB site and how to show them on a dashboard in Home Assistant. Let's do this!

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

Links referred to in this video:
How to install HACS in Home Assistant:    • Install HACS in Home Assistant - 2024...  
The Multi Scrape manual can be found here: https://github.com/danieldotnl/ha-mul...

Blog version: https://www.smarthomejunkie.net/how-t...

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

My Devices: https://github.com/smarthomejunkie/My...

Instagram:   / smarthomejunkie  
Twitter:   / smarth0mejunkie  
Facebook:   / smarthomejunkie  
TikTok:   / smarthomejunkie  
Discord:   / discord  

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

00:00:00 Introduction
00:00:51 Example 1: Energy Prices
00:00:59 Example 2: Top Box Office Movies
00:02:12 Install Multiscrape
00:03:05 Install a text editor
00:03:41 Prepare the files to create our scrapers
00:04:26 Explain how Scrapers work
00:06:09 Create the scrapers for energy prices
00:10:06 Test the Energy price scrapers
00:11:31 Scrape the Top 3 Box Office Movies list.
00:12:50 Scrape the title of the movie
00:13:04 Scrape the other values of the Movie
00:14:32 Test the Top Box Office Sensors

#homeassistant #scrape #scraping #scrapewebsites #scrapeenergyprices #smarthome #homeautomation