When I manipulate the KNX device (switch), I can see the correct ga´s being sent in ETS Group monitor, but I cannot get the items to update in OH. When I check the events.log it does not show any KNX activity, I have checked the openhab.log and both the bridge and the thing is loaded fine and online.
I must be doing something wrong, but I cannot figure out what. Any tips would be great.
Seems that there are some missing information for us. What do you want to have as the result? A switch-control is for linking KNX GA with other channels, like to control a hue or Zigbee light. If you have a real actuator and you want to control him with openHAB, you must configure a switch in the thing file.
And what I missed at the beginning are the response GA. You can define some for the switch-control, but in the moment they will not used, when I understand the documentation right. In a normal switch, openHAB uses them to get the status active.
Thanks for trying to help. Switch-control is the correct type as I am trying to let a KNX switch control a Traadfri Bulb.
However, I think I have found the answer. I had configured the KNX router incorrectly to filer KNX->IP. When I changed from “filter” to “route” on main groups 0-13 I am able to update the items in OH.
hi, i also have big problems updating items from bus knx.
rasp4
knx tunnel ip
clean installation oh3
on oh2.5 everything works correctly.
trying version 3 it doesn’t update the items when I act as a physical knx button.
I set the GA adress: 0/0/0 [main] + <0/0/1 [state]
the only difference is that I configured everything from mainUI in 3, while in 2.5 I had the text files.
thanks,
yes yes 0/0/0 and 0/0/1 I used them only as an example …
what i don’t understand is why if i turn on the rpi with oh2.5 it works, while if i start that oh3, i can command but i don’t see the updates to the items
I see. I have no idea why your setup is ok on 2,5,but not on 3.0. I would try the things- and item files and even post them here. Could be someone could help with a bit more information.
…“everything works but things remain offline”? Sorry, I don’t understand. Do you mean that you are not getting any error messages in your log files (everything works), but you still cannot get any updates from the KNX bus showing in your items or things (things remain offline)?
If it works on 2.5 with the same files as you try on 3.0, I’m almost out of options. Except… do you have the ETS software so you can use the monitor features? If so, do that and check if the expected telegrams are sent on the knx bus. Also, some knx interfaces (are you sure you have an interface and not a router? what make and model do you have?) only allow one connection at the time. Others allow up to 5 simultaneous connections. How many does your interface support? If your interface only support one at the time and you already run OH2.5 on another device you will not be able to communicate with the bus, but you should get error msg in you log files.
In general you may need to describe the problem you’re facing a bit more precise to get the help you need. After you have found a way to describe the problem in more detail, you should create a new thread as this tread has been marked as solved (the check in the box for Solution).
Sorry I explained myself wrong …
with text files everything works fine, and I read all the states and command everything. the “thing”, however, is offline.
I just wanted to say that some small bugs from 2.5 to 3 exist, because in 2.5 I never had any problems, and programming the channels on 3 from mainUI someone does not update as I said.
I have an IP port of the MDT and it supports 4 connections. on the KNX side I have no problem and on the bus with the ETS monitor I see everything.
I think I will use the file based config for the Things and use the semantic model and GUI to create the Items for OH3. IN OH 2.5 is used files config only. Alas, I’m all out of suggestions to solve your issue. Best of luck though.
Right now my main problem is, that in my KNX bus I need to send an On and Off to the same adress. It looks like everyone else has one adresses for on and off.
Sending ON and OFF to the same GA is normal for most devices. But there could be other GA’s for status and other stuff. Have you configured anything in openHAB yet?
It’s hard to help you because I have no information on your setup and configuration. On the KNX side of the equation you need to have a hardware device (router or interface) that connects the KNX bus to IP. When that is configured correctly, you can start to look at the openHAB side of things. The first thing you need is to install the KNX binding. From there you can create a THING (knx bridge) to represent your knx router or interface. This can be done configuring files or in the GUI. Once this is done, you must configure a thing to represent a switch, actuator, dimmer, or some other kind of knx physical device. Once that is configured, you need to create an item and connect that item to one of the channels on one of your things. Once that is configured, you should be able to send commands (ON/OFF) to the GA represented by your item in openHAB.
If you run your openHAB on linux and have a knx router configured, you could create a file and place it in your /etc/openhab/things directory. If you don’t have a router, this config file will not work. This is one of two ways to create things. Call the file knx.things and put the following content into it:
Then you could use the GUI in openHAB to create an item and connect to the thing named switch1.
The KNX documentation is pretty comprehensive KNX - Bindings | openHAB and there is usually a lot of help to be had in the community. I don’t know anyone that have made a business of this, but if you post a bit more information I and others in the community will try to help.
Hi
I don’t have experience with defining the KNX items using the GUI. (I’m using a text based approach).
It looks to me that you lack the ga for the status of the item.
The binding info could help you. I think you are missing the listening address.