ha-climacell-weather icon indicating copy to clipboard operation
ha-climacell-weather copied to clipboard

Accumulated Rain Sensor

Open MYeager1967 opened this issue 3 years ago • 5 comments

Several versions ago, the accumulated rain sensor disappeared. I haven't tried to run this again since as I've been busy and it was easier to simply shut down the automations that needed that sensor. Is (or has) this sensor been restored? It is needed for the Smart Irrigation integration as well as others that used it and a few of my personal automations.

MYeager1967 avatar Feb 06 '21 13:02 MYeager1967

These are the data layers available in the free v4 ClimaCell API. Precipitation Accumulation looks like it is included. Have you updated your config to work with v4 of the API?

https://www.climacell.co/data-catalog/core

jazzyisj avatar Feb 06 '21 15:02 jazzyisj

I don't think it's included in v4 API.

https://docs.climacell.co/reference/data-layers-precipitation

jcgoette avatar Feb 06 '21 16:02 jcgoette

@jcgoette Huh. Pretty sure the page I linked is the v4 doc. I found it through the API signup. I never noticed it wasn't in the API reference, I don't use it. But I did just try adding it into my config. No errors but no sensor either.

So point taken.

Perhaps it will be added in? It's a pretty basic weather stat.

jazzyisj avatar Feb 06 '21 18:02 jazzyisj

I'll get into it and make sure I'm updated to the new API key and have a look at it. I can't imagine they dropped it as it's used by a lot of things and it is a pretty basic stat. Wish it updated more than once a day, which is what I believe it updated under v3, but it is what it is. I get an error in the log... 2021-02-06 16:48:28 ERROR (SyncWorker_4) [custom_components.climacell.sensor] Invalid field: precipitation_accumulation I'm not finding it in the v4 docs either. I may have to go to another weather provider. That would suck as this one is better than OpenWeather by a long shot...

MYeager1967 avatar Feb 06 '21 21:02 MYeager1967

I got a response from ClimaCell that it's still in the v4 API, but I'm waiting for them to tell me where. I've looked and I don't see it either.

MYeager1967 avatar Feb 07 '21 22:02 MYeager1967