
Chris80
Members-
Gesamte Inhalte
2 -
Benutzer seit
-
Letzter Besuch
Chris80's Achievements
Newbie (1/14)
0
Reputation in der Community
-
Hallo Theo, hat geklappt! Ist es beim OLED Display möglich die Schrift zu vergrößern? Gruß, Christian
-
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