Hey guys, i got this new smart water filter that has a dashboard page with the incoming and outgoing data of tds values i wanna grab. im awful with scraping can someone help out? Here is the site. https://watertds.com/. and here is my code so far: I believe there is a login element on the site that i use google for. not sure how that all works. currently there is no api for this stuff so scraping is the only option.
multiscrape:
- resource: Demo dashboard for TDS Bot – IoT based real time monitoring system for Reverse Osmosis (RO) water filter systems
scan_interval: 3600 # Scrape every hour; adjust as needed.
sensor:
- name: “Incoming TDS”
select: “.wtds-532:nth-of-type(1) .wtds-498” # CSS selector for Incoming TDS
value_template: “{{ value | float }}” # Assuming the value is a float
- name: “Outgoing TDS”
select: “.wtds-532:nth-of-type(2) .wtds-498” # CSS selector for Outgoing TDS
value_template: “{{ value | float }}” # Assuming the value is a float