Hello, I’m trying to get battery value from the pocket wifi config page.
I want to get the value “19%” so I can compare and auto charge the pocket wifi.
I see the example and config:
- platform: scrape
name: Wifi
resource: http://192.168.179.1/index.cgi/index_contents
username: “xxxx”
password: “xxxx”
select: “.batt_sta p”
value_template: ‘{{ value.split(":")[1] }}’
But it not work. I don’t know about the IT. Can you help me? Thank you.