Scraping data from heat pump website

Hi, I managed to get all needed values from myupway by using multiscraper.

This what I have on configuration

- name: myupway Scraper
  resource: https://myupway.com/System/XXXXXXXXXX/Status/ServiceInfo
  log_response: false
  scan_interval: 60
  form_submit:
    submit_once: false
    resource: https://myupway.com/LogIn
    input:
      email: !secret myupway_username
      password: !secret myupway_password
  sensor:
    - unique_id: mlp_outside_temperature
      name: Outside temperature
      device_class: temperature
      unit_of_measurement: °C
      select: ".ID40004"
      value_template: "{{ value.replace('°C', '') }}"

....

Please find IDs needed (e.g. ID40004) from myupway web page with browser inspect -function.

<tr role="row">
    <td>outside temperature <span class="VariableDesignation">BT1</span></td>
     <td><span class="AutoUpdateValue ID40004">-0.8°C</span></td>
</tr>
2 Likes