New 433 Mhz CUL and Intertechno Binding

Hi everyone,

today I tried to get my “new” sefmade cul working with intertechno. I´m sitting here for hours and it doesn´t work.
Got these: http://www.meintechblog.de/wordpress/wp-content/uploads/2013/01/Foto-1.jpg
These switches have
1st i tried to identify on which USB Port the CUL is running.

pi@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

pi@raspberrypi:~ $ ls -l /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 0 Okt 19 23:32 /dev/ttyUSB0

So my culintertechno.cfg looks like that

culintertechno:baudrate=38400
culintertechno:parity=NONE
culintertechno:device=serial:/dev/ttyUSB0
repetitions=6
wavelength=420

Switch FZ_Intertechno_ON "nacht" { culintertechno="type=raw;address=1FF1FF0FF;commandOn=FF;commandOff=00" }



When I try to switch I get this output in the log

2017-10-20 00:02:52.855 [WARN ] [thome.io.rest.core.item.ItemResource] - Received HTTP POST request at ‘items/FZ_Intertechno_ON’ with an invalid status value ‘FF’.


Maybe someone is here who gets it to work :wink:

You have the old syntax from OH1 in there on the lines with “culintertechno:”. Just delete this in every line, since you are in the culintertechno.cfg file OH “knows” that those entries are for this binding.
Are you sure about the OFF command?

No! I‘m not sure about any command in the configs. At the moment it‘s more a try and error.

Hello Marko :wink:
Did you already set up homegear?
If so, go ahead and remove “culintertechno:” from culintertechno.cfg as suggested by opus.

I think the raw definition of the Switch does not fit the syntax. You can look it up here:
https://wiki.fhem.de/wiki/Intertechno_Code_Berechnung

Compairing with that link…

  • “commandOff=00” is wrong, should be “commandOff=F0”
  • “address=1FF1FF0FF” should not use “1”, only “0” or “F”
  • and should be 10 letters long, so 1 is missed somewhere

Lets see if that helps!
Alex

Hi,
I will try it in the evening. I haven‘t got homegear. The cul should switch directly.

The CUL will switch directly (if you build it correctly, mine is from busware). It works flawlessly for me.

Stays the same. Maybe only a little mistake.
First of all I deleted all the active lines in culintertechno.cfg. So it´s empty now.
After that I looked up the adresses. I think REV ist likely for my intertechno switches PAR-1500.
There was missing an F. So now it´s 1FFF1FF0FF. In Habpanel I have configured a switch with an alternating state of an Item sending FF or 00…aaaaaaaaaaaaaaaaand…it doesn´t work :frowning:

Instlling homegear for intertechno now…

If it is working like REV, it should look this:

