“Weather Binding” worked already, but i wanted to correct the location name in the cfg-file.
i did a mistake by calling the location (wg-scharten)
location.wg-scharten.woeid=XXXX
and now the Binding is broken, i already corrected it again to “yhome”
i reinstalled the binding a few times - but i always get the same error, and i dont know why - because there is no “wg-scharten” any more !?
so i dont know, where it gets this “wg-scharten” from !?
I can’t say I fully understand how OH2 works just yet, but I believe it possibly copies and loads a cfg file in to this directory (if your on Ubuntu) for faster startup. Not sure, but give this a try.
Stop OH2.
Go to this directory (in Ubuntu) and delete your weather.cfg.
var\lib\openhab2\config\org\openhab
Restart OH2 and it will rebuild the cfg in that directory, and see what your logs show.
i already cleared the cache and tmp-folder
like i said in post 4 here:
EDIT:
i created a weather_test.items file and saved it - thats my log:
[ERROR] [el.item.internal.GenericItemProvider] - Binding configuration of type 'weather' of item 'Fuckyou2' could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: Could not set value whome for attribute locationid
at org.openhab.core.binding.internal.BindingConfigReaderDelegate.processBindingConfiguration(BindingConfigReaderDelegate.java:50)[193:org.openhab.core.compat1x:2.1.0]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:325)[123:org.eclipse.smarthome.model.item:0.9.0.b5]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:297)[123:org.eclipse.smarthome.model.item:0.9.0.b5]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:182)[123:org.eclipse.smarthome.model.item:0.9.0.b5]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:367)[123:org.eclipse.smarthome.model.item:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:286)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:136)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:234)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:297)[122:org.eclipse.smarthome.model.core:0.9.0.b5]
at org.eclipse.smarthome.core.service.WatchQueueReader.run(WatchQueueReader.java:206)[98:org.eclipse.smarthome.core:0.9.0.b5]
at java.lang.Thread.run(Thread.java:748)[:1.8.0_152]
It was a long time ago I had this problem but I think I also tried to uninstall binding, deleted weather.cfg and weather.config. Reboot OH, reinstalled weather binding, see which weather*.* file are created. Configure it again.
as i said - the config and the cfg are the same and correct
but why is the smarthome:items list fine, and my sitemap broken ?
EDIT:
[ERROR] [el.item.internal.GenericItemProvider] - Binding configuration of type 'weather' of item 'Fuckyou2' could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: Could not set value yhome for attribute locationid
(Could not set value yhome for attribute locationid)
WHYYYYYYYYY ???