i installed the cul and fht binding 1.11.0_snapshot
its not working… i get the following error
2017-10-11 18:57:10.548 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=286, bundle=187/file:/usr/share/openhab2/addons/org.openhab.binding.fht-1.11.0-SNAPSHOT.jar]: Updating property device of configuration org.openhab.fht caused a problem: The device name can’t be empty
org.osgi.service.cm.ConfigurationException: device : The device name can’t be empty
at org.openhab.io.transport.cul.CULLifecycleManager.config(CULLifecycleManager.java:57)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.binding.fht.internal.FHTBinding.updated(FHTBinding.java:297)[187:org.openhab.binding.fht:1.11.0.201710050110]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
i dont understand this… The device name can’t be empty
my fht.cfg
device=serial:/dev/ttyUSB0
baudrate=38400
housecode=1E63
i created the fht.cfg in Folder /etc/openhab2/Services
hope that is right… but at the moment i suppose that that could be the wrong folder…
0:23:17.548 [DEBUG] [org.openhab.binding.fht ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.fht.FHTBindingProvider}={component.name=org.openhab.binding.fht.genericbindingprovider, component.id=169, service.id=285, service.bundleid=187, service.scope=bundle} - org.openhab.binding.fht
10:23:17.668 [WARN ] [io.transport.cul.CULLifecycleManager] - CUL config is NULL, doing nothing
10:23:17.671 [DEBUG] [org.openhab.binding.fht ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService}={event.topics=openhab/command/*, service.pid=org.openhab.fht, component.name=org.openhab.binding.fht.binding, component.id=168, service.id=287, service.bundleid=187, service.scope=bundle} - org.openhab.binding.fht
10:23:17.693 [INFO ] [ternal.serial.CULSerialConfigFactory] - Update config, baudrate = 38400
10:23:17.695 [INFO ] [ternal.serial.CULSerialConfigFactory] - Update config, parity = NONE (0)
10:23:17.870 [WARN ] [io.transport.cul.CULLifecycleManager] - Can’t open CUL
org.openhab.io.transport.cul.CULDeviceException: gnu.io.NoSuchPortException
at org.openhab.io.transport.cul.internal.serial.CULSerialHandlerImpl.openHardware(CULSerialHandlerImpl.java:110)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.io.transport.cul.internal.AbstractCULHandler.open(AbstractCULHandler.java:133)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.io.transport.cul.internal.CULManager.createNewHandler(CULManager.java:149)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.io.transport.cul.internal.CULManager.getOpenCULHandler(CULManager.java:84)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.io.transport.cul.CULLifecycleManager.open(CULLifecycleManager.java:86)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.io.transport.cul.CULLifecycleManager.config(CULLifecycleManager.java:74)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.binding.fht.internal.FHTBinding.updated(FHTBinding.java:297)[187:org.openhab.binding.fht:1.11.0.201710050110]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
Caused by: gnu.io.NoSuchPortException
at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:273)[188:com.neuronrobotics.nrjavaserial:3.12.0.OH]
at org.openhab.io.transport.cul.internal.serial.CULSerialHandlerImpl.openHardware(CULSerialHandlerImpl.java:86)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
… 14 more
10:23:17.900 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=287, bundle=187/file:/usr/share/openhab2/addons/org.openhab.binding.fht-1.11.0-SNAPSHOT.jar]: Unexpected problem updating configuration org.openhab.fht
java.lang.NullPointerException
at org.openhab.binding.fht.internal.FHTBinding$1.open(FHTBinding.java:114)[187:org.openhab.binding.fht:1.11.0.201710050110]
at org.openhab.io.transport.cul.CULLifecycleManager.open(CULLifecycleManager.java:92)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.io.transport.cul.CULLifecycleManager.config(CULLifecycleManager.java:74)[190:org.openhab.io.transport.cul:1.11.0.201710050110]
at org.openhab.binding.fht.internal.FHTBinding.updated(FHTBinding.java:297)[187:org.openhab.binding.fht:1.11.0.201710050110]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1461)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1417)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:141)[3:org.apache.felix.configadmin:1.8.12]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:109)[3:org.apache.felix.configadmin:1.8.12]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_65]
i activated cul log… and get the following message whenn i try to Change the temperature
11:46:25.154 [INFO ] [marthome.event.ItemStateChangedEvent] - HeizungArbeitszimmerDesired changed from 12 to 12.5
11:46:27.066 [DEBUG] [nhab.binding.fht.internal.FHTBinding] - Processing 1 waiting FHT temperature commands
11:46:27.093 [DEBUG] [port.cul.internal.AbstractCULHandler] - Requesting credit report
11:46:27.106 [DEBUG] [port.cul.internal.AbstractCULHandler] - Received raw message from CUL: ? (1E044119 is unknown) Use one of A B C E e F f G h i K k l M m R T t U V W X x Y Z z
11:46:27.116 [DEBUG] [port.cul.internal.AbstractCULHandler] - Requesting credit report
11:46:27.148 [DEBUG] [port.cul.internal.AbstractCULHandler] - Received raw message from CUL: 00 508
11:46:27.152 [DEBUG] [port.cul.internal.AbstractCULHandler] - credit10ms = 508
11:47:27.068 [DEBUG] [nhab.binding.fht.internal.FHTBinding] - Processing 0 waiting FHT temperature commands
11:48:27.070 [DEBUG] [nhab.binding.fht.internal.FHTBinding] - Processing 0 waiting FHT temperature commands
i have got the a similar problem. In my case the intertechno binding is in conflict.
This binding on a second (selfmade CUL -> nanoCUL), only for this usage,
prevents the correct handling of FHT messages. When i disconnect the intertechno CUL
(unplug USB from Pi), i get error message for this CUL, and just from this moment i get correct FHT messages (on the other CUL), and everything works as it should.
The really disappointing thing, if i disable (delete Intertechno.cfg )or unistall intertechno binding FHT is NOT working after a reboot. It is really a mess. Only fiddling after every reboot i get a working FHT.
My Setup 5 * FHT8b (earlier Version of FHT80b) and a FHZ 1000. From the ventil binded to FHZ 1000 i never get any message. The other ones are working fine. For me it was not neccessary to use the setting “cent to NA”.
Maybe someone has an idea to get a setup that is working without this anoying bug.
P.S. i use the bindings for (FHT, FS20 an Intertechno) in version 1.12. in the addon Folder in the latest stable OpneHAB 2.