Hello Daniel,
I tried your suggestion: (Links changed https–>httXXps)
- resource: httXXps://vrm.victronenergy.com/installation/XX/overview
scan_interval: 200
form_submit:
submit_once: True
resource: httXXps://vrm.victronenergy.com/login
**[u]select: form.ng-pristine[/u]**
input:
Email: "XXXX"
Password: "XXX"
extra: field
sensor:
- unique_id: victron_test
select: "div > div.col-xs-12.col-md-4 > div > div:nth-child(2) > div > div > div.summary"
name: Victron Test
Unfortunately still no success
2023-01-11 22:18:03.019 INFO (MainThread) [homeassistant.setup] Setting up multiscrape
2023-01-11 22:18:03.019 DEBUG (MainThread) [custom_components.multiscrape] # Start loading multiscrape
2023-01-11 22:18:03.020 DEBUG (MainThread) [custom_components.multiscrape] # Reload service registered
2023-01-11 22:18:03.020 DEBUG (MainThread) [custom_components.multiscrape] # Start processing config from configuration.yaml
2023-01-11 22:18:03.020 DEBUG (MainThread) [custom_components.multiscrape] # Found no name for scraper, generated a unique name: Scraper_noname_0
2023-01-11 22:18:03.020 DEBUG (MainThread) [custom_components.multiscrape] Scraper_noname_0 # Setting up multiscrape with config:
OrderedDict([(‘resource’, ‘htXXtps://vrm.victronenergy.com/installation/XXXXXX/overview’), (‘scan_interval’, datetime.timedelta(seconds=200)), (‘form_submit’, OrderedDict([(‘submit_once’, True), (‘resource’, ‘htXXtps://vrm.victronenergy.com/login’), (‘select’, ‘form.ng-pristine’), (‘input’, OrderedDict([(‘Email’, ‘XXXXX’), (‘Password’, ‘XXXXX’), (‘extra’, ‘field’)])), (‘resubmit_on_error’, True), (‘input_filter’, [])])), (‘sensor’, [OrderedDict([(‘unique_id’, ‘victron_test’), (‘select’, Template(“div > div.col-xs-12.col-md-4 > div > div:nth-child(2) > div > div > div.summary”)), (‘name’, ‘Victron Test’), (‘force_update’, False)])]), (‘timeout’, 10), (‘parser’, ‘lxml’), (‘list_separator’, ‘,’), (‘verify_ssl’, True), (‘log_response’, False), (‘method’, ‘GET’)])
2023-01-11 22:18:03.048 DEBUG (MainThread) [custom_components.multiscrape.http] Scraper_noname_0 # Initializing http wrapper
2023-01-11 22:18:03.048 DEBUG (MainThread) [custom_components.multiscrape.form] Scraper_noname_0 # Initializing form submitter
2023-01-11 22:18:03.048 DEBUG (MainThread) [custom_components.multiscrape] Scraper_noname_0 # Initializing scraper
2023-01-11 22:18:03.048 DEBUG (MainThread) [custom_components.multiscrape.scraper] Scraper_noname_0 # Initializing scraper
2023-01-11 22:18:03.049 DEBUG (MainThread) [custom_components.multiscrape.http] Scraper_noname_0 # Initializing http wrapper
2023-01-11 22:18:03.049 DEBUG (MainThread) [custom_components.multiscrape] Scraper_noname_0 # Initializing coordinator
2023-01-11 22:18:03.053 INFO (MainThread) [homeassistant.setup] Setting up media_player
2023-01-11 22:18:03.070 INFO (MainThread) [homeassistant.setup] Setup of domain media_player took 0.0 seconds
2023-01-11 22:18:03.086 DEBUG (MainThread) [custom_components.multiscrape.coordinator] Scraper_noname_0 # New run: start (re)loading data from resource
2023-01-11 22:18:03.086 DEBUG (MainThread) [custom_components.multiscrape.coordinator] Scraper_noname_0 # Rendered resource template into: httXXps://vrm.victronenergy.com/installation/XXXXX/overview
2023-01-11 22:18:03.086 DEBUG (MainThread) [custom_components.multiscrape.form] Scraper_noname_0 # Starting with form-submit
2023-01-11 22:18:03.086 DEBUG (MainThread) [custom_components.multiscrape.form] Scraper_noname_0 # Requesting page with form from: httXXps://vrm.victronenergy.com/login
2023-01-11 22:18:03.086 DEBUG (MainThread) [custom_components.multiscrape.http] Scraper_noname_0 # Executing form_page-request with a GET to url: httXXps://vrm.victronenergy.com/login.
.
.
.
.
.
…
.
2023-01-11 22:18:18.163 DEBUG (MainThread) [custom_components.multiscrape.sensor] Scraper_noname_0 # Victron Test # Start scraping to update sensor
2023-01-11 22:18:18.166 DEBUG (MainThread) [custom_components.multiscrape.scraper] Scraper_noname_0 # Victron Test # Tag selected: None
2023-01-11 22:18:18.166 DEBUG (MainThread) [custom_components.multiscrape.form] Scraper_noname_0 # Exception occurred while scraping, will try to resubmit the form next interval.
2023-01-11 22:18:18.167 ERROR (MainThread) [custom_components.multiscrape.sensor] Scraper_noname_0 # Victron Test # Unable to scrape data: Could not find a tag for given selector
Consider using debug logging and log_response for further investigation.
2023-01-11 22:18:18.174 DEBUG (MainThread) [custom_components.multiscrape.sensor] Scraper_noname_0 # Victron Test # On-error, set value to None
2023-01-11 22:18:18.174 DEBUG (MainThread) [custom_components.multiscrape.entity] Scraper_noname_0 # Victron Test # Updated sensor and attributes, now adding to HA
.
.
.
Do you have any other Ideas?
Thanks