Re: eQ-3 Thermostat mit OpenHab Smart Home
Verfasst: 19. Dez 2019 13:52
...wieder was dazu gelernt. 

Code: Alles auswählen
http://196.172.186.35/eq/php/eq3.php?mac=00:1A:22:0F:C4:DD&temperature=24.0&mode=manual
Code: Alles auswählen
http://196.172.186.35/eq/php/eq3.php?mac=00:1A:22:0F:C4:DD&temperature=24.0&mode=manual
Code: Alles auswählen
http://192.168.178.35/eq/php/eq3.php?mac=00:1A:22:0F:C4:DD&temperature=%2$s{Authorization=Basic SECRET}] <[thermostatWohnzimmer:600000:JSONPATH($.temperature)]
Code: Alles auswählen
http://192.168.178.35/eq/php/eq3.php?mac=00:1A:22:10:71:C8&temperature=25{Authorization=Basic SECRET};[thermostatWohnzimmer:600000:JSONPATH($.temperature)]
Code: Alles auswählen
sudo nano /etc/openhab2/items/thermostat.items
Code: Alles auswählen
sudo nano /etc/openhab2/services/http.cfg
Code: Alles auswählen
sudo nano /etc/openhab2/sitemaps/default.sitemap
Code: Alles auswählen
thermostatWohnzimmer.url=http://192.168.178.35/eq/php/eq3.php?mac=00:1A:22:10:71:C8{Authorization=Basic SECRET}
thermostatWohnzimmer.updateInterval=120000
Viele Grüße aus dem Süden2019-12-21 11:15:13.183 [ERROR] [el.item.internal.GenericItemProvider] - Binding configuration of type 'http' of item 'thermostat_wz_valve' could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: bindingConfig '<[thermostatWohnzimmer:600000:JSONPATH($.valve)]' doesn't contain a valid binding configuration
at org.openhab.core.binding.internal.BindingConfigReaderDelegate.processBindingConfiguration(BindingConfigReaderDelegate.java:51) ~[?:?]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:397) ~[?:?]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:366) ~[?:?]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:229) ~[?:?]
at org.eclipse.smarthome.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:432) ~[?:?]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:301) ~[?:?]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:139) ~[?:?]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:227) ~[?:?]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:291) ~[?:?]
at org.eclipse.smarthome.core.service.WatchQueueReader.lambda$3(WatchQueueReader.java:323) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: org.openhab.model.item.binding.BindingConfigParseException: bindingConfig '<[thermostatWohnzimmer:600000:JSONPATH($.valve)]' doesn't contain a valid binding configuration
at org.openhab.binding.http.internal.HttpGenericBindingProvider.parseBindingConfig(HttpGenericBindingProvider.java:143) ~[?:?]
at org.openhab.binding.http.internal.HttpGenericBindingProvider.processBindingConfiguration(HttpGenericBindingProvider.java:119) ~[?:?]
at org.openhab.core.binding.internal.BindingConfigReaderDelegate.processBindingConfiguration(BindingConfigReaderDelegate.java:49) ~[?:?]
... 16 more
...Wie gesagt, ich bin da nicht kompetent, aber mich wundert es schon, dass in der Fehlermeldung von $.valve die Rede ist. Hattest du nicht $.temperature als JSON-String in deinen Definitionen ?2019-12-21 11:15:13.183 [ERROR] [el.item.internal.GenericItemProvider] - Binding configuration of type 'http' of item 'thermostat_wz_valve' could not be parsed correctly.
org.eclipse.smarthome.model.item.BindingConfigParseException: bindingConfig '<[thermostatWohnzimmer:600000:JSONPATH($.valve)]' doesn't contain a valid binding configuration