Nikobus v2

As per conversations in this thread, the “naive” v1 binding based rollershutter implementation is not satisfactory therefore decided to spice it up a bit. Added an optional configuration parameter to rollershutter module’s channels (outputs) describing how much time does it take for a rollershutter to completely open (or close)

Binding uses this information to interpolate rollershutter’s position, please note the animating rollershutter (left of “Window” text):

ezgif-6-ae1d7e3d401d

On startup binding will assume completely open rollershutters but opening/closing a rollershutter once should bring it back in sync. Binding also turns off the module’s output after 5s, meaning if one sets

duration = 30s

binding will automatically switch Nikobus rollershutter module’s output to OFF after

30s + 5s = 35s

This can be changed in settings.

EDIT2: OH3 RC already contains all described features.
EDIT3: Stop-time was changed from 150% to a configurable amount of time, if not specified rollershutter’s output will be turned OFF after 5s. Updated post to reflect this info.

Sounds Greet !!!

Is anyone using the binding with a pc-logic in OH3? I can’t seem to connect to the bus…

I’m using OH3 with Nikobus and working without a problem so far … can you share more details? Maybe which version of the binding are you using and you configuration? Thx!

Hi

Sorry for late reply, but I messed up my install (upgrading from OH25 to 3) and decided to try again and see where that went. Nowhere apparently :frowning:

On my OH2.3 it works flawless, on my production raspberry pi. It’s a prolific 2303, works also with the nikobus software. It is a PC Logic.

Config oh2:

################################ Nikobus Binding ######################################

Serial Port connected to pc-link. Valid values are e.g. COM1 for Windows and /dev/ttyS0 or

/dev/ttyUSB0 for Linux

serial.port=/dev/ttyUSB0

Directory path where the command cache file should be created.

Optional. Defaults to the users’ home directory.

#cache.location=

Perform a module status query every x seconds (optional, defaults to 600 (10 minutes)).

refresh=60

On OH3 final it doesn’t work.

Config: binding 3.0.0
Openhabian 1.6.2
Rpi 3B+ (works perfect with zwave dongle and prolific serial-to-usb, so power seems not an issue)
user openhab added to dialout
Openhabian fixed permissions

lsusb
Bus 001 Device 005: ID 0658:0200 Sigma Designs, Inc. Aeotec Z-Stick Gen5 (ZW090) - UZB
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
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

dmesg
usb 1-1.3: pl2303 converter now attached to ttyUSB0

log:
21:25:39.193 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing ‘nikobus:pc-link:ead36cb534’ changed from UNKNOWN to UNINITIALIZED
21:25:39.300 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing ‘nikobus:pc-link:ead36cb534’ changed from UNINITIALIZED to UNINITIALIZED (DISABLED)
21:25:40.935 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing ‘nikobus:pc-link:ead36cb534’ changed from UNINITIALIZED (DISABLED) to INITIALIZING
21:25:40.975 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing ‘nikobus:pc-link:ead36cb534’ changed from INITIALIZING to UNKNOWN

Log set to debug does not give extra detail…

Help is mucho appreciado!

Meanwhile I tried some more, maybe some in or outputs would activate it? unfortunately not…

Bridge code
UID: nikobus:pc-link:ead36cb534
label: Nikobus PC-Logic
thingTypeUID: nikobus:pc-link
configuration:
port: /dev/ttyUSB0
refreshInterval: 60
location: Garage

Push button
UID: nikobus:push-button:ead36cb534:eb7af8e5ca
label: BP7_C_Living_Eetplaats
thingTypeUID: nikobus:push-button
configuration:
impactedModules: B74F-2
address: ND028F2
bridgeUID: nikobus:pc-link:ead36cb534
-> Thing ‘nikobus:push-button:ead36cb534:eb7af8e5ca’ changed from UNKNOWN to OFFLINE (CONFIGURATION_ERROR): UID must have at least 3 segments.

UID: nikobus:switch-module:ead36cb534:19110213bc
label: Switch Module 1
thingTypeUID: nikobus:switch-module
configuration:
address: B74F-2
bridgeUID: nikobus:pc-link:ead36cb534

I’m guessing a bit here, but it seems you were using v1 binding in your OH 2.3 based on your post above.

Nevertheless, if it worked with v1 binding, it should work with v2 too. Some comments on (a bit cryptic) info shared above:

