If you add the smart weather tile to your devices (you’ll also need to sort a refresh trigger for it…can use CoRE for this) you can choose “sensor” in the core conditional dialog, choose the weather tile…and all of its attributes will be accessible.
I use LUX from a nearby weather underground station to auto dim my house lights. More info copied below, originally posted in Mike Maxwells autodimmer thread:
Some information for those looking to pull LUX from the free Smart Weather Tile for this app:
A. Install the Smart Weather Tile from the web IDE as a device for yourself. There is a template provided. You just need to define a zip code in the device settings
I’m not in the US, so a zip code does not work for me. Fortunately you can leave it blank and your hub location will be used. Alternately you can enter in a weather underground station ID (pws:STATIONID). If you look on the weather underground web site for your area, you can find stations near you. Look in the web URL for the pws:STATIONID and enter that into the device settings for the Smart Weather Tile (instead of a zip code) on your smartphone. I tried a few until I found one with more accurate LUX updates.
B. The weather tile doesn’t update itself, and the programs I tried to fix it don’t work as they seem to have timer issues. This one, using events to trigger updates, worked perfectly: “Manual Weather Refresh” written by Daniel Vorster: [OBSOLETE] Smart Weather Station Tile Device - #164 by jkp
I copied the code and published the app to myself using the web ide. This app updates the weather tile perfectly driven off events, rather than timers. Being that I have lights activated by motion sensors, I used one of those sensor events to trigger a Weather Tile update.
Loving the auto dimmer