Hi all,
I had some time today to get more out of the new OneCall API v3.0 trying out the moon information:
I am running OH 4.1.0 RC1 in a docker container.
The API call directly from OWM shows the moon_phase data for all 8 forecast days:
..., "moonrise":1728479040, "moonset":1728503520, "moon_phase":0.2, ...
and the documenation OpenWeatherMap - Bindings | openHAB
also shows that the moon-phase
channel should be in the binding:
But when I add the channel to my items file:
Number:Dimensionless localTodayMoonPhase "Current Moonphase [SCALE(moonphases.scale):%s]" { channel="openweathermap:onecall:api:local:forecastToday#moon-phase" }
I get the warning that the channel id is unkown in OneCall daily weather data
:
18:49:14.700 [INFO ] [del.core.internal.ModelRepositoryImpl] - Loading model 'openweather.items'
18:49:14.750 [WARN ] [.handler.OpenWeatherMapOneCallHandler] - Unknown channel id moon-phase in OneCall daily weather data
I am not sure if it makes sense to turn on debugging as it does not seem that something goes wrong but just that the channel id is not there. I saw others in the community where the channel seems to work hence it is even more confusing what is going wrong in my environment
Can anybody please advise how to approach this problem for a solution?
Cheers
Justus