Switch REV_A "REV_A" (EG_Flur) {culintertechno="type=raw;address=000FFF0FFF;commandOn=FF;commandOff=F0"} /*REV Dose A* , old devices, will toggle on both comands!!!/

Of course you need to adjust he address to your settings. I’d also state that the F stands for a 1. So the usage is either F or 1, never both for any device I have come across!
To calculate my address I have also used the link posted above.

Switch FZ_Intertechno_ON "Stecker1" { culintertechno="type=raw;address=1FFF1FF0FF;commandOn=FF;commandOff=F0" }

Code is for A1

 [WARN ] [thome.io.rest.core.item.ItemResource] - Received HTTP POST request at 'items/REV_A' with an invalid status value 'FF'.

also with that one. What I have in mind ist that the CUL isn´t recognized somewhere.

Now i found this:


5.2.3.2.2. Raspberry Pi 3

On the Raspberry Pi 3 /dev/ttyAMA0 is used by the Wifi and Bluetooth module. There is a “mini UART” available on /dev/ttyS0 by default. It is better though, to use the hardware UART and switch the Wifi/Bluetooth module to mini UART. To do that, add this line at the end of /boot/config.txt:

dtoverlay=pi3-miniuart-bt

Additionally remove any references to ttyAMA0 from /boot/cmdline.txt. Our file looks like this:

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[https://doc.homegear.eu/data/homegear-homematicbidcos/configuration.html](https://doc.homegear.eu/data/homegear-homematicbidcos/configuration.html)

from here: https://doc.homegear.eu/data/homegear-homematicbidcos/configuration.html

Now it´s getting complicated. The Raspberry to configure is connected via VPN because it´s not at my house but in another location. If I change s.th. in these settings it could be that it´s not reachable. As I have in mind and if you read the 1st posting: I configured it as USB0 not as AMA0

Doing such testing via VPN seems as a rather bad idea to me.
When I started to use my CUL I first tried to test the CUL without OpenHAB (using the send command). That way any problems relating the CUL itself can be ruled out. Regarding the address code to use, that depends on the settings of your plug, doesn’t it have any (dip) switches? How are they set?

no the classic round switches from A-D and a second one from 1-3.

Other question. Do I have to setup homegear?

I guess that was successful

pi@raspberrypi:~ $ sudo homegear -r
Connected to Homegear (version 0.8.0-1850).
> families list
   ID │ Name
──────┼───────────────────────────────
   16 │ Intertechno
  254 │ Miscellaneous
──────┴───────────────────────────────

I’m using such switches with the CUL stick only! I hope that answers the home gear question. My OpenHAB is running on RasPI2 using openhabian. Besides the binding, it’s config and the correct items there was nothing else needed to set it up.
You might find older posts of me, reporting log messages something lI’ve “CUL could not be connected”. That is all solved by the use of openhabian!

I did mention earlier a "send"command, that was wrong, you should utilise the “screen” command as described in Here

2017-10-20 22:29:03.612 [INFO ] [b.core.service.AbstractActiveService] - FritzBox refresh Service has been started
2017-10-20 22:29:03.737 [WARN ] [io.transport.cul.CULLifecycleManager] - CUL config is NULL, doing nothing
2017-10-20 22:29:03.751 [ERROR] [org.apache.felix.configadmin        ] - [org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService, id=397, bundle=250/mvn:org.openhab.binding/org.openhab.binding.intertechno/1.10.0]: Updating property device of configuration org.openhab.culintertechno caused a problem: Invalid device name '/dev/ttyUSB0'. Must be 'DEVICETYPE:ADDRESS'
org.osgi.service.cm.ConfigurationException: device : Invalid device name '/dev/ttyUSB0'. Must be 'DEVICETYPE:ADDRESS'

I think this doen´t belong to the commands the cul is sending :slight_smile:
it´s not properly configured. i´m not using the openhab snapshot. It´s a pi3 with raspbian.
Maybe properties or permissions are wrong?

What look suspicious is the Warn from the CULLifecyclemanager.
I really would start to check the functioning of the stick without OPENHAB.

@dartrax…any suggestions? :slight_smile:

:frowning:


pi@raspberrypi:~ $ ls -lha /dev/ttyUSB0
crw-rw---- 1 homegear homegear 188, 0 Okt 20 23:47 /dev/ttyUSB0

pi@raspberrypi:~ $ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.53-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3                                                     (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1040 SMP Fri Oct 6 14:19:18 BS                                                    T 2017
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instructio                                                    n cache
[    0.000000] OF: fdt:Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3dc00000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 255488
[    0.000000] free_area_init_node: node 0, pgdat 80c6eb80, node_mem_map bd33600                                                    0
[    0.000000]   Normal zone: 2246 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 255488 pages, LIFO batch:31
[    0.000000] percpu: Embedded 14 pages/cpu @be5b0000 s25600 r8192 d23552 u5734                                                    4
[    0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pag                                                    es: 253242
[    0.000000] Kernel command line: 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm27                                                    08_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3                                                    f000000 vc_mem.mem_size=0x3f600000  dwc_otg.lpm_enable=0 console=ttyS0,115200 co                                                    nsole=tty1 root=PARTUUID=0f111725-02 rootfstype=ext4 elevator=deadline fsck.repa                                                    ir=yes rootwait quiet splash plymouth.ignore-serial-consoles
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 991088K/1021952K available (7168K kernel code, 484K rwdat                                                    a, 2016K rodata, 1024K init, 778K bss, 22672K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xbe800000 - 0xff800000   (1040 MB)
                   lowmem  : 0x80000000 - 0xbe600000   ( 998 MB)
                   modules : 0x7f000000 - 0x80000000   (  16 MB)
                     .text : 0x80008000 - 0x80800000   (8160 kB)
                     .init : 0x80b00000 - 0x80c00000   (1024 kB)
                     .data : 0x80c00000 - 0x80c79034   ( 485 kB)
                      .bss : 0x80c7b000 - 0x80d3daa4   ( 779 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (ph                                                    ys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                                                     0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 43980                                                    46511078ns
[    0.000018] Switching to timer-based delay loop, resolution 52ns
[    0.000288] Console: colour dummy device 80x30
[    0.000304] console [tty1] enabled
[    0.000329] Calibrating delay loop (skipped), value calculated using timer fr                                                    equency.. 38.40 BogoMIPS (lpj=192000)
[    0.000344] pid_max: default: 32768 minimum: 301
[    0.000649] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000659] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001662] Disabling memory control group subsystem
[    0.001734] CPU: Testing write buffer coherency: ok
[    0.001768] ftrace: allocating 22405 entries in 66 pages
[    0.048882] CPU0: update cpu_capacity 1024
[    0.048898] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.048933] Setting up static identity map for 0x100000 - 0x100034
[    0.050802] CPU1: update cpu_capacity 1024
[    0.050809] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.051502] CPU2: update cpu_capacity 1024
[    0.051508] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.052182] CPU3: update cpu_capacity 1024
[    0.052189] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.052276] Brought up 4 CPUs
[    0.052287] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.052291] CPU: All CPU(s) started in HYP mode.
[    0.052295] CPU: Virtualization extensions available.
[    0.053094] devtmpfs: initialized
[    0.064711] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3                                                     rev 4
[    0.064978] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                                                    x_idle_ns: 19112604462750000 ns
[    0.064994] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.065532] pinctrl core: initialized pinctrl subsystem
[    0.066423] NET: Registered protocol family 16
[    0.068772] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.077718] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                                                     registers.
[    0.077724] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.077874] Serial: AMBA PL011 UART driver
[    0.079899] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.080435] uart-pl011 3f201000.serial: could not find pctldev for node /soc/                                                    gpio@7e200000/uart0_pins, deferring probe
[    0.080960] irq: no irq domain found for /soc/aux@0x7e215000 !
[    0.149725] bcm2835-dma 3f007000.dma: DMA legacy API manager at be80f000, dma                                                    chans=0x1
[    0.151549] SCSI subsystem initialized
[    0.151702] usbcore: registered new interface driver usbfs
[    0.151784] usbcore: registered new interface driver hub
[    0.151875] usbcore: registered new device driver usb
[    0.158689] raspberrypi-firmware soc:firmware: Attached to firmware from 2017                                                    -10-06 13:56
[    0.160202] clocksource: Switched to clocksource arch_sys_counter
[    0.207275] VFS: Disk quotas dquot_6.6.0
[    0.207358] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.207561] FS-Cache: Loaded
[    0.207804] CacheFiles: Loaded
[    0.219837] NET: Registered protocol family 2
[    0.220748] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.220856] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.221041] TCP: Hash tables configured (established 8192 bind 8192)
[    0.221128] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.221170] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.221373] NET: Registered protocol family 1
[    0.221781] RPC: Registered named UNIX socket transport module.
[    0.221786] RPC: Registered udp transport module.
[    0.221790] RPC: Registered tcp transport module.
[    0.221795] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.222894] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counter                                                    s available
[    0.225196] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.241290] FS-Cache: Netfs 'nfs' registered for caching
[    0.242275] NFS: Registering the id_resolver key type
[    0.242305] Key type id_resolver registered
[    0.242310] Key type id_legacy registered
[    0.244624] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                                                    51)
[    0.244729] io scheduler noop registered
[    0.244735] io scheduler deadline registered (default)
[    0.244986] io scheduler cfq registered
[    0.250667] BCM2708FB: allocated DMA memory fdd10000
[    0.250690] BCM2708FB: allocated DMA channel 0 @ be80f000
[    0.255811] Console: switching to colour frame buffer device 82x26
[    0.259326] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[    0.259920] bcm2835-aux-uart 3f215040.serial: could not get clk: -517
[    0.261122] bcm2835-rng 3f104000.rng: hwrng registered
[    0.261243] vc-cma: Videocore CMA driver
[    0.261248] vc-cma: vc_cma_base      = 0x00000000
[    0.261253] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.261258] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.261454] vc-mem: phys_addr:0x00000000 mem_base=0x3f000000 mem_size:0x3f600                                                    000(1014 MiB)
[    0.261955] vc-sm: Videocore shared memory driver
[    0.276692] brd: module loaded
[    0.285537] loop: module loaded
[    0.285548] Loading iSCSI transport class v2.0-870.
[    0.286080] usbcore: registered new interface driver smsc95xx
[    0.286095] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    0.514149] Core Release: 2.80a
[    0.514157] Setting default values for core params
[    0.514185] Finished setting default values for core params
[    0.714572] Using Buffer DMA mode
[    0.714577] Periodic Transfer Interrupt Enhancement - disabled
[    0.714581] Multiprocessor Interrupt Enhancement - disabled
[    0.714587] OTG VER PARAM: 0, OTG VER FLAG: 0
[    0.714599] Dedicated Tx FIFOs mode
[    0.714934] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0xbdd                                                    04000 dma = 0xfdd04000 len=9024
[    0.714957] FIQ FSM acceleration enabled for :
               Non-periodic Split Transactions
               Periodic Split Transactions
               High-Speed Isochronous Endpoints
               Interrupt/Control Split Transaction hack enabled
[    0.714963] dwc_otg: Microframe scheduler enabled
[    0.715009] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x80590830
[    0.715019] WARN::hcd_init_fiq:460: FIQ ASM at 0x80590ba0 length 36
[    0.715030] WARN::hcd_init_fiq:486: MPHI regs_base at 0xbe87a000
[    0.715086] dwc_otg 3f980000.usb: DWC OTG Controller
[    0.715120] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number                                                     1
[    0.715151] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    0.715196] Init: Port Power? op_state=1
[    0.715200] Init: Power Port (0)
[    0.715402] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.715412] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=                                                    1
[    0.715420] usb usb1: Product: DWC OTG Controller
[    0.715428] usb usb1: Manufacturer: Linux 4.9.53-v7+ dwc_otg_hcd
[    0.715435] usb usb1: SerialNumber: 3f980000.usb
[    0.716242] hub 1-0:1.0: USB hub found
[    0.716279] hub 1-0:1.0: 1 port detected
[    0.716901] dwc_otg: FIQ enabled
[    0.716905] dwc_otg: NAK holdoff enabled
[    0.716909] dwc_otg: FIQ split-transaction FSM enabled
[    0.716921] Module dwc_common_port init
[    0.717140] usbcore: registered new interface driver usb-storage
[    0.717345] mousedev: PS/2 mouse device common for all mice
[    0.718298] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[    0.718582] bcm2835-cpufreq: min=600000 max=1200000
[    0.718992] sdhci: Secure Digital Host Controller Interface driver
[    0.718996] sdhci: Copyright(c) Pierre Ossman
[    0.719271] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring prob                                                    e
[    0.721454] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[    0.721555] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.724179] ledtrig-cpu: registered to indicate activity on CPUs
[    0.724364] hidraw: raw HID events driver (C) Jiri Kosina
[    0.724556] usbcore: registered new interface driver usbhid
[    0.724560] usbhid: USB HID core driver
[    0.725335] vchiq: vchiq_init_state: slot_zero = 0xbdd80000, is_master = 0
[    0.726936] [vc_sm_connected_init]: start
[    0.730355] vc_vchi_sm_init: failed to open VCHI service (-1)
[    0.730473] [vc_sm_connected_init]: failed to initialize shared memory servic                                                    e
[    0.730604] [vc_sm_connected_init]: end - returning -1
[    0.730963] Initializing XFRM netlink socket
[    0.730984] NET: Registered protocol family 17
[    0.731096] Key type dns_resolver registered
[    0.731608] Registering SWP/SWPB emulation handler
[    0.732300] registered taskstats version 1
[    0.738501] uart-pl011 3f201000.serial: cts_event_workaround enabled
[    0.738564] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud                                                     = 0) is a PL011 rev2
[    0.740108] console [ttyS0] disabled
[    0.740133] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 220, base_baud = 312500                                                    00) is a 16550
[    0.759928] console [ttyS0] enabled
[    0.760627] sdhost: log_buf @ bdd07000 (fdd07000)
[    0.840229] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    0.842435] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    0.842443] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    0.907443] mmc0: host does not support reading read-only switch, assuming wr                                                    ite-enable
[    0.909417] mmc0: new high speed SDHC card at address 0007
[    0.910053] mmcblk0: mmc0:0007 SD16G 14.5 GiB
[    0.911616]  mmcblk0: p1 p2
[    0.920348] of_cfs_init
[    0.920421] of_cfs_init: OK
[    0.930329] Indeed it is in host mode hprt0 = 00021501
[    0.934828] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O                                                    pts: (null)
[    0.934870] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    0.935978] devtmpfs: mounted
[    0.992255] Freeing unused kernel memory: 1024K
[    0.997569] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    0.999132] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.000694] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.003506] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.007240] random: fast init done
[    1.094706] mmc1: new high speed SDIO card at address 0001
[    1.130257] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.130395] Indeed it is in host mode hprt0 = 00001101
[    1.360547] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    1.360559] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.361382] hub 1-1:1.0: USB hub found
[    1.361469] hub 1-1:1.0: 5 ports detected
[    1.458933] systemd[1]: System time before build time, advancing clock.
[    1.599632] NET: Registered protocol family 10
[    1.611552] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.652570] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SEL                                                    INUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +                                                    XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[    1.653145] systemd[1]: Detected architecture arm.
[    1.654204] systemd[1]: Set hostname to <raspberrypi>.
[    1.680260] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    1.810551] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    1.810565] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber                                                    =0
[    1.813401] smsc95xx v1.0.5
[    1.904611] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-                                                    1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:91:0d:d6
[    2.000261] usb 1-1.3: new full-speed USB device number 4 using dwc_otg
[    2.163404] usb 1-1.3: New USB device found, idVendor=1a86, idProduct=7523
[    2.163416] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber                                                    =0
[    2.163424] usb 1-1.3: Product: USB2.0-Serial
[    2.217479] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    2.236463] systemd[1]: Created slice System Slice.
[    2.237156] systemd[1]: Created slice system-autologin.slice.
[    2.237747] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    2.240341] systemd[1]: Mounting RPC Pipe File System...
[    2.241196] systemd[1]: Created slice User and Session Slice.
[    2.241376] systemd[1]: Reached target Slices.
[    2.340274] i2c /dev entries driver
[    2.804810] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    2.911637] systemd-journald[112]: Received request to flush runtime journal                                                     from PID 1
[    3.272515] Driver for 1-wire Dallas network protocol.
[    3.284180] w1-gpio onewire@0: gpio pin 4, external pullup pin -1, parasitic                                                     power 0
[    3.284220] w1_add_master_device: set_pullup requires write_byte or touch_bit                                                    , disabling
[    3.311403] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f2                                                    00000
[    3.690856] brcmfmac: F1 signature read @0x18000000=0x1541a9a6
[    3.700865] usbcore: registered new interface driver brcmfmac
[    3.873303] usbcore: registered new interface driver usbserial
[    3.873390] usbcore: registered new interface driver usbserial_generic
[    3.873481] usbserial: USB Serial support registered for generic
[    3.887108] usbcore: registered new interface driver ch341
[    3.887210] usbserial: USB Serial support registered for ch341-uart
[    3.887303] ch341 1-1.3:1.0: ch341-uart converter detected
[    3.889618] brcmfmac: Firmware version = wl0: Aug  7 2017 00:46:29 version 7.                                                    45.41.46 (r666254 CY) FWID 01-f8a78378
[    3.890662] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 7.                                                    11.15 Compiler: 1.24.2 ClmImport: 1.24.1 Creation: 2014-05-26 10:53:55 Inc Data:                                                     9.10.41 Inc Compiler: 1.29.4 Inc ClmImport: 1.36.3 Creation: 2017-08-07 00:37:4                                                    7
[    3.913913] usb 1-1.3: ch341-uart converter now attached to ttyUSB0
[    4.763151] uart-pl011 3f201000.serial: no DMA platform data
[    5.713330] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[    5.713359] brcmfmac: power management disabled
[    6.026259] w1_master_driver w1_bus_master1: w1_search: max_slave_count 64 re                                                    ached, will continue next search.
[    6.212826] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    6.213076] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.975730] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[    7.029987] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:1                                                    02396k SSFS
[   14.591482] Bluetooth: Core ver 2.22
[   14.591566] NET: Registered protocol family 31
[   14.591572] Bluetooth: HCI device and connection manager initialized
[   14.591592] Bluetooth: HCI socket layer initialized
[   14.591607] Bluetooth: L2CAP socket layer initialized
[   14.591639] Bluetooth: SCO socket layer initialized
[   14.632534] Bluetooth: HCI UART driver ver 2.3
[   14.632546] Bluetooth: HCI UART protocol H4 registered
[   14.632551] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   14.632713] Bluetooth: HCI UART protocol Broadcom registered
[   14.807124] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.807135] Bluetooth: BNEP filters: protocol multicast
[   14.807158] Bluetooth: BNEP socket layer initialized
[   14.930281] Bluetooth: RFCOMM TTY layer initialized
[   14.930301] Bluetooth: RFCOMM socket layer initialized
[   14.930323] Bluetooth: RFCOMM ver 1.11
[   31.235256] fuse init (API version 7.26)
[   46.757230] random: crng init done
[   57.059804] w1_master_driver w1_bus_master1: Family 0 for 00.800000000000.8c                                                     is not registered.
[  120.660190] w1_master_driver w1_bus_master1: Family 0 for 00.400000000000.46                                                     is not registered.
[  171.430723] w1_master_driver w1_bus_master1: Family 0 for 00.c00000000000.ca                                                     is not registered.

I do also think that the CUL is not recognized correctly. As long as you are getting
"CUL config is NULL, doing nothing"
or
"Invalid device name ‘/dev/ttyUSB0’. Must be ‘DEVICETYPE:ADDRESS’"
in the logs, we do not need to worry about the correct IT commands :wink:
I think it is worth looking into the topics of @opus. While he hadn’t had the exact same problem, he found a working way even without homegear. It seems to me that for permission problems, openhab has to run as root, and that it might be the safest way to install via openHABian.

Before I was using an openhabian installation I had indeed need to use openhab as root, however that changed with openhabian!

I will install openhabian today just to give it a try. Will openhab2 be startet After installation or does it have to be installed separatly? Which config files concerning openhab2 do I have to backup?

Openhabian gives you the OS and openHAB. Read Here
The docs say that the stable release 2.0 will be installed, I believe it is actually the actual stable release 2.1!