Hey Guys, im trying to scrape a value from a site that contains my oil level information. I am using a smart oil sensor that unfortunately has no integration yet so ive resorted to scraping for it. Right now i have this code.
multiscrape: - resource: 'https://app.smartoilgauge.com/app.php' scan_interval: 30 form_submit: submit_once: True resource: 'https://app.smartoilgauge.com/login.php?logout_first=true' select: "#inputUsername" input: username: PersonalLogin password: 'PersonalPassword' extra: field sensor: - select: '#tankSummary > div.ts_row > div.ts_col.ts_level > div.ts_col_hdr' name: Oil Test Name
I am just running this to try to grab the header out it so i know its working but can seem to do it. I get this error from the log:
This error originated from a custom integration.
Integration: Multiscrape scraping component (documentation, issues)
First occurred: August 2, 2022 at 6:45:39 PM (17032 occurrences)
Last logged: 4:50:35 PM
Scraper_noname_0 # Oil Test Name # Unable to scrape data: Could not find a tag for given selector. Consider using debug logging and log_response for further investigation.