Ankündigung

Einklappen
Keine Ankündigung bisher.

Nachrüstung KNX IP-Gateway für Verbindung mit Raspberry Pi und Homebridge

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    #31
    Hallo Leute..

    ich kämpfe seit ca. einem Jahr immer wieder mit dem RPI - habs mit homebridge, openHAB, Homebridge vom AppStore versucht.. und schlussendlich hab ich wieder alles manuell aufgerollt mit raspbian stretch, homebridge, homebridge-knx, knxd.

    Es sieht soweit nicht schlecht aus, HomeKit erkennt die Bridge, kann auch "gepairt" werden .. also ich sehe auch ein Gerät, das ich bis jetzt als Test konfiguriert habe, es lässt sich auch schalten aber irgendwie erfährt mein Bus davon nichts..

    Hier mal der Status von der Homebridge als Bild angehängt.

    die knx_config.json sieht so aus:
    "knxd_ip": "192.168.0.121", // IP vom Raspberry auf dem KNXD läuft
    "knxd_port": 6720,
    "AllowWebserver": true,
    "AllowKillHomebridge": false,
    "Devices": [
    {
    "DeviceName": "Bürolampe", // meine konfigurierte Testlampe
    "Services": [
    {
    "ServiceType": "Lightbulb",
    "ServiceName": "Bürolampe",
    "Characteristics": [
    {
    "Type": "On",
    "Set": [
    "1/5/0"
    ],
    "Listen": [
    "1/5/1"
    ]
    }
    ],
    "subtype": "SUB_5e1498cf-399c-43c0-8d56-94fb12d69241"
    }
    ],
    "UUID": "0f74d262-8700-4cb2-af1a-ecfa63055c96"
    }
    ],
    "GroupAddresses": []
    }



    dann noch die config.json

    {
    "bridge": {
    "name": "Homebridge",
    "username": "CC:22:3D:E3:CE:31",
    "port": 51826,
    "pin": "xxx-xx-xxx" // PIN lt. Apple Sicherheitsrichtlinie
    },
    "description": "Raspberry PI 2B mit -homebridge-knx / -homebridge-config-ui-x",
    "platforms": [
    ],
    "accessories": [
    ]
    }


    und noch die konfig vom KNXD:

    # Defaults for knxd initscript
    # sourced by /etc/init.d/knxd
    # installed at /etc/default/knxd by the maintainer scripts

    ################################################## ######################
    # This file is ignored when using systemd: edit /etc/knxd.conf instead #
    ################################################## ######################

    # start knxd when /etc/init.d/knxd start is run
    # by default knxd does NOT start. set to YES to enable
    START_KNXD=YES

    # Additional options that are passed to the Daemon.
    #
    # sane default: route between local KNX clients and multicast
    DAEMON_ARGS="-e 10.0.0 -E 10.0.2:8 -u /tmp/eib -u /var/run/knx -i -b ip:192.168.0.104" //-e 10.0.0 soll der KNXD als Gruppenadresse verwenden & ip:192.168.0.104 ist die IP-Adresse der IP Schnittstelle zum Knx (Merten MEG6500-0113 - https://katalog.merten.de/merten/lis...-ip-gateway-1/)

    # The default options are "-e 0.0.1 -E 0.0.2:8 -u /tmp/eib -b ip:"
    # which tell knxd to route between all of
    # /tmp/eib (legacy socket (-u))
    # multicast client (-b ip.
    # knxd's own bus address is 0.0.1; it will assign 0.0.2…0.0.9 to clients.
    # The knxd.socket file also tells knxd to listen to
    # /run/eib (socket activation via systemd)
    # TCP port 6720 (socket activation via systemd)

    # You *need* the -e option. Clients cannot connect without "-E".
    # *** DO NOT use "-u" / "-u /run/knx" or "-i" / "-i 6720" here.
    # Systemd already does that on behalf of knxd, via 'knx.socket'.

    # DO NOT use "-RS" and "-b ip:" at the same time (unless you specify a
    # different multicast address on one of them). You'd create a loop.

    # If you have KNX hardware on a serial port or USB, add the appropriate
    # "-b TYPE:…" option. In this case, you probably want to set up a multicast
    # server, not a client (i.e. use "-D -T -R -S", not "-b ip:").
    # DO NOT use both.
    #
    # If your KNX hardware is a KNX/IP gateway that doesn't do multicast,
    # use "-b ipt:192.168.1.2" (or its DNS name) to talk to it.
    #
    # KNX MUST NOT have more than one path between any two devices. Thus,
    # you need to make sure that the KNX/IP gateway does not route multicast
    # before you use both "-S" and "-b ipt:".

    # The default bus address of knxd is 0.0.1. If that's in use in your KNX
    # network (or if you run more than one knxd on your network), set a
    # different address (-e 15.0.99).


    # Run `knxd --help` to get a complete list of available options and drivers.

    ## DO NOT use the following options:
    ## -d -- /etc/rc.d/knxd aleady does that for us
    ## -p PIDFILE -- /etc/rc.d/knxd aleady does that for us



    hätte versucht mich nach dieser Anleitung: https://github.com/snowdd1/homebridge-knx-de/ zu halten, aber irgendwo muss ich etwas übersehen oder falsch verstanden haben!? kann mir da bitte mal jemand weiterhelfen?! Ich hoffe genügend Information für eine Hilfestellung bereitgestellt zu haben?

    Vielen Dank schon mal vorab!!

    Schöne Grüße
    da Kerschei!
    You do not have permission to view this gallery.
    This gallery has 1 photos.

    Kommentar

    Lädt...
    X