Hi all,
I got the following problem then using the scraper
- platform: scrape
resource: [local IP]/app/Top.php
select: "HouseTempTherm1"
name : Collector Temperature
unit_of_measurement: "C"
scan_interval: 60
in the log
<div class="t_Therm1 house_temp">棟温度<br/><span id="HouseTempTherm1">--</span>℃</div>
The “–” is suppose to be the real temperature data(it works on the browser). It seems that HA successfully gets where the data is, but it never found the actual value of it. Tried with “User-Agent: Mozilla/5.0” and doesn’t work. I think it has something to do with the access to the HTML file. However, have no idea where to start. Any comment helps.