Is it possible that I can’t install it via HACS, and that the automatic update also is not working. It’s no problem, I can always download it from github, but it would be easyer that I get a message that there is a newer version.
Hey! I am sorry to ask these super basic questions, but:
My parents bought a Nikobus System when it was super new but have zero tech skills. i dont have a lot of knowledge with electrician skills, but i am a software dev. How does the hardware side of this work? for example, Nikobus-Interface für Niko Home Control I requires a pc link, pc logic or feedback module. What does this integration need? how does it(home assistant server) communicate with nikobus, using cable, wires?? how can i check if i have the module?
these are the notes from my electrician:
Ira
Wohnhaus
Bedienungsanleitungen
Nikobus Schaltaktoren Schaltmodul 05-000-02 Rollladenmodul 05-001-02 Dimcontroller Compact 05-008-02 Dimmer 05-707
Nikobus Bustaster, Sensoren, Interfaces Bustaster 05-060, 05-061, 05-064, 05-081, 05-085 UP-Bewegungsmelder Sensor XX-784 und Actor 05-785 UP-Interface 05-056, 05-057
Moeller Steuerrelais Steuerelais EASY512-DC-R Netzgerät EASY200-POW Dokumentation Programm
Busch-Rauchalarm Busch-Rauchalarm 6820 mit Relaismodul 6822
Elkron Sirene mit Netzgerät Elkron Sirene HP202LG Elkron Netzgerät AS02-S
TerraneoTorsprechanlage Sprechanlagen-Set 312124 Kabelbelegungsverzeichnis
Velux Kabelanschluß und Schaltplan
in english:
Residence
Operating instructions
Nikobus switch actuators Switch module 05-000-02 Roller shutter module 05-001-02 Dimcontroller Compact 05-008-02 Dimmer 05-707
Nikobus bus push-buttons, sensors, interfaces Bus push-buttons 05-060, 05-061, 05-064, 05-081, 05-085 Flush-mounted motion detector Sensor XX-784 and Actor 05-785 Flush-mounted interface 05-056, 05-057
Moeller control relay Control relay EASY512-DC-R Power supply unit EASY200-POW Documentation Program
Busch-Smoke alarm Busch-Smoke alarm 6820 with relay module 6822
Elkron siren with power supply unit Elkron siren HP202LG Elkron power supply unit AS02-S
TerraneoTor intercom system Intercom set 312124 Cable assignment directory
Velux cable connection and wiring diagram
There are many cable configuration possible, if you go for home made, you will be sure of the config of the cable. If you buy already made rj11 to DB9 make sure it matches the wiring diagram as descripbed in the tutorial.
At the moment I am using openhab as integration for my nikobus setup, but I really want to drop that setup for this custom Nikobus Integration. I am using a serial-to-usb connector between the feedback module and the Pi running my home assistant. Everything seems fine configuration wise, however, I don’t seem to be able to read or write the outputs of the controllers. Every entity is indicated as OFF, and switching it to ON and OFF again doesn’t have any effect on my lights.
The hardware works fine with openhab, so I don’t think anything is wrong there.
Any idea what I am missing?
Here is some logging:
2024-06-27 13:54:46.765 DEBUG (MainThread) [custom_components.nikobus.config_flow] Starting options step with input: None
2024-06-27 13:54:46.766 DEBUG (MainThread) [custom_components.nikobus.config_flow] Creating entry with data: {'connection_string': '/dev/ttyUSB0', 'has_feedback_module': True}
2024-06-27 13:54:46.767 DEBUG (MainThread) [custom_components.nikobus] Starting setup of the Nikobus integration
2024-06-27 13:54:46.768 DEBUG (MainThread) [custom_components.nikobus.nikobus] Creating Nikobus instance with connection string: /dev/ttyUSB0
2024-06-27 13:54:46.774 INFO (MainThread) [custom_components.nikobus.nkbconnect] Connected to serial port /dev/ttyUSB0
2024-06-27 13:54:46.774 INFO (MainThread) [custom_components.nikobus.nkbconnect] Nikobus handshake successful
2024-06-27 13:54:46.775 INFO (MainThread) [custom_components.nikobus.nkbconfig] Loading module data from /config/nikobus_module_config.json
2024-06-27 13:54:46.780 INFO (MainThread) [custom_components.nikobus.nkbconfig] Loading button data from /config/nikobus_button_config.json
2024-06-27 13:54:46.781 INFO (MainThread) [custom_components.nikobus.nkbconfig] Button configuration file not found: /config/nikobus_button_config.json. A new file will be created upon discovering the first button.
2024-06-27 13:54:46.781 INFO (MainThread) [custom_components.nikobus.nikobus] Nikobus instance created and connected successfully
2024-06-27 13:54:46.782 INFO (MainThread) [homeassistant.components.switch] Setting up nikobus.switch
2024-06-27 13:54:46.785 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_1
2024-06-27 13:54:46.786 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_2
2024-06-27 13:54:46.789 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_3
2024-06-27 13:54:46.790 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_4
2024-06-27 13:54:46.792 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_5
2024-06-27 13:54:46.795 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_6
2024-06-27 13:54:46.796 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_7
2024-06-27 13:54:46.798 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_8
2024-06-27 13:54:46.800 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_9
2024-06-27 13:54:46.802 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_10
2024-06-27 13:54:46.803 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_11
2024-06-27 13:54:46.804 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_boven_out_12
2024-06-27 13:54:46.807 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_1
2024-06-27 13:54:46.809 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_2
2024-06-27 13:54:46.810 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_3
2024-06-27 13:54:46.812 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_4
2024-06-27 13:54:46.813 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_5
2024-06-27 13:54:46.815 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_6
2024-06-27 13:54:46.818 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_7
2024-06-27 13:54:46.819 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_8
2024-06-27 13:54:46.820 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_9
2024-06-27 13:54:46.822 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_10
2024-06-27 13:54:46.824 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_11
2024-06-27 13:54:46.825 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_12_onder_out_12
2024-06-27 13:54:46.827 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_4_out_1
2024-06-27 13:54:46.829 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_4_out_2
2024-06-27 13:54:46.830 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_4_out_3
2024-06-27 13:54:46.842 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new switch.nikobus entity: switch.nbs_4_out_4
2024-06-27 13:54:46.843 INFO (MainThread) [homeassistant.components.light] Setting up nikobus.light
2024-06-27 13:54:46.844 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.nikobus entity: light.nbd_out_1
2024-06-27 13:54:46.846 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.nikobus entity: light.nbd_out_2
2024-06-27 13:54:46.848 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.nikobus entity: light.nbd_out_3
2024-06-27 13:54:46.850 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new light.nikobus entity: light.nbd_out_4
2024-06-27 13:54:46.851 INFO (MainThread) [homeassistant.components.cover] Setting up nikobus.cover
2024-06-27 13:54:46.852 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up nikobus.binary_sensor
2024-06-27 13:54:46.852 INFO (MainThread) [homeassistant.components.button] Setting up nikobus.button
2024-06-27 13:54:46.861 INFO (MainThread) [custom_components.nikobus.nkbcommand] Nikobus Command Processing starting
2024-06-27 13:54:46.861 INFO (MainThread) [custom_components.nikobus.nkblistener] Nikobus Event Listener starting
2024-06-27 13:55:13.726 DEBUG (MainThread) [custom_components.nikobus.nkblistener] Listener - Receiving message: $0511$1C20E503EAFFF0000000975379
2024-06-27 13:55:13.727 DEBUG (MainThread) [custom_components.nikobus.nkblistener] Adding message to response queue: $0511$1C20E503EAFFF0000000975379
2024-06-27 13:55:46.700 DEBUG (MainThread) [custom_components.nikobus.nkblistener] Listener - Receiving message: $1CAD9100FFF00000000D7F94A
2024-06-27 13:55:46.700 DEBUG (MainThread) [custom_components.nikobus.nkblistener] ** Feedback module refresh command answer: $1CAD9100FFF00000000D7F94A
2024-06-27 13:55:46.700 DEBUG (MainThread) [custom_components.nikobus.nikobus] Processing feedback module data: module_address=91AD, group=1, module_state=FFF00000000D
2024-06-27 13:56:20.394 DEBUG (MainThread) [custom_components.nikobus.nkblistener] Listener - Receiving message: $1CE18202FFFFFF000000E3B1A6
2024-06-27 13:56:20.395 DEBUG (MainThread) [custom_components.nikobus.nkblistener] ** Feedback module refresh command answer: $1CE18202FFFFFF000000E3B1A6
2024-06-27 13:56:20.395 DEBUG (MainThread) [custom_components.nikobus.nikobus] Processing feedback module data: module_address=82E1, group=1, module_state=FFFFFF000000
2024-06-27 13:56:45.697 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Setting output state - Address: AD91, Channel: 8, Value: 255
2024-06-27 13:56:45.698 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Queueing command: $1E1691AD00FF00000000FF9BBDA8
2024-06-27 13:56:45.700 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Processing command: $1E1691AD00FF00000000FF9BBDA8
2024-06-27 13:56:45.700 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Sending command: $1E1691AD00FF00000000FF9BBDA8
2024-06-27 13:56:45.703 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Command sent successfully
2024-06-27 13:56:45.703 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Command executed: $1E1691AD00FF00000000FF9BBDA8
2024-06-27 13:56:46.992 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Setting output state - Address: AD91, Channel: 8, Value: 0
2024-06-27 13:56:46.993 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Queueing command: $1E1691AD000000000000FFCF02B7
2024-06-27 13:56:46.994 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Processing command: $1E1691AD000000000000FFCF02B7
2024-06-27 13:56:46.995 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Sending command: $1E1691AD000000000000FFCF02B7
2024-06-27 13:56:46.995 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Command sent successfully
2024-06-27 13:56:46.995 DEBUG (MainThread) [custom_components.nikobus.nkbcommand] Command executed: $1E1691AD000000000000FFCF02B7
2024-06-27 13:56:53.367 DEBUG (MainThread) [custom_components.nikobus.nkblistener] Listener - Receiving message: $0516$0516$1CAD9100FFFFFF00FFFF8155F1
2024-06-27 13:56:53.368 INFO (MainThread) [custom_components.nikobus.nkblistener] Ignored message: $0516$0516$1CAD9100FFFFFF00FFFF8155F1
Party-time … indeed, I was using the openhab address, as I don’t think I can use the original nikobus software anymore
It is working now, thanks a lot!
I had 3 of them, 2 are totally broken and cannot be used anymore.
That’s a little off-topic, but more and more of those bus-push-buttons are falling apart, and cannot be replaced anymore
I’ll test the last one later on, and let you know.
2nd hand … I wouldn’t do that anyway, chances are they will also fall apart after a short period.
Anyway, I have a technical remark, not related to the feedback leds yet: I have 2 controllers with 12 outputs, 1 controller with 4 outputs and 1 dimmer with 4 outputs.
I don’t have any buttons registered just yet, so the state of my outputs is based on the interval reading, I guess?
I have the feeling that:
outputs 7-12 are never read, for instance the room I am sitting in right now is output 8, and it is always indicated as OFF.
outputs 1-6 are read, however, their ON/OFF-indication flips sometimes without any trigger to do so, as if reading the state of controller 1 also changes state of controller 2 or something like that
If your buttons are not defined yet, and you use feedback module refresh rate, which is default to Nikobus and cannot be changed. It could be up to 30min for a specific module refresh. That’s why it’s important to define your buttons that will keep the integration in sync with Nikobus.
To your problem, try « configure » in the integration, remove feedback module and try a refresh rate of 120secs, so all modules will be refreshed every 2minutes.
See how that behave, next share your modules configuration file and a debug log over a full refresh period.
With feedback module unchecked, the states are correct.
When the state is updated by the feedback module,
you are always considering the message as a group-1 message, also when it is a group-2 one.
As you are directly connected to feedback module, this command is not shared on the bus. Do you have a pc-link ? then move the connection towards the pc-link module or else 2 options
a- keep using integration refresh rate
b- I need to find a way to understand if the refresh if for group 1 or 2 without having the refresh command input.
So, will be trying to force the feedback module to share this data in the bus or else if you do not have pc-link I need to adapt the code so you can have a custom refresh rate and a feedback-module. using the custom refresh rate today disables the feedback module so your feedback led will not work.
I don’t have a pc link module. However, there is a distinction in the last 6 characters of the received message, so you can know that it is for an other group.
In my example, it is like this (based on real situation with the lights right now):
message ends with 83465C: first 6 outputs
message ends with 4C251A: last 6 outputs
So a quick-n-dirty solution can be an optional suffix in the config of the controller.
On the other hand, I think this is working fine in the nikobus binding in openhab, I’ll test that in a bit. Perhaps we can ‘borrow’ some logic overthere…
As a new user on this forum, I can’t add any more new replies in this topic…
So I edit this one:
Meanwhile I have added all my nikobus buttons to the config.
Indeed, the system with loading only the impacted modules works really great!
I have configured HA in combination with Nikobus almost completely as I like it now.
I had a look at the led functionality, but I’m not sure what it should do… At the moment, the leds are controlled by the nikobus hardware/software, what exactly should the HA Integration do with that?