nanoCUL and Intertechno Binding not working

  • Platform information:
    • Hardware: raspi 3 b
    • OS: openhabian
    • openHAB version: 2.4.0.1
  • Please post configurations (if applicable):
    • Items configuration related to the issue:

Switch rfplug1 “Test Plug” { culintertechno=“type=raw;commandOn=11111111111111111111111110011110;commandOff=11111111111111111111111110001110”}

  • Sitemap configuration related to the issue

sitemap flat label=“Flat” {
Frame label=“Remote Plugs” {
Switch item=rfplug1
}
}

  • Services configuration related to the issue

############################# Intertechno Binding ###################################
device=serial:/dev/cul433
baudrate=38400

repetitions=8

wavelength=460

  • If logs where generated please post these here using code fences:

2019-04-24 23:26:22.075 [DEBUG] [org.openhab.binding.intertechno ] - BundleEvent STARTING - org.openhab.binding.intertechno
2019-04-24 23:26:22.081 [DEBUG] [hno.internal.CULIntertechnoActivator] - CULIntertechno binding has been started.
2019-04-24 23:26:22.087 [DEBUG] [org.openhab.binding.intertechno ] - BundleEvent STARTED - org.openhab.binding.intertechno
2019-04-24 23:26:22.105 [DEBUG] [org.openhab.binding.intertechno ] - ServiceEvent REGISTERED - {org.openhab.model.item.binding.BindingConfigReader, org.openhab.binding.intertechno.CULIntertechnoBindingProvider}={service.id=349, service.bundleid=210, service.scope=bundle, component.name=org.openhab.binding.intertechno.genericbindingprovider, component.id=210} - org.openhab.binding.intertechno
2019-04-24 23:26:22.446 [WARN ] [io.transport.cul.CULLifecycleManager] - CUL config is NULL, doing nothing
2019-04-24 23:26:22.451 [DEBUG] [org.openhab.binding.intertechno ] - ServiceEvent REGISTERED - {org.osgi.service.event.EventHandler, org.osgi.service.cm.ManagedService}={service.id=354, service.bundleid=210, service.scope=bundle, event.topics=openhab/command/*, service.pid=org.openhab.culintertechno, component.name=org.openhab.binding.intertechno.binding, component.id=209} - org.openhab.binding.intertechno
2019-04-24 23:26:22.459 [INFO ] [ternal.serial.CULSerialConfigFactory] - Update config, baudrate = 38400
2019-04-24 23:59:37.783 [vent.ItemStateChangedEvent] - rfplug1 changed from ON to OFF
2019-04-25 00:05:27.907 [ome.event.ItemCommandEvent] - Item ‘rfplug1’ received command ON
2019-04-25 00:05:27.923 [vent.ItemStateChangedEvent] - rfplug1 changed from OFF to ON
2019-04-25 00:05:28.912 [ome.event.ItemCommandEvent] - Item ‘rfplug1’ received command OFF
2019-04-25 00:05:28.925 [vent.ItemStateChangedEvent] - rfplug1 changed from ON to OFF

Hi everyone,

after delaying my project for a while I’m now back on integrating Intertechno plugs into openHab using a nanocul. Unfortunately I cannot seem to get it to work and after quite some trial I’m not sure what’s wrong.

I have freshly set up a raspberry today with the latest image. I have connected the nanocul and can flawlessly access it using minicom etc and also switch switches.

I have integrated the switch as described into openHab and do not receive any error messages. But switching in the frontend does not actually send any signal to my device.

What am I doing wrong?

I hope someone can help me, cheers
goddib

P.S.: After some further debugging it looks like openHab does not even attempt to send any signals out. So I’m assuming it’s some simple configuration issue. Can anyone help?

Hi everyone,

this is just to inform you that I got this working by activating the “serial” binding. From the documentation I was not aware that it was necessary to activate this as well so I’m not sure if that was really the fix? If it was, maybe that should be included in the intertechno binding description?

Thanks and cheers
goddib

The serial binding wasn’t necessary when I was using the intertechno binding (about 2years ago!) . All necessary system settings (besides the intertechno binding) were included in the openhabian installation.
Did you do any manual changes besides the install of the serial binding? ( like:

-Dgnu.io.rxtx.SerialPorts=/dev/ttyAMA0

)

I had already added the serial ports to the openhab2 config before I activated the serial binding - to no avail. Like I said, I’m not sure why it works now, but adding the serial binding was the only thing I did. Switching the switch on and off through serial binding works, too, by the way.