theo Geschrieben June 20, 2016 at 20:50 Autor Geschrieben June 20, 2016 at 20:50 Hier gibt es einen Snapshot mit dem Fix: https://bintray.com/theoweiss/generic/download_file?file_path=dUS%2Forg.openhab.binding.tinkerforge-1.9.0-SNAPSHOT.jar Zitieren
Martin Geschrieben June 21, 2016 at 17:10 Geschrieben June 21, 2016 at 17:10 Hallo Theo, das ging ja schnell. Der Snapshot vom 20. Juni spätabends scheint bei mir zu funktionieren. Vielen Dank!!! Martin Zitieren
theo Geschrieben June 21, 2016 at 21:19 Autor Geschrieben June 21, 2016 at 21:19 Hallo Martin, sehr gut! Danke fürs Testen. Gruß, Theo Zitieren
Chris80 Geschrieben June 22, 2016 at 18:37 Geschrieben June 22, 2016 at 18:37 Hallo Theo, ich versuche mich gerade an der Einbindung des OELD128x64. Folgenden Snapshot nutze ich: https://bintray.com/theoweiss/generic/download_file?file_path=dUS%2Forg.openhab.binding.tinkerforge-1.9.0-SNAPSHOT.jar Leider kann ich nicht ausschlißen, dass das Problem zwischen meinen Ohren ist. Die Konfig habe ich wie folgt: openhab.cfg tinkerforge:hosts=192.168.178.39:4223 192.168.178.41:4223 # OLED Display IP:192.168.178.41 tinkerforge:oled128.uid=yj9 tinkerforge:oled128.type=bricklet_oled128x64 tinkerforge:oled128.contrast=143 tinkerforge:oled128.invert=false *.rules rule "write every 10 seconds" when Time cron "0/10 * * * * ?" then tfOLEDWriteLine("yj9", 1, 0, String::format("Füllstand : %4s", Heizung_Test.state.format("%.0f"))) end Folgendes habe ich aus dem log gezogen. 17:21:50.019 [openHAB-job-scheduler_Worker-1] DEBUG org.quartz.core.JobRunShell - Calling execute on job DEFAULT.Haus.rules#write every 10 seconds#0/10 * * * * ? 17:21:50.025 [openHAB-job-scheduler_Worker-1] DEBUG o.o.m.r.i.engine.ExecuteRuleJob - Executing scheduled rule 'write every 10 seconds' 17:21:50.050 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - before getLinkedObjects: node: 'tfOLEDWriteLine' 17:21:50.054 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - enter getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.178 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - sortedDescriptionsFromLowestToHighest: FeatureScopeDescription [receiverType=null, descriptionProvider=XFeatureCallSugarDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=160]] FeatureScopeDescription [receiverType=null, descriptionProvider=DefaultJvmFeatureDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=60]] 17:21:50.183 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.186 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.236 [scanner-1] DEBUG org.eclipse.jetty.util.Scanner - scanned [/volume1/@appstore/OpenHAB/webapps]: {} 17:21:50.238 [scanner-2] DEBUG org.eclipse.jetty.util.Scanner - scanned [/volume1/@appstore/OpenHAB/contexts]: {} 17:21:50.368 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - leave getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.373 [openHAB-job-scheduler_Worker-1] DEBUG o.o.m.s.s.ScriptExtensionClassNameProvider - Script actions have changed: TwitterActionService, HTTPActionService, ExecActionService, PingActionService, MiosActionService, AudioActionService, PushoverActionService, TransformationActionService, 17:21:50.387 [Component Resolve Thread (Bundle 98)] DEBUG o.o.i.s.i.DiscoveryServiceImpl - Registering new service _openhab-cv-server-ssl._tcp.local. at port 8443 17:21:50.595 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - after getLinkedObjects: node: 'tfOLEDWriteLine' result: null 17:21:50.603 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - before getLinkedObjects: node: 'tfOLEDWriteLine' 17:21:50.603 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - enter getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.603 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - sortedDescriptionsFromLowestToHighest: FeatureScopeDescription [receiverType=null, descriptionProvider=XFeatureCallSugarDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=160]] FeatureScopeDescription [receiverType=null, descriptionProvider=DefaultJvmFeatureDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=60]] 17:21:50.604 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.604 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.621 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - leave getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.626 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - after getLinkedObjects: node: 'tfOLEDWriteLine' result: null 17:21:50.629 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.typing.AbstractTypeProvider - getExpectedType(parameterized) : org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:219) 17:21:50.629 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.typing.AbstractTypeProvider - getExpectedType: org.eclipse.xtext.xbase.impl.XStringLiteralImpl@130778f (value: yj9) 17:21:50.632 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - before getLinkedObjects: node: 'tfOLEDWriteLine' 17:21:50.632 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - enter getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.633 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - sortedDescriptionsFromLowestToHighest: FeatureScopeDescription [receiverType=null, descriptionProvider=XFeatureCallSugarDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=160]] FeatureScopeDescription [receiverType=null, descriptionProvider=DefaultJvmFeatureDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=60]] 17:21:50.633 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.633 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.651 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - leave getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.657 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - after getLinkedObjects: node: 'tfOLEDWriteLine' result: null 17:21:50.657 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - before getLinkedObjects: node: 'tfOLEDWriteLine' 17:21:50.659 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - enter getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.659 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - sortedDescriptionsFromLowestToHighest: FeatureScopeDescription [receiverType=null, descriptionProvider=XFeatureCallSugarDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=160]] FeatureScopeDescription [receiverType=null, descriptionProvider=DefaultJvmFeatureDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=60]] 17:21:50.660 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.660 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.673 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - leave getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.677 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - after getLinkedObjects: node: 'tfOLEDWriteLine' result: null 17:21:50.678 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.typing.AbstractTypeProvider - cache skip: null 17:21:50.678 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.typing.AbstractTypeProvider - cache hit: false for: org.eclipse.xtext.xbase.impl.XStringLiteralImpl@130778f (value: yj9) 17:21:50.678 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.typing.AbstractTypeProvider - result: null getExpectedType(parameterized) : org.eclipse.xtext.xbase.impl.XStringLiteralImpl@130778f (value: yj9) 17:21:50.678 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - before getLinkedObjects: node: 'tfOLEDWriteLine' 17:21:50.679 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - enter getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.679 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - sortedDescriptionsFromLowestToHighest: FeatureScopeDescription [receiverType=null, descriptionProvider=XFeatureCallSugarDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=160]] FeatureScopeDescription [receiverType=null, descriptionProvider=DefaultJvmFeatureDescriptionProvider [featuresForTypeProvider=StaticImplicitMethodsFeatureForTypeProvider [context=Haus.rules, isExtensionProvider=false], contextType=null, implicitReceiver=null, implicitArgument=null, priority=60]] 17:21:50.680 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.680 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.c.t.u.L.Primary - Initialized argument context for request ReceiverRequest [receiver=null] 17:21:50.693 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.x.scoping.XbaseScopeProvider - leave getScope(tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>), XAbstractFeatureCall#feature) 17:21:50.697 [openHAB-job-scheduler_Worker-1] DEBUG o.e.x.l.impl.DefaultLinkingService - after getLinkedObjects: node: 'tfOLEDWriteLine' result: null 17:21:50.703 [openHAB-job-scheduler_Worker-1] ERROR o.o.m.r.i.engine.ExecuteRuleJob - Error during the execution of rule write every 10 seconds java.lang.RuntimeException: The name 'tfOLEDWriteLine(<XStringLiteralImpl>,<XNumberLiteralImpl>,<XNumberLiteralImpl>,<XStringLiteralImpl>)' cannot be resolved to an item or type. at org.openhab.model.script.interpreter.ScriptInterpreter.internalFeatureCallDispatch(ScriptInterpreter.java:67) ~[na:na] at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._evaluateAbstractFeatureCall(XbaseInterpreter.java:658) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291) ~[na:na] at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:218) ~[na:na] at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter._evaluateBlockExpression(XbaseInterpreter.java:321) ~[na:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_77] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_77] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_77] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_77] at org.eclipse.xtext.util.PolymorphicDispatcher.invoke(PolymorphicDispatcher.java:291) ~[na:na] at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.internalEvaluate(XbaseInterpreter.java:218) ~[na:na] at org.eclipse.xtext.xbase.interpreter.impl.XbaseInterpreter.evaluate(XbaseInterpreter.java:204) ~[na:na] at org.openhab.model.script.internal.engine.ScriptImpl.execute(ScriptImpl.java:59) ~[na:na] at org.openhab.model.rule.internal.engine.ExecuteRuleJob.execute(ExecuteRuleJob.java:55) ~[na:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz-all-2.1.7.jar:na] at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz-all-2.1.7.jar:na] Gruß, Christian Zitieren
theo Geschrieben June 22, 2016 at 20:06 Autor Geschrieben June 22, 2016 at 20:06 Hallo Christian, ups, hab ich ganz vergessen. Wenn du es auf diese Art verwenden willst, dann brauchst noch die passende Action jar Datei. Ich habe sie gerade hochgeladen: https://bintray.com/theoweiss/generic/download_file?file_path=dUS%2Forg.openhab.action.tinkerforge-1.9.0-SNAPSHOT.jar Gruß, Theo Zitieren
Chris80 Geschrieben June 23, 2016 at 19:57 Geschrieben June 23, 2016 at 19:57 Hallo Theo, hat geklappt! Ist es beim OLED Display möglich die Schrift zu vergrößern? Gruß, Christian Zitieren
theo Geschrieben June 23, 2016 at 20:16 Autor Geschrieben June 23, 2016 at 20:16 Hallo Christian, hat geklappt ist gut! Größere Schrift geht bisher leider nicht, ich arbeite u.a. daran. Das wird aber noch eine Weile dauern: https://github.com/theoweiss/GfxLibTF , da es mir an Zeit fehlt. Gruß, Theo Zitieren
MacDuff Geschrieben August 16, 2016 at 15:36 Geschrieben August 16, 2016 at 15:36 Hallo, nach einer Weile Abstinenz habe ich mich mal wieder mit Openhab und TF beschäftigt -- OH2 diesmal. Das macht ja einen recht guten Eindruck; meine MaxCube-Teile hat's praktisch von allein gefunden und eingebunden. Mit TF habe ich allerdings Probleme. Das Binding kann ich installieren (via Extensions), aber es erscheint nicht bei "Bindings", und auch keine TF-Hardware im Überblick. Im openhab.log finde ich dann errors und warnings dieser Art: 2016-08-16 17:07:23.706 [ERROR] [org.openhab.binding.tinkerforge ] - FrameworkEvent ERROR - org.openhab.binding.tinkerforge org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.tinkerforge [198] Another singleton bundle selected: osgi.identity; osgi.identity="org.openhab.binding.tinkerforge"; type="osgi.bundle"; version:Version="1.8.3"; singleton:="true" Legacy bindings sind "true" im addons.cfg. tinkerforge.cfg hat "hosts = localhost". Was läuft hier schief? merci, macduff Zitieren
Gast sihui Geschrieben August 20, 2016 at 11:04 Geschrieben August 20, 2016 at 11:04 Hast du den Kompatibilitäts-Modus installiert/aktiviert? http://docs.openhab.org/developers/development/compatibilitylayer.html#how-to-use-openhab-1x-add-ons-that-are-not-part-of-the-distribution Gruß, Sigi Zitieren
MacDuff Geschrieben August 21, 2016 at 08:23 Geschrieben August 21, 2016 at 08:23 Das meldet sich mit "already installed" zurück; gefolgt von einem error, dass irgendwelche bundles nicht neu gestartet werden konnten... ich habe auch keine alten konfigurationen von oha 1.x mehr, das ist alles mit einem computer-crash dahingegangen, sondern starte einen neuen versuch mit 2.0. vielleicht am besten, auf 2.0 bindings zu warten... danke & ciao md Zitieren
theo Geschrieben August 24, 2016 at 16:47 Autor Geschrieben August 24, 2016 at 16:47 Hallo MacDuff, das TinkerforgeBinding funktioniert mit openHAB 2 und ist auch Teil der Distribution. Wie hast du openHAB 2 installiert? Gruß, Theo Zitieren
MacDuff Geschrieben August 25, 2016 at 07:44 Geschrieben August 25, 2016 at 07:44 Hallo Theo, ich habe die Online-Distro als Standardversion (nicht Demo) auf meinem Win 8.1 Rechner installiert. Dann in der Paper UI die Tinkerforge-Bindings dazu installiert, aber sie scheinen halt nicht in der Liste der Bindings auf, und demzufolge wohl auch keine TF Komponenten... Versuchsweise habe ich aus der Liste der Extensions das eine oder andere weitere Binding installiert; hängen geblieben sind in der Regel aber nur die "echten" 2.0-Bindings. merci, md Zitieren
theo Geschrieben October 18, 2016 at 19:46 Autor Geschrieben October 18, 2016 at 19:46 Hallo md, openHAB 2 ist noch Beta, d.h. da tut sich sehr viel. Für solche Fragen / Probleme bist du bestens in der openhab community aufgehoben: https://community.openhab.org Gruß, Theo Zitieren
theo Geschrieben October 18, 2016 at 19:50 Autor Geschrieben October 18, 2016 at 19:50 Bricklet Analog Out V2 Nach einer Pause gibt es wieder Unterstützung für ein weiteres Bricklet. Download-URL und Beispiel-Konfiguration könnt ihr hier im Englischen Forum finden: http://www.tinkerunity.org/forum/index.php/topic,3778.msg23021.html#msg23021 Zitieren
Riffhai Geschrieben November 5, 2016 at 20:01 Geschrieben November 5, 2016 at 20:01 Hallo, ich habe heute einen zweiten Master Brick mit eine Ethernet Master Extension versucht in mein Openhab 1.8.3 zu installieren. Es funktioniert nur der erste der zweite sendet keine Werte zu Openhab mit dem Brick Viewer funktionieren die Bricks. Ich finde im Openhab Log eine Fehlermeldung: 2016-11-05 20:58:05.576 [ERROR] [.service.AbstractActiveService] - Error while executing background thread Tinkerforge Refresh Service java.lang.NullPointerException: null at org.openhab.binding.tinkerforge.internal.model.impl.MBrickletAmbientLightV2Impl.fetchSensorValue(MBrickletAmbientLightV2Impl.java:996) ~[na:na] at org.openhab.binding.tinkerforge.internal.TinkerforgeBinding.updateItemValues(TinkerforgeBinding.java:625) ~[na:na] at org.openhab.binding.tinkerforge.internal.TinkerforgeBinding.execute(TinkerforgeBinding.java:589) ~[na:na] at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na] at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na] Meine Openhab.cfg ##################################Tinkerforge-Binding###################### # # IP address of the Tinkerforge-Server tinkerforge:hosts=192.168.178.28 192.168.178.78 tinkerforge:rs1.uid=v3E tinkerforge:rs1.type=bricklet_remote_switch tinkerforge:rs1.typeADevices=rslr1 rslr2 rslr3 tinkerforge:riff_licht_1.uid=v3E tinkerforge:riff_licht_1.subid=rslr1 tinkerforge:riff_licht_1.type=remote_switch_a tinkerforge:riff_licht_1.houseCode=31 tinkerforge:riff_licht_1.receiverCode=8 tinkerforge:riff_licht_2.uid=v3E tinkerforge:riff_licht_2.subid=rslr2 tinkerforge:riff_licht_2.type=remote_switch_a tinkerforge:riff_licht_2.houseCode=31 tinkerforge:riff_licht_2.receiverCode=24 tinkerforge:riff_licht_3.uid=v3E tinkerforge:riff_licht_3.subid=rslr3 tinkerforge:riff_licht_3.type=remote_switch_a tinkerforge:riff_licht_3.houseCode=31 tinkerforge:riff_licht_3.receiverCode=1 ##################Tinkerforge Temperatur PDC######## tinkerforge:brickletptc.uid=z3d tinkerforge:brickletptc.type=bricklet_ptc tinkerforge:brickletptc.wiremode=2 tinkerforge:ptctemperature.uid=z3d tinkerforge:ptctemperature.subid=ptc_temperature tinkerforge:ptctemperature.type=ptc_temperature tinkerforge:ptctemperature.callbackPeriod=1000 ##################Tinkerforge Barometer######## tinkerforge:barometer.uid=vNi tinkerforge:barometer.type=bricklet_barometer tinkerforge:barometer.callbackPeriod=10000 tinkerforge:barometer.threshold=1000 ##################Tinkerforge Helligkeit######## tinkerforge:ambientlightv2.uid=yEi tinkerforge:ambientlightv2.type=bricklet_ambient_lightv2 tinkerforge:ambientlightv2.illuminanceRange=10 tinkerforge:ambientlightv2.integrationTime=10 tinkerforge:ambientlightv2.callbackPeriod=10 tinkerforge:ambientlightv2.threshold=0 Die erste IP Adresse funktioniert, die zweite IP Adresse geht nicht kann mir jemand Helfen? Gruss Michael Zitieren
Riffhai Geschrieben November 5, 2016 at 21:10 Geschrieben November 5, 2016 at 21:10 Jetzt habe ich das bricklet_ambient_lightv2 abgesteckt, jetzt funktionieren beide Stapel. Was ist da los ? Zitieren
theo Geschrieben November 5, 2016 at 22:38 Autor Geschrieben November 5, 2016 at 22:38 Der Fehler dürfte hier sein: tinkerforge:ambientlightv2.illuminanceRange=10 tinkerforge:ambientlightv2.integrationTime=10 illuminanceRange muss ein Wert zwischen 0 und 6 sein, integrationTime zwischen 0 und 7. Im log solltest du einen Fehler direkt beim Initialisieren des Bindings sehen. Siehe auch Doku hier: https://github.com/openhab/openhab/wiki/Tinkerforge-Binding#ambient-light-bricklet-v2 und hier http://www.tinkerforge.com/de/doc/Software/Bricklets/AmbientLightV2_Bricklet_Java.html#fortgeschrittene-funktionen Zitieren
Riffhai Geschrieben November 7, 2016 at 20:36 Geschrieben November 7, 2016 at 20:36 Habe ich angeschaut und mit 3 probiert geht nicht bekomme Fehler. tinkerforge:ambientlightv2.illuminanceRange=3 tinkerforge:ambientlightv2.integrationTime=3 Das ist der Fehler im LOG [ERROR] [i.internal.GenericItemProvider] - Binding configuration of type 'tinkerforge' of item ?TF_AmbientLight? could not be parsed correctly. org.openhab.model.item.binding.BindingConfigParseException: TinkerforgeGenericBindingProvider:processBindingConfiguration: invalid format, the entry must consist of key=value pair, but value was found.yEi at org.openhab.binding.tinkerforge.internal.TinkerforgeGenericBindingProvider.processBindingConfiguration(TinkerforgeGenericBindingProvider.java:84) ~[na:na] at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:348) [org.openhab.model.item_1.8.3.jar:na] at org.openhab.model.item.internal.GenericItemProvider.dispatchBindingsPerType(GenericItemProvider.java:309) [org.openhab.model.item_1.8.3.jar:na] at org.openhab.model.item.internal.GenericItemProvider.addBindingConfigReader(GenericItemProvider.java:106) [org.openhab.model.item_1.8.3.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0] at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0] at org.eclipse.equinox.internal.ds.model.ComponentReference.bind(ComponentReference.java:376) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.bindReference(ServiceComponentProp.java:444) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.InstanceProcess.dynamicBind(InstanceProcess.java:416) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:334) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433) [org.eclipse.osgi_3.8.2.v20130124-134944.jar:na] at org.eclipse.equinox.internal.ds.InstanceProcess.registerService(InstanceProcess.java:536) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:260) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.Resolver.buildNewlySatisfied(Resolver.java:473) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.Resolver.enableComponents(Resolver.java:217) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.SCRManager.performWork(SCRManager.java:816) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.SCRManager$QueuedJob.dispatch(SCRManager.java:783) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.ds.WorkThread.run(WorkThread.java:89) [org.eclipse.equinox.ds_1.4.1.v20120926-201320.jar:na] at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:70) [org.eclipse.equinox.util_1.0.400.v20120917-192807.jar:na] gehören die ganzen Fehler zu diesem Bricklet. Alle anderen Bricklet funktionieren die aber an einem anderen Master Brick hängen. Zitieren
theo Geschrieben November 7, 2016 at 21:50 Autor Geschrieben November 7, 2016 at 21:50 Kannst du deine items Konfiguration posten, die scheint ebenso fehlerhaft zu sein. Zitieren
Riffhai Geschrieben November 8, 2016 at 18:35 Geschrieben November 8, 2016 at 18:35 Hallo, das item habe ich geändert in Number Helligkeit "Helligkeit [%.0f lx]" {tinkerforge="yEi"} Im Log steht der Fehler Binding configuration of type 'tinkerforge' of item ?Helligkeit? could not be parsed correctly. org.openhab.model.item.binding.BindingConfigParseException: TinkerforgeGenericBindingProvider:processBindingConfiguration: invalid format, the entry must consist of key=value pair, but value was found.yEi at org.openhab.binding.tinkerforge.internal.TinkerforgeGenericBindingProvider.processBindingConfiguration(TinkerforgeGenericBindingProvider.java:84) ~[na:na] at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:348) [org.openhab.model.item_1.8.3.jar:na] at org.openhab.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:324) [org.openhab.model.item_1.8.3.jar:na] at org.openhab.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:171) [org.openhab.model.item_1.8.3.jar:na] at org.openhab.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:390) [org.openhab.model.item_1.8.3.jar:na] at org.openhab.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:159) [org.openhab.model.core_1.8.3.jar:na] at org.openhab.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:100) [org.openhab.model.core_1.8.3.jar:na] at org.openhab.model.core.internal.folder.FolderObserver.checkFolder(FolderObserver.java:142) [org.openhab.model.core_1.8.3.jar:na] at org.openhab.model.core.internal.folder.FolderObserver.run(FolderObserver.java:99) [org.openhab.model.core_1.8.3.jar:na] Zitieren
Gast sihui Geschrieben November 8, 2016 at 22:10 Geschrieben November 8, 2016 at 22:10 Number Helligkeit "Helligkeit [%.0f lx]" {tinkerforge="yEi"} Wenn im Wiki steht Number illuminance "Illuminance [%.2f]" {tinkerforge="uid=<your_uid>"} dann bedeutet das für dein Item: Number Helligkeit "Helligkeit [%.0f lx]" {tinkerforge="uid=yEi"} Have fun. P.S.: die Sache mit dem "exakt" hatten wir doch gerade erst im anderen Forum Zitieren
Riffhai Geschrieben November 9, 2016 at 11:06 Geschrieben November 9, 2016 at 11:06 Ja hatten wir im anderen Forum, habe ich doch tatsächlich das uid gelöscht und dann diesen Fehler übersehen oh man wie blöd !!! Zitieren
Gast sihui Geschrieben November 9, 2016 at 12:00 Geschrieben November 9, 2016 at 12:00 oh man wie blöd !!! Ach was, kann passieren ... mit jedem Fehler lernt man dazu Zitieren
Riffhai Geschrieben November 9, 2016 at 16:51 Geschrieben November 9, 2016 at 16:51 Jetzt habe ich das item geändert funktioniert aber immer noch nicht Number Helligkeit "Helligkeit [%.2f]" {tinkerforge="uid=yEi"} in der openhab.cfg tinkerforge:ambientlightv2.uid=yEi tinkerforge:ambientlightv2.type=bricklet_ambient_lightv2 tinkerforge:ambientlightv2.illuminanceRange=3 tinkerforge:ambientlightv2.integrationTime=3 tinkerforge:ambientlightv2.callbackPeriod=10 tinkerforge:ambientlightv2.threshold=0 im LOG steht der Fehler [ERROR] [.service.AbstractActiveService] - Error while executing background thread Tinkerforge Refresh Service java.lang.NullPointerException: null at org.openhab.binding.tinkerforge.internal.model.impl.MBrickletAmbientLightV2Impl.fetchSensorValue(MBrickletAmbientLightV2Impl.java:879) ~[na:na] at org.openhab.binding.tinkerforge.internal.TinkerforgeBinding.updateItemValues(TinkerforgeBinding.java:645) ~[na:na] at org.openhab.binding.tinkerforge.internal.TinkerforgeBinding.execute(TinkerforgeBinding.java:608) ~[na:na] at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:156) ~[na:na] at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) ~[na:na] Zitieren
theo Geschrieben November 9, 2016 at 19:11 Autor Geschrieben November 9, 2016 at 19:11 Poste nochmal den kompletten Log vom Starten von openHAB bis zum Fehler. Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.