21:25:40.975 [INFO ] [hab.event.ThingStatusInfoChangedEvent] - Thing ‘nikobus:pc-link:ead36cb534’ changed from INITIALIZING to UNKNOWN

your bridge seems to be configured fine, UNKNOWN probably just means there is no channel/item attached to it so bridge will not connect, adding a properly configured module/button will fix this.

UID: nikobus:switch-module:ead36cb534:19110213bc
label: Switch Module 1
thingTypeUID: nikobus:switch-module
configuration:
address: B74F-2
bridgeUID: nikobus:pc-link:ead36cb534

Address does not look right, can you double check? Probably just B74F. Can you share your v1 config? Same address should be used as in v1.

-> Thing ‘nikobus:push-button:ead36cb534:eb7af8e5ca’ changed from UNKNOWN to OFFLINE (CONFIGURATION_ERROR): UID must have at least 3 segments.

Button’s configuration is also not correct - impactedModules is in wrong format, as error states, something like this should be used:

impactedModules: switch-module:19110213bc:2

Would suggest to start with a single switch module and when connection is established, build from there… Also, please check the docs since some things changed a bit from v1 -> v2 (as the impactedModules format for example).

EDIT: Regarding buttons - might be easier to use the new discovery feature (described a couple o posts above) to setup them … I have ~100 buttons and using discovery feature I finally added/mapped all (which was a bit painfull before) :slight_smile:

Please let me know how it goes …

1 Like

Sharing examples of OH3 thing configurations for reference:

Bridge:

UID: nikobus:pc-link:house
label: Nikous PC-Link
thingTypeUID: nikobus:pc-link
configuration:
  port: /dev/ttyUSB0
  refreshInterval: 60

Switch Module:

UID: nikobus:switch-module:house:4C6C
label: Nikobus Switch Module 4C6C
thingTypeUID: nikobus:switch-module
configuration:
  address: 4C6C
bridgeUID: nikobus:pc-link:house

Push Button:

UID: nikobus:push-button:house:C8CA1A
label: Nikobus Push Button 1614C4:4
thingTypeUID: nikobus:push-button
configuration:
  impactedModules: switch-module:4C6C:1
  address: C8CA1A
bridgeUID: nikobus:pc-link:house
1 Like

Am checking right now with the modules. I added an output and tadaaa, works. All came online!
from time to time the concept of channels / things / items goes wrong in my head :smiley:

But here nevertheless my actual setup which I’ll be converting tonight! Thanks a lot for pointing me in the right direction (even though my fuzzy question :))

