Live UV Index integration

Any one done a Live UV Index Integration using the OpenUV API from openuvio? Uses a JSON API. Looks interesting, with up to 50 updates per day for free. Wondering if anyone wants a challenge?

It beats the once a day from the NWS/EPA that is calculated.

Be precise with what you want or are not able to achieve, no chitchat
This can be achieved by a straightforward REST integration

  - platform: rest
    name: UV Now
    resource: https://api.openuv.io/api/v1/uv?lat=YOURLATITUDE&lng=YOURLONGITUDE&alt=YOURALTITUDE
    headers:
      Content-Type: application/json
      x-access-token: YOURTOKEN
    value_template: "{{ value_json.result.uv_max }}"
    json_attributes:
      - result
1 Like

I’ve tried everything. It is not straight forward!!
Fails with the resource and x-access-token copied from the site I’m registered at OpenUV.

Well I found the OpenUV integration!!!

Now I have the data!

1 Like

OK…well, did not know it already existed for HA…as I donot know everything (yet) :slight_smile:
Still, the rest stuff works for me too