johnwalicki / node-red-contrib-twc-weather

Node-RED nodes for The Weather Company and Weather Underground Personal Weather Station APIs
Apache License 2.0
10 stars 11 forks source link

Iluminance #12

Closed jjvelar closed 1 month ago

jjvelar commented 1 month ago

Hi, thanks for your work. Very useful. more than an issue, a request: any idea why illuminance (lux) is not available in the API? My PWS has a sensor for it but Wunderground does not collect the data. Any idea on how to get it? Thanks in advance for your help. Best

Jose

johnwalicki commented 1 month ago

Hi @jjvelar Thanks for your interest in my node-red weather node. Good question. My weather station also reports Solar Radiation / lumens. Not certain that TWC API does anything with it. I'll read up on the docs and let you know.

johnwalicki commented 1 month ago

TWC API docs are here: https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit

johnwalicki commented 1 month ago

The Weather Underground PWS page displays Solar Radiation. Here's the nearby firehouse weather station. https://www.wunderground.com/dashboard/pws/KNJRIDGE9 So there must be an API to retrieve that data.

johnwalicki commented 1 month ago

The Current Conditions API returns Solar Radiation https://docs.google.com/document/d/1KGb8bTVYRsNgljnNH67AMhckY8AQT2FVwZ9urj8SWBs/edit

jjvelar commented 1 month ago

Hi John Thanks for replying. There is for radiance in W/m2 (solar radiation), but I also would like to get illuminance in lux. Can’t find illuminance in the API documentation, but the data is there as the mobile app WSView Plus shows solar Radiation in W/m2 or lux. Any idea where to get lux data? Thanks again

El El dom, 28 jul 2024 a las 18:33, John Walicki @.***> escribió:

The Weather Underground PWS page displays Solar Radiation. Here's the nearby firehouse weather station. https://www.wunderground.com/dashboard/pws/KNJRIDGE9 So there must be an API to retrieve that data.

— Reply to this email directly, view it on GitHub https://github.com/johnwalicki/node-red-contrib-twc-weather/issues/12#issuecomment-2254574139, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALKMG4VCIJRJUDRWTXLVYITZOUML5AVCNFSM6AAAAABLSUACL2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGU3TIMJTHE . You are receiving this because you were mentioned.Message ID: @.***>

johnwalicki commented 1 month ago

The PWS Observations node in this node-red-contrib-twc-weather package will return

payload.observations[0].solarRadiation

Here's a guide on W/m2 to Lumens conversion https://www.extrica.com/article/21667

jjvelar commented 1 month ago

The PWS Observations node in this node-red-contrib-twc-weather package will return

payload.observations[0].solarRadiation

Here's a guide on W/m2 to Lumens conversion https://www.extrica.com/article/21667

That worked for me. Thank you very much, John.