Current Buttons or Inputs:
// Type Drukknop “#knoppen locatie
// Switch BP1 4 garage kelderdeur
Switch BP1_A {nikobus=”#N9DCACA [B74F-1, B74F-2, 755C-1, 755C-2, C550-1, C550-2, 41F2]“}
Switch BP1_B {nikobus=”#NDD6ACA[755C-1]“}
Switch BP1_C {nikobus=”#N1D6ACA[755C-1]“}
Switch BP1_D {nikobus=”#N5D6ACA[755C-1]“}
// Switch BP2 2 garagedeur
Switch BP2_A {nikobus=”#N92A0D2[B74F-2]“}
Switch BP2_B {nikobus=”#ND2A0D2[755C-1]“}
// Switch BP3 4 keukendeur
Switch BP3_A {nikobus=”#N8232CA[B74F-2]“}
Switch BP3_B {nikobus=”#NC232CA[755C-1]“}
Switch BP3_C {nikobus=”#N0232CA[B74F-2]“}
Switch BP3_C_LONG {nikobus=”#N0232CA:LONG[B74F-2]“}
Switch BP3_D {nikobus=”#N4232CA[C550-1]“}
// Switch BP4 2 inkom voordeur
Switch BP4_A {nikobus=”#N81368A[B74F-1]“}
Switch BP4_B {nikobus=”#NC1368A[C550-1]“}
// Switch BP5 8 keuken buitendeur
Switch BP5_1A {nikobus=”#NBF2B4A[41F2]“}
Switch BP5_1B {nikobus=”#NFF2B4A[B74F-2]“}
Switch BP5_1C {nikobus=”#N3F2B4A[41F2]“}
Switch BP5_1D {nikobus=”#N7F2B4A[B74F-2]“}
Switch BP5_2A {nikobus=”#N9F2B4A[C550-1]“}
Switch BP5_2B {nikobus=”#NDF2B4A[C550-1]“}
Switch BP5_2C {nikobus=”#N1F2B4A[B74F-2]“}
Switch BP5_2D {nikobus=”#N5F2B4A[C550-1]“}
// Switch BP6 8 zitplaats
Switch BP6_1A {nikobus=”#NAF0B4A[755C-1]“}
Switch BP6_1A_LONG {nikobus=”#NAF0B4A:LONG[755C-1]“}
Switch BP6_1B {nikobus=”#NEF0B4A[B74F-1]“}
Switch BP6_1C {nikobus=”#N2F0B4A[B74F-1]“}
Switch BP6_1D {nikobus=”#N6F0B4A[B74F-2]“}
Switch BP6_2A {nikobus=”#N8F0B4A[41F2]“}
Switch BP6_2B {nikobus=”#NCF0B4A[B74F-2]“}
Switch BP6_2C {nikobus=”#N0F0B4A[41F2]“}
Switch BP6_2D_LONG {nikobus=”#N4F0B4A:LONG[B74F-2]“}
// Switch BP7 4 eetplaats
Switch BP7_A {nikobus=”#N9028F2[B74F-1]“}
Switch BP7_B {nikobus=”#ND028F2[B74F-2]“}
Switch BP7_C {nikobus=”#N1028F2[EE60]“}
Switch BP7_D {nikobus=”#N5028F2[EE60]“}
// Switch BP8 4 slaapkamer maryssa
Switch BP8_A {nikobus=”#N8949CA[EE60]“}
Switch BP8_B {nikobus=”#NC949CA[EE60]“}
Switch BP8_C {nikobus=”#N0949CA[755C-2]“}
Switch BP8_D {nikobus=”#N4949CA[755C-2]“}
// Switch BP9 2 inkom eethoek
Switch BP9_A {nikobus=”#N8A148A[B74F-1]“}
Switch BP9_B {nikobus=”#NCA148A[B74F-1]“}
// Switch BP10 4 keukenblad
Switch BP10_A {nikobus=”#N9FA8F2[C550-1]“}
Switch BP10_B {nikobus=”#NDFA8F2[B74F-2]“}
Switch BP10_C {nikobus=”#N1FA8F2[C550-2]“}
Switch BP10_D {nikobus=”#N5FA8F2[C550-1]“}
// Switch BP11 2 toilet GLV
Switch BP11_A {nikobus=”#N93948A[B74F-1]“}
Switch BP11_B {nikobus=”#ND3948A[B74F-1]“}
// Switch BP12 2 nachthall
Switch BP12_A {nikobus=”#N93E772[755C-1]“}
Switch BP12_B {nikobus=”#ND3E772[41F2]“}
// Switch BP13 2 toilet verdiep
Switch BP13_A {nikobus=”#N928772[755C-2]“}
Switch BP13_B {nikobus=”#ND28772[755C-2]“}
// Switch BP14 4 badkamer
Switch BP14_A {nikobus=”#N9DF6CA[C550-2]“}
Switch BP14_B {nikobus=”#NDDF6CA[C550-2]“}
Switch BP14_C {nikobus=”#N1DF6CA[EE60]“}
Switch BP14_C_LONG {nikobus=”#N1DF6CA:LONG[EE60]“}
Switch BP14_D {nikobus=”#N5DF6CA[EE60]“}
// Switch BP15 4 slaapkamer dressing
Switch BP15_A {nikobus=”#N9AD60A[755C-2]“}
Switch BP15_B {nikobus=”#NDAD60A[755C-1, 755C-2]“}
Switch BP15_C {nikobus=”#N1AD60A[755C-1]“}
Switch BP15_D {nikobus=”#N5AD60A[EE60]“}
// Switch BP17 4 slaapkamer aron deur
Switch BP17_A {nikobus=”#N196CCA[EE60]“}
Switch BP17_B {nikobus=”#N596CCA[EE60]“}
Switch BP17_C {nikobus=”#N996CCA[755C-2]“}
Switch BP17_D {nikobus=”#ND96CCA[755C-2]“}
// Switch BP18 2 slaapkamer Aron bed
Switch BP18_A {nikobus=”#N89988A[755C-2]“}
Switch BP18_B {nikobus=”#NC9988A[755C-2]“}
// Switch BP19 2 traphall zolder
Switch BP19_A {nikobus=”#N83DD8A[755C-2]“}
// Switch BP20 4 slaapkamer mira deur
Switch BP20_A {nikobus=”#N9FB02A[755C-2]“}
Switch BP20_B {nikobus=”#NDFB02A[755C-2]“}
Switch BP20_C {nikobus=”#N1FB02A[EE60]“}
Switch BP20_D {nikobus=”#N5FB02A[EE60]“}
// Switch BP21 2 slaapkamer Mira bed
Switch BP21_A {nikobus=”#N8BB48A[755C-2]“}
Switch BP21_B {nikobus=”#NCBB48A[755C-2]“}
// Switch BP22 4 slaapkamer bruno
Switch BP22_A {nikobus=”#N92AB8A[B74F-1, B74F-2, 755C-1, 755C-2, C550-1, C550-2, 41F2]“}
Switch BP22_B {nikobus=”#ND2AB8A[755C-1]“}
Switch BP22_C {nikobus=”#N12AB8A[EE60]“}
Switch BP22_D {nikobus=”#N52AB8A[EE60]“}
// Switch BP23 8 bureau
Switch BP23_1A {nikobus=”#NBED12A[41F2]“}
Switch BP23_1B {nikobus=”#NFED12A[B74F-1, B74F-2, 755C-1, 755C-2, C550-1, C550-2, 41F2]“}
Switch BP23_1C {nikobus=”#N3ED12A[41F2]“}
Switch BP23_1D {nikobus=”#N7ED12A[B74F-2]“}
Switch BP23_2A {nikobus=”#N9ED12A[B74F-1]“}
Switch BP23_2B {nikobus=”#NDED12A[B74F-1]“}
Switch BP23_2C {nikobus=”#N1ED12A[EE60]“}
Switch BP23_2D {nikobus=”#N5ED12A[EE60]“}
// Switch BP31 4 deur zolder
Switch BP31_A {nikobus=”#N84E446[C550-1]“}
Switch BP31_B {nikobus=”#NC4E446[755C-2]“}
Switch BP31_C {nikobus=”#N04E446[C550-2]“}
Switch BP31_D {nikobus=”#N44E446[C550-2]“}
// Switch BP32 4 deur grote logeerkamer
Switch BP32_A {nikobus=”#N94845A[C550-2]“}
Switch BP32_B {nikobus=”#ND4845A[C550-2]“}
Switch BP32_C {nikobus=”#N14845A[C550-2]“}
Switch BP32_D {nikobus=”#N54845A[C550-2]“}
// Switch BP34 4 deur kleine logeerkamer
Switch BP34_A {nikobus=”#N05845A[C550-2]“}
Switch BP34_B {nikobus=”#N45845A[C550-2]“}
Switch BP34_C {nikobus=”#N85845A[C550-1]“}
Switch BP34_D {nikobus=”#NC5845A[755C-2]“}
// Switch IR bewegingssensor
Switch IR {nikobus=”#N8A0C24[755C-1]"}

Current Outputs

Switch light_Zithoek_Centraal “Living” (Lights,GV_Living) { nikobus=“B74F:10” }
Dimmer light_Zithoek_Spots “Living Spots” (Lights,GV_Living) { nikobus=“41F2:2” }
Switch light_Zithoek_Schilderij “Living Schilderij” (Lights,GV_Living) { nikobus=“B74F:11” }
Switch light_Eethoek_Centraal “Eetplaats” (Lights,GV_Living) { nikobus=“B74F:8” }
Dimmer light_Eethoek_Spots “Eetplaats Spots” (Lights,GV_Living) { nikobus=“41F2:1” }

Switch light_Keuken_Centraal “Keuken” (Lights,GV_Keuken) { nikobus=“B74F:7” }
Switch light_Licht_Dampkap “Keuken dampkap” (Lights,GV_Keuken) { nikobus=“C550:6” }

Switch light_Bureau_Centraal “Bureau” (Lights,GV_Bureau) { nikobus=“B74F:5” }
Switch light_Bureau_Wandlicht “Bureau muur” (Lights,GV_Bureau) { nikobus=“B74F:6” }

Switch light_Toilet_GLV “Toilet beneden” (Lights,GV_Inkomhal) { nikobus=“B74F:1” }
Switch light_Spots_Inkom “Inkom” (Lights,GV_Inkomhal) { nikobus=“B74F:2” }
Switch light_Wandverlichting_Inkom “Inkom muur” (Lights,GV_Inkomhal) { nikobus=“B74F:3” }
Switch light_Wasplaats “Berging” (Lights,GV_Garage) { nikobus=“B74F:9” }
Switch light_Garage “Garage” (Lights,GV_Garage) { nikobus=“755C:4” }
Switch light_Kelder “Kelder” (Lights,GV_Garage) { nikobus=“755C:3” }

Switch light_Slaapkamer_Ons_Centraal “Slaapkamer” (Lights,EV_Ons) { nikobus=“755C:5” }
Switch light_Leeslamp_xxxx “xxx” (Lights,EV_Ons) { nikobus=“755C:6” }
Switch light_Leeslamp_xxxx “xxx” (Lights,EV_Ons) { nikobus=“755C:7” }
Switch light_Dressing “Dressing” (Lights,EV_Ons) { nikobus=“755C:8” }

Switch light_Slaapkamer_xxxx “Slaapkamer xxxx” (Lights,EV_Xxxx) { nikobus=“755C:10” }
Switch light_Slaapkamer_xxxx “Slaapkamer xxxx” (Lights,EV_xxx) { nikobus=“755C:11” }

Switch light_Badkamer_Spots “Badkamer” (Lights,EV_Badkamer) { nikobus=“C550:7” }
Switch light_Badkamer_Spiegel “Badkamer Spiegel” (Lights,EV_Badkamer) { nikobus=“C550:9” }
Switch light_Toilet_Verdiep “Toilet boven” (Lights,EV_Toilet) { nikobus=“755C:9” }

Switch light_Wand_Nachthall “Hall boven” (Lights,EV_Nachthall) { nikobus=“755C:1” }

Switch light_Traphall_Logeerkamers “Zoldertrap” (Lights,EV_Zolderhall) { nikobus=“755C:12” }
Switch light_Zolder “zolder” (Lights,ZV_Zolder) { nikobus=“C550:1” }
Switch light_Buiten_Voordeur_en_Garage “Oprit” (Lights,BUITEN,OPRIT_Oprit) { nikobus=“C550:2” }
Switch light_Terras “Terras” (Lights,BUITEN,TUIN_Terras) { nikobus=“C550:3” }
Switch light_Terras_Verstraler “Terras spot” (Lights,BUITEN,TUIN_Terras) { nikobus=“C550:4” }
Switch light_Grote_logeerkamer “Zolder grote kamer” (Lights,ZV_Zolder) { nikobus=“C550:11” }
Switch light_Kleine_logeerkamer “Zolder kleine kamer” (Lights,ZV_Zolder) { nikobus=“C550:12” }

Switch light_Buitenstopcontact “Stopcontact terras” (BUITEN,TUIN_Terras) { nikobus=“C550:5” }

// Switch Shutter_all (Shutter)

Group:Switch:OR(ON,OFF) Shutter “Alle rolluiken [(%d)]” (All)

Rollershutter rolluik_Slaapkamer_Ons “Rolluik Slaapkamer” (Shutter,EV,EV_Ons) { nikobus=“EE60:1” }
Rollershutter rolluik_Slaapkamer_xxxx “Rolluik xxx” (Shutter,EV,EV_xxx) { nikobus=“EE60:2” }
Rollershutter rolluik_Slaapkamer_xxxx “Rolluik xxxx” (Shutter,EV,EV_xxx) { nikobus=“EE60:3” }
Rollershutter rolluik_Badkamer “Rolluik Badkamer” (Shutter,EV,EV_Badkamer) { nikobus=“EE60:4” }
Rollershutter rolluik_Bureau “Rolluik Bureau” (Shutter,GV,GV_Bureau) { nikobus=“EE60:5” }

Hi Crnjan,

I have a similar setup with a bridge, a dimmer module and 2 switch modules. The bridge is online, but the switch modules and dimmer module go offline. I tried adding a channel to a specific output used in Nikobus.

Status:

OFFLINE

COMMUNICATION_ERROR

Waiting for response timed-out.

Any advise?

thx,

Mattias

Hi!

Seems as there is no ACK received from your modules - did you ever had a successful setup, either using v1 or v2 binding? How did you get module’s addresses? Can you set log level to DEBUG:

log:set DEBUG org.openhab.binding.nikobus

and share the logs?

Hi,

java.util.concurrent.TimeoutException: Waiting for response timed-out.
at org.openhab.binding.nikobus.internal.handler.NikobusPcLinkHandler.processTimeout(NikobusPcLinkHandler.java:315) [bundleFile:?]
at org.openhab.binding.nikobus.internal.handler.NikobusPcLinkHandler.lambda$4(NikobusPcLinkHandler.java:305) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]

openhab> log:tail
11:13:37.078 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received ack ‘$0517’
11:13:38.913 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler ChromecastHandler tried updating the thing status although the handler was already disposed.
11:13:39.056 [WARN ] [internal.handler.NikobusModuleHandler] - Processing response for ‘C45A’-SECOND failed with Waiting for response timed-out.
java.util.concurrent.TimeoutException: Waiting for response timed-out.
at org.openhab.binding.nikobus.internal.handler.NikobusPcLinkHandler.processTimeout(NikobusPcLinkHandler.java:315) [bundleFile:?]
at org.openhab.binding.nikobus.internal.handler.NikobusPcLinkHandler.lambda$4(NikobusPcLinkHandler.java:305) [bundleFile:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
11:14:01.040 [DEBUG] [internal.handler.NikobusModuleHandler] - Nothing to refresh for ‘nikobus:dimmer-module:d07b4f95c3:D1’
11:14:09.671 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received command ‘$1CE5C800FF0000000000691DFF’, ack = ‘$0517’
11:14:09.673 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Processing response but no command pending
11:14:09.922 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler ChromecastHandler tried updating the thing status although the handler was already disposed.
11:14:31.043 [DEBUG] [internal.handler.NikobusModuleHandler] - Nothing to refresh for ‘nikobus:switch-module:d07b4f95c3:S2’
11:14:39.837 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received command ‘$1C5AC400000000000000FFF1E5’, ack = ‘null’
11:14:39.839 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Processing response but no command pending
11:14:40.932 [WARN ] [b.core.thing.binding.BaseThingHandler] - Handler ChromecastHandler tried updating the thing status although the handler was already disposed.
11:15:01.045 [DEBUG] [internal.handler.NikobusModuleHandler] - Refreshing nikobus:switch-module:d07b4f95c3:S1 - [SECOND]
11:15:01.046 [DEBUG] [internal.handler.NikobusModuleHandler] - Refreshing group SECOND of switch module ‘C45A’
'1:15:01.047 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Sending retry = 3, command '$1017C45A2B409B
11:15:01.071 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received ack ‘$0517’
'1:15:03.048 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Sending retry = 2, command '$1017C45A2B409B
11:15:03.075 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received ack ‘$0517’
'1:15:05.051 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Sending retry = 1, command '$1017C45A2B409B
11:15:05.078 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received ack ‘$0517’
'1:15:07.055 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Sending retry = 0, command '$1017C45A2B409B
11:15:07.099 [DEBUG] [internal.handler.NikobusPcLinkHandler] - Received ack ‘$0517’

The address of the switch module seems to be correct image

Cannot 100% see what address you have set for your module from above log, but you should have the address parameter set to 5AC4 imho (address from Nikobus software for module is not 1:1 due keeping backward compatibility with the v1 binding and same format is used in v2 too).

Thx. It now works (feel kind of stupid to have missed this)

Great news! This address thing is actually very confusing - v1 binding (and consequently v2 since it follows same format) vs. Nikobus software. Probably should be better explained in readme/documentation … Will try to add something in this direction, but honestly I’m not the best at writing docs :flushed: … so fell free to jump in :wink:

How did it go? :slight_smile: Did you try out the new push-button discovery and rolleshutter feature?

Can we define the nikobus:trigger-button channel (LONG & SHORT PRESSED) in the textbased files instead of using the new OH3 UI?

Should be, probably using something like this.

I see. But how to differentiate filter trigger from button trigger?
Would someone be able to share an example?

This seems to work;

Thing push-button N10DA86 "Niko btn8_Keuken_2c" [ address = "10DA86", impactedModules = "switch-module:s2:1" ]{
        Channels:
                Type trigger-button : mybutton [
                        threshold=800
                ]
2 Likes