Creating a Home Assistant Web Scraper Sensor

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • Here is a demonstration of using lxml for scraping a website to extract essential HTML data and pass the data as sensor to Home Assistant.
    Source Code: github.com/debsahu/lxmlWebScr...
  • Наука та технологія

КОМЕНТАРІ • 6

  • @DesignitBuilditRepairit
    @DesignitBuilditRepairit 5 років тому

    Another great video thanks appreciate it

  • @davebeckham5429
    @davebeckham5429 5 років тому

    Nice video. - Thanks.

  • @sk3tch4d
    @sk3tch4d 5 років тому

    Do you know if this is possible using the built in 'Scrape Sensor' for Home Assistant? If so, how would you go about that? Thanks!

    • @sk3tch4d
      @sk3tch4d 5 років тому

      @@debsahu7801 Thank you for your time and examples, this was helpful. I am finding it hard to do when you have multiple of the same class name, but i will keep reading the BS documentation.

  • @roystervi
    @roystervi 5 років тому +1

    Hi I like to know if you have a scrape to log into a website what requires a password.
    I like to scrape my electric company because it show what my daily use are along with a projection of the bill amount is each day. this will be useful to me and other if I can bring this into home assistant.

  • @photelegy
    @photelegy 2 роки тому

    How to add attributes to your scrape-sensor?
    I have a scrape-sensor which gets the water-temperature from a lido. So I want the coordinates as attributes.
    like:
    latitude: 47.3519
    longitude: 8.5360
    If possible I would even like to have an attribute with the website-link where I scraped the information.
    Are there some informations about how I can create such attributes or how they have to be named ("link:", "source:", "web:", ...)?