Hi All,
New here, made the move from openhab, slowly getting the hang of Home Assistamnt but i am stuck on one major thing,
I have a personal weather station that has its own website on my network, in Openhab i used to use REGEX to get the UV infor to trigger my home lights at a certain “LUX”.
I cannot for the lifr of me get the LUX value to report from the webpage. Ive tried to use the scrape method but its returning an ‘unknown’
Can i use REGEX in Home Assistant or does anyone know of a better way to get this info into openhab.
I have tried the Wunderground way but the API does not report LUX.
Weatherstation WEBPAGE
Code so far…
- platform: scrape
name: Weather UV
resource: http://192.168.20.99/livedata.htm
select: "body > table > tbody > tr:nth-child(123) > td.line-content > span:nth-child(2) > span:nth-child(12)"
value_template: ''
unit_of_measurement: Lux
Thanks all