Dear all,
ive just switched from FHEM to openHAB2 via openHABian. Installation successfull, now i am trying to get my CUL433 running.
Ive done everything, ive red dozens of threads here but it doesnt work. With screen command i can send commands directly from CUL and the intertechno switch changes from on to off and the other way.
my .items:
Switch TEST “TEST” {culintertechno=“type=raw;address=000000FFFF;commandOn=FF;commandOff=F0”}
Switch TEST2 “TEST2” { exec=">[ON:sudo sh /etc/openhab2/scripts/sendtoCUL.sh is000000ffffff] >[OFF:sudo sh /etc/openhab2/scripts/sendtoCUL.sh is0000000FFFFF0]"}
Switch TEST3 “TEST3” { culintertechno=“type=classic;group=A;address=1” }
my culintertechno.cfg
culintertechno:baudrate=38400
culintertechno:parity=NONE
culintertechno:device=serial:/dev/ttyUSB0
repitition=6
wavelength=420
my sitemap:
sitemap default label=“default”
{
Frame label=“TEST”
{
Switch item=TEST
Switch item=TEST2
Switch item=TEST3 label="Licht" mappings=[ON="ON",OFF="OFF"]
}
}
no one off this three switches works for me
here is my log:
2017-10-31 15:26:43.716 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at http://192.168.2.113:80802017-10-31 15:26:43.728 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at https://192.168.2.113:84432017-10-31 15:26:44.799 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app2017-10-31 15:26:45.264 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui2017-10-31 15:26:45.765 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel2017-10-31 15:26:46.624 [WARN ] [io.transport.cul.CULLifecycleManager] - CUL config is NULL, doing nothing2017-10-31 15:26:46.655 [INFO ] [ternal.serial.CULSerialConfigFactory] - Update config, baudrate = 384002017-10-31 15:26:46.685 [INFO ] [ternal.serial.CULSerialConfigFactory] - Update config, parity = NONE (0)2017-10-31 15:26:46.862 [WARN ] [io.transport.cul.CULLifecycleManager] - Can’t open CULorg.openhab.io.transport.cul.CULDeviceException: gnu.io.NoSuchPortException at org.openhab.io.transport.cul.internal.serial.CULSerialHandlerImpl.openHardware(CULSerialHandlerImpl.java:110)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.io.transport.cul.internal.AbstractCULHandler.open(AbstractCULHandler.java:133)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.io.transport.cul.internal.CULManager.createNewHandler(CULManager.java:149)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.io.transport.cul.internal.CULManager.getOpenCULHandler(CULManager.java:84)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.io.transport.cul.CULLifecycleManager.open(CULLifecycleManager.java:86)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.io.transport.cul.CULLifecycleManager.config(CULLifecycleManager.java:74)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.binding.intertechno.internal.CULIntertechnoBinding.updated(CULIntertechnoBinding.java:147)[182:org.openhab.binding.intertechno:1.10.0] 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_121]Caused by: gnu.io.NoSuchPortException at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:273)[181:com.neuronrobotics.nrjavaserial:3.12.0.OH] at org.openhab.io.transport.cul.internal.serial.CULSerialHandlerImpl.openHardware(CULSerialHandlerImpl.java:86)[184:org.openhab.io.transport.cul:1.10.0] … 14 more2017-10-31 15:26:46.934 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=286, bundle=182/mvn:org.openhab.binding/org.openhab.binding.intertechno/1.10.0]: Unexpected problem updating configuration org.openhab.culintertechnojava.lang.NullPointerException at org.openhab.binding.intertechno.internal.CULIntertechnoBinding$1.open(CULIntertechnoBinding.java:64)[182:org.openhab.binding.intertechno:1.10.0] at org.openhab.io.transport.cul.CULLifecycleManager.open(CULLifecycleManager.java:92)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.io.transport.cul.CULLifecycleManager.config(CULLifecycleManager.java:74)[184:org.openhab.io.transport.cul:1.10.0] at org.openhab.binding.intertechno.internal.CULIntertechnoBinding.updated(CULIntertechnoBinding.java:147)[182:org.openhab.binding.intertechno:1.10.0] 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_121]
it would be great to get some help from you guys. It dont no what else should i do?