It took me awhile to find a local PWS that was reporting solarradation. What I did was goto the āWundermapā and check each PWS to see which values it was reporting. I eventually found a few somewhat close by. I looked at the historical data and found the one with the most consistent chart data. I wish there was a tool to find stations reporting specific values sorted by distance. You can probably try nearby zip codes as well if you donāt want to search around the map.
In the driver settings you can set the specific PWS as the location with pws:[Station ID].
Awesome, so I found on within a few miles of my house. I put in the location ID in the section where is asked for zip or location. Did not work, so iām assuming I made a mistake. Yourāre saying to hard code into driver? Can you tell me which line I need to edit, I looked and have a couple guesses, but not 100% sure.
Ah. OK. Iām in the UK and it finds my nearest one which probably just happens to have the solar radiation data. Didnāt realise they donāt all supply this data.
Did you do anything with this?
I'm trying to extract the 'solarradiation' data that is polled and use it for lux levels to turn lights on and off.
On ST with webCoRE I just put the following expression into a piston, and it extracted the solarradiation.
With webCoRE on HE it returns 0.
I am using weather underground and can get the information polled OK.
My problem, as described above, is that I want to extract the value and put it into a variable.
I can do this OK with WebCoRE using the expression as shown. It does not work in HE.
Hope that all makes sense.
Instead of using solarradiation why not use lux instead? The custom driver mentioned above does the conversion from solarradiation to lux automatically already. Maybe I misread your goal?