snowdd1 / homebridge-knx

KNX platform shim for homebridge
https://github.com/nfarina/homebridge
GNU General Public License v2.0
97 stars 55 forks source link

No devices loaded #179

Closed rw71 closed 4 years ago

rw71 commented 4 years ago

Hello,

I am using Homebridge Config UI X (homebridge-config-ui-x v4.24.0) and added the plugins Homebridge Harmony (homebridge-harmony v1.3.12) and Homebridge Knx (homebridge-knx v0.3.27).

Harmony works fine but no KNX devices are loaded. KNXD is working. I can use knxtool to write data. I created the knx_config.json file and put it into the same folder like the config.json.

My file looks like this:

{
    "knxd_ip": "127.0.0.1",
    "knxd_port": 6720,
    "AllowWebserver": true,
    "AllowKillHomebridge": false,
    "Devices": [
        {
            "DeviceName": "Test Light",
            "Services": [
                {
                    "ServiceType": "Lightbulb",
                    "ServiceName": "Light",
                    "Characteristics": [
                        {
                            "Type": "On",
                            "Set": [
                                "0/1/2"
                            ],
                            "Listen": [
                                "0/1/2"
                            ]
                        }
                    ],
                    "KNXReadRequests": [
                        "0/1/2"
                    ]
                }
            ]
        }
    ],
    "GroupAddresses": []
}

I cannot find what is wrong. The log file also says nothing. Here the part from the log file:

create Characteristic SetupDataStreamTransport
create Characteristic KNXThermAtHome
[8/1/2020, 02:50:30] Registering platform 'homebridge-knx.KNX'
[8/1/2020, 02:50:30] ---
[8/1/2020, 02:50:30] Loading 2 platforms...
[8/1/2020, 02:50:30] [Config] Initializing config platform...
[8/1/2020, 02:50:30] [Config] Running in Service Mode
[8/1/2020, 02:50:30] [Harmony Hub] Initializing HarmonyHubWebSocket platform...
[8/1/2020, 02:50:30] [Harmony Hub] HarmonyPlatform Init
[8/1/2020, 02:50:30] [Harmony Hub] DidFinishLaunching
[8/1/2020, 02:50:30] [Harmony Hub] (Harmony Hub)INFO - Loading activities...

Please help! Thank you

rw71 commented 4 years ago

I could solve the problem in the meantime. KNX must be added as a platform in the configuration of Homebridge. A complete instruction for the installation of Homebridge for KNX I have crated here (sorry, it is in German).

snowdd1 commented 4 years ago

duplicate to #163