So I am trying to get this to work. I can see I have a long way ahead of me here but adding the following in my configuration.yaml file gives me an error for knx:
Now I don’t even know the difference from host (I thought this to be the gateway) or the local ip (I thought this was the ip to the raspery pi i have set up with eibd/knxd? (Ihave 1 raspberry for tunneling, and one for running hassio.)
Do you have any experience in just the basic setup so that I can see that it works or I am in contact with the bus. (Soory for beeing noob)
Unfortunately I have not had time to try this out, to busy at work. What would the easiest setup be to just try to see if I can control anything. I do have some switches or scenarios I could call. Switches (switchactuator) that controls either lights or poweroutlets. Do you have an example of how to set that up that you have tried?
You did post the following for me in another thread:
It is optional the config file… You could also add everything directly in your own config files like this:
light:
Okey, so basically there are two way of setting everything up. This is because the KNX component in homeassistant is build upon an existing library named xknx (That’s why i linked to http://xknx.io). They have expanded the library so it works with Home assistant.
So the first mode is to work with a xknx.yaml file which is used by the xknx library. This is what is documented over here: CONFIGURATION
knx:
config_file: '/path/to/xknx.yaml'
I have a test version for my own test system and the yaml file looks like this:
xknx.yaml
Fantastic. You should definitively share your setup in the cookbook. You would be the first KNX dude over there So after you have set this up how do you get it to display in the HA environment. Is this all you have to do or do you have to do other stuff with groups/views and such? I hope I get some time to look at this in the weekend. But thanks for sharing!
When you have added your KNX components to the xknx.yaml file OR to the respective files (lights.yaml etc) everything should be vissible and changeable in HA.
I’m currently redoing al my cables and adding all my KNX components, which i hope to have finished by the end of september. After that, i will try to write something about it!
Do you already have a working KNX setup? I was struggling quite a bit too getting this to work. But before adding anything to HA, just should have a working KNX setup with ETS. Then the setup process for HA isn’t that complex anymore, just adding your knx-ip-interface and the desired devices… (using example config)
I have two HA instances: Here is my configuration.yaml for tunnelling (BAOS 771 in my case)
knx:
tunneling:
host: ‘192.168.0.254’
port: 3671
local_ip: ‘192.168.0.21’
And here for Routing if you have a router (in my other instance) state_updater is important to update statuses from boot.
knx:
routing:
local_ip: ‘192.168.0.24’
state_updater: true
The config file looks like this for both configs:
light:
And another note:
For me the cover (= rollershutter) elements exposed a bug. They either use 100% for the shutter being fully open (which I think is counter intuitive). Or, if you set invert_position: true they use the percentage correctly but the up- and down-arrows are inverted too and the up-arrow will move the cover down. There are already issue reports about that.
Hi guys! I’m new into Home Assistant and KNX. I’m coming from IP-Symcon and a bunch of Homematic and Z-Wave Devices. As it was pretty simple with IPS to control and configure these components it´s much harder for me with KNX.
HA is much simpler. I was able to configure a KNX Dimmer incl. Slider in a few minutes (+ a little bit of trial an error time to find the right addresses ) I still can’t do it in IPS.
I was also able to put in an additional lamp switch which works fine. I had problems in the beginning getting the IP Gateway work (HA wasn’t able to find the “local Ip”) I put the path to the XKNX conf in and then it works (even if I had put nothing into the config)
Now im running into a few more issues. I added a bunch of more lights but they dont show up (and somehow I managed to destroy the ability to control my Apple TV) It would be great if someone could have a look at my config and give me some tips
Edit: I deleted the path to the XKNX config and the IP address. Thats the magic auto config everyone was talking about But the other lights still dont work
Edit 2: Forget it. I found them in the Dashboard in “unused objects”
Hey Guys, I have set up my Weinzierl 731 correctly.
HASS connects to the IP Interface and I can switch on/off my actuator.
The only problem I have now is that I can’t access the KNX bus with my ETS and my HASS at the same time. Any ideas? The 731 should be able to allow up to 5 connections at the same time.
My setup:
knx:
tunneling:
host: '10.0.0.27' #Interface IP
port: 3671
local_ip: '10.0.0.16' #HASS IP
I thought that the Weinzierl 731 had up to 5 connections but these needed to be activated. (I think the top button adds an extre tunnel, the down button removes one)
It works. The “Conn Up” button on the device opens another possible connection. ( Up to 5 )
After a reboot, the initial state comes back. So only one connection is openend.
Has anyone a solution for this?
I did the connection between HA and KNX successfully, nevertheless I have a problem with the detector sensors…It does not work now. Is there anybody that know how combine both functions (switch lights from HA and swith lights with the detector)?