edit: following an apt installation of OH2.4.0.S you get the following message:
Listing important changes for version 2.4.0:
Warning: Astro Binding: The 'kilometer' and 'miles' channels have been replaced by a new 'distance' channel
Warning: Jeelink Binding: The 'currentWatt' and 'maxWatt' channels have been replaced with 'currentPower' and 'maxPower' channels
Warning: WeatherUnderground Binding: A bridge has been added on top of the current things, you need to add a bridge containing your api-key.
Warning: ZWave Binding: Major changes have been merged to support features such as security. All things must be deleted and re-added. Refer to https://community.openhab.org/t/zwave-binding-updates/51080 for further information.
Warning: Synop Binding is now using UoM. 'wind-speed-ms' and 'wind-speed-knots' channels have been replaced by a single 'wind-speed' channel.```
Yup. Used PaperUI and that was the kicker. Iāve unlinked the miles/kilometer channels and the errors have gone away.
There were 3 sections that had Miles and Kilometer channels, Apogee, Perigee, and Distance. I unlinked them both in all 3 sections. I do not however see a new channel just called āDistanceā. I can add it (them?) via Things I guess or will it show up on PaperUI eventually?
The new Channels should appear by themselves in PaperUI
Maybe try to restart your OH2 service? (or delete the existing Things and re-discover them)
I donāt have the Channels manually declared in my things fileā¦ only the Things (and the Channels will appear auto-magically in PaperUI under these Things )
I have the same problems, my setup:
openHABianPi , openHAB 2.4.0-1
After i updated my system from 2.3 to 2.4 , i got the errors in the log:
2018-12-23 13:15:02.317 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:perigee#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:02.462 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:apogee#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:02.315 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:perigee#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:02.311 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:distance#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:02.718 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:distance#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:02.398 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:apogee#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:02.894 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:distance#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:03.110 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:perigee#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:03.238 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:perigee#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:03.370 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:apogee#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:03.519 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:apogee#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:03.759 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:distance#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:03.774 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:distance#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:03.787 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:perigee#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:03.801 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:perigee#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
2018-12-23 13:15:03.815 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:apogee#miles : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getMiles()
2018-12-23 13:15:03.828 [ERROR] [ding.astro.handler.AstroThingHandler] - Can't update state for channel astro:moon:local:apogee#kilometer : org.eclipse.smarthome.binding.astro.internal.model.MoonDistance.getKilometer()
i removed the thing astro:moon and added it again, but the error appears again. After that, i removed the astro:moon and astro:son and also removed the astro binding. Then i reinstalled the service and the things, but the error appears in the log file.
So i stopped my openhab cleared the cache and started ist again. But unfortunately the error is alway there.
The new Astro Binding distance channel was changed from āastro:moon:local:distance#kilometerā to āastro:moon:local:distance#distanceā, just update your .items file and it will works again.