Ja, bin nur vor meinem Urlaub nicht mehr dazu gekommen die letzten Änderungen ordentlich zu testen. Vielleicht schaffe ich das nächstes Wochenende...
Ankündigung
Einklappen
Keine Ankündigung bisher.
homebridge-knx 0.3.0 alpha (Apple HomeKit interface)
Einklappen
X
-
Hallo,
vielen Dank für die tolle Arbeit hier in diesem Forum. Habe mich das Wochenende als Laie mit dem Thema HomeKit Anbindung an KNX auseinander gesetzt und bin immer wieder erstaunt was geht. Verwende seit ca. einem halben Jahr die Custom und Smarthome Skill von Amazon in Kombination mit dem Echo & Echo Dot und bin sehr interessiert an der Anbindung von Apple HomeKit an KNX. Leider habe ich folgendes Problem und wäre froh um einen Hinweis zur Lösung meines Problems, welches sich folgendermaßen äußert:
-Homebridge habe ich zum Laufen gebracht, allerdings kommt ein Syntax Error (siehe unten)
-Einrichtung der Homebridge Brücke in der HomeKit App inkl. Konfiguration einer Beispiel Lampe (Wohnzimmerlicht) hat funktioniert, allerdings kommt nach ein- bzw. ausschalten der Lampe eine Fehlermeldung (siehe unten)
Vielen Dank im Voraus für Eure Hilfe.
root@raspberrypi:/home/pi# sudo nano /root/.homebridge/knx_config.json
root@raspberrypi:/home/pi# sudo nano /root/.homebridge/config.json
root@raspberrypi:/home/pi# homebridge
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
[8/21/2017, 4:40:39 PM] Loaded plugin: homebridge-knx
homebridge API version: 2.2
[8/21/2017, 4:40:39 PM] Registering platform 'homebridge-knx.KNX'
[8/21/2017, 4:40:39 PM] ---
[8/21/2017, 4:40:39 PM] Loaded config.json with 0 accessories and 0 platforms.
[8/21/2017, 4:40:39 PM] ---
[8/21/2017, 4:40:39 PM] Loading 0 platforms...
[8/21/2017, 4:40:39 PM] Loading 0 accessories...
Load homebridge-knx.KNX
---
>>> knxd groupsocketlisten starting <<<
Plugin - Configure Accessory: Wohnzimmerlicht --> Added to restoredAccessories[]
Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
┌────────────┐
│ 031-45-154 │
└────────────┘
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] homebridge event didFinishLaunching
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Configuration starts
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Reading from config: Device/Accessory 1 of 1
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Service constructor called
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] ServiceType defined
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] ServiceType known as function
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Found restored service: Wohnzimmerlicht
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Preparing Characteristics: 1
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] On
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Adding characteristic...
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] CharacteristicKNX.Constructor
---iterating--------------------
Type: On
Set.0: 1/0/28
Listen.0: 1/0/30
================================
INFO registerSingleGA 1/0/30
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Done with [Wohnzimmerlicht] accessory
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] We have read 1 devices from file.
[8/21/2017, 4:40:39 PM] [homebridge-knx.KNX] Saving config file!
---
[8/21/2017, 4:40:39 PM] Homebridge is running on port 51826.
Loading custom types: Got an parser error: SyntaxError: Unexpected end of JSON input
at Object.parse (native)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/homebridge-knx/lib/customtypes/knxthermostat.js:53:29)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:185:7)
at endReadableNT (_stream_readable.js:974:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
Don't care, continue...
[8/21/2017, 4:43:26 PM] [homebridge-knx.KNX] DEBUG got dest=2076
[8/21/2017, 4:43:26 PM] [homebridge-knx.KNX] [ERROR] knxwritepenTGroup: Error: request invalid
[8/21/2017, 4:43:40 PM] [homebridge-knx.KNX] DEBUG got dest=2076
[8/21/2017, 4:43:40 PM] [homebridge-knx.KNX] [ERROR] knxwritepenTGroup: Error: request invalid
LG Eneriko
Kommentar
-
Diesen Fehler hat auch schon jemand auch GitHub gemeldet, ich konnte ihn aber bisher nicht nachvollziehen. Dafür habe ich noch einen weiteren Fehler in der letzten Version auf GitHub gefunden den ich noch reparieren muss - der ist aber (noch) nicht in der NPM-Version angekommen, daher kann es der nicht sein... sorry hab leider beruflich einiges zu tun, daher komme ich im Moment nicht weiter.Deutschsprachiges homebridge-knx-Forum unter https://github.com/snowdd1/homebridge-knx-de
Kommentar
-
Hallo Thorsten,
vielen Dank für Deine Hilfe. Anbei mein Config (Standard & KNX). Habe beide Files bereits mittels Validator überprüft, war auch mein erster Verdacht.
config.jason:
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example ....",
"platforms": [ ],
"accessories": [ ]
}
KNX_config.json:
{
"knxd_ip": "127.0.0.1",
"knxd_port": 6720,
"AllowKillHomebridge": true,
"Devices": [
{
"DeviceName": "Wohnzimmer Beleuchtung",
"Services": [
{
"ServiceType": "Lightbulb",
"ServiceName": "Wohnzimmerlicht",
"Characteristics": [
{
"Type": "On",
"Set": [
"1/0/28"
],
"Listen": [
"1/0/30"
]
}
],
"subtype": "SUB_088e45d8-6e3b-4ac3-8622-51afc4da8e08"
}
],
"UUID": "be9a5a5e-043c-4853-a901-4329eb01cecc"
}
],
"GroupAddresses": []
}
LG Eneriko
Kommentar
-
Ich bin da auch grad drueber gestolpert...
In der Datei /usr/lib/node_modules/homebridge-knx/lib/customtypes/knxthermostat.js wird versucht ein JSON-File von der URL http://github.com/snowdd1/homebridge...teristics.json zu fetchen. Was da zurueck kommt ist aber kein JSON sondern HTML, deswegen schmiert das ab. Ich hab mal versucht das auf http://raw.githubusercontent.com/sno...teristics.json aber das funktioniert auch nicht - vermutlich wegen des https-Redirects den github durchfuehrt. Direkt die https-URL zu fetchen geht (zumindest bei mir) auch nicht, da kommt ein
Code:Error: Protocol "https:" not supported. Expected "http:"
Gebe ich eine lokale http-URL vor unter das json File zu finden ist klappt alles...
Kommentar
-
Habe gestern versucht unser Garagentor einzubinden. Hat noch nicht ganz geklappt.Von Homekit aus das Garagentor zu öffnen oder schließen funktioniert. Probleme macht aber im Moment die Rückmeldung. D.h. in Homekit bekomme ich nicht mit, wenn sich das Tor ausserhalb (z.B. über Taster) geöffnet oder geschlossen hat.
Es gibt ja drei Add-Ins: SimpleGarageDoor, Misc2000GarageDoorOpener und GarageDoorOpenerAdvanced. Muss man die verwenden, oder sollte es auch ohne Add-In funktionieren?
Hier meine Konfiguration:
Code:{ "DeviceName": "Garage", "Services": [ { "ServiceType": "GarageDoorOpener", "ServiceName": "Garagentor links", "Characteristics": [ { "Type": "TargetDoorState", "Set": [ "4/3/201" ], "Listen": [ "4/3/201" ] }, { "Type": "CurrentDoorState", "Listen": [ "4/3/203" ] } ], "KNXReadRequests": [ "4/3/203" ] } ] }
Kommentar
-
Hallo nno,
die Handler haben wir geschrieben, weil die Torsteuerungen nicht genau die Werte/Eigenschaftenpaare verwenden die Apple sich ausgedacht hat. Meine Steuerung braucht z. B. An-Telegramme auf zwei verschiedenen Adressen und hat keine Rückmeldung. Andere sehen anders aus. Wenn deine Steuerung genau zur Definition von Apple passt braucht du natürlich keinen Handler (zu programmieren)
Gruß
Raoul
Deutschsprachiges homebridge-knx-Forum unter https://github.com/snowdd1/homebridge-knx-de
Kommentar
-
Ich hätte mal eine Frage zum WindowCoveringTilt Handler.
Hier wird ja bzgl. dem Lamellenwinkel von einem Wert in Grad/Winkel ausgegangen.
Bei mir wird der Wert aber in Prozent angegeben. Heißt 0% Winkel ganz oben (vermutlich gleich wie -90°) 50% waagrecht und 100% Lamellen geschlossen.
Gibt es dafür eine Lösung?
Kommentar
-
Zitat von snowdd Beitrag anzeigenHallo nno,
die Handler haben wir geschrieben, weil die Torsteuerungen nicht genau die Werte/Eigenschaftenpaare verwenden die Apple sich ausgedacht hat. Meine Steuerung braucht z. B. An-Telegramme auf zwei verschiedenen Adressen und hat keine Rückmeldung. Andere sehen anders aus. Wenn deine Steuerung genau zur Definition von Apple passt braucht du natürlich keinen Handler (zu programmieren)
Gruß
Raoul
Vor allem zusammen mit der Apple Watch macht das für mich total Sinn.
Steuerung des Garagentor klappt bei mir jetzt mittlerweile auch (Hörmann Tor und Elsner KNX-Torantriebs-Steuerungsmodul). Habe es ohne extra Add-In aufgesetzt und die Logik in EDOMI ausgelagert, da ich für die Visu dort eh schon den aktuellen Status (offen, zu, öffnend, schließend, angehalten) ermittle. Ein Stolperstein war noch, dass auch TargetDoorState auf KNX Seite ein DPT5 (und nicht DPT1) Datentyp sein muss. Außerdem darf man nicht einfach CurrentDoorState setzen und annehmen, dass Homekit dann schon weiß, dass das Tor jetzt z.B. zufährt, sondern man muss vorher noch den TargetDoorState setzen. Also erst TargetDoorState auf close und dann den CurrentDoorState auf closing.
Kommentar
-
Ganz kurze Frage:
Was hat es denn damit auf sich?
https://www.npmjs.com/package/homebridge-server
Kann man das nicht irgendwie Portieren sodass man auch die KNX-Devices/serivces damit anlegen kann?
Und dann noch eine Frage da ich das Thema nicht mehr länger verfolgt habe.... habe das damals mit der Urversion von Homebridge und knxd gemacht...
Wenn ich Homebridge-knx installiere dann kann ich mir knxd auf dem raspberry sparen oder?
Ein Webinterface wie bei man es bei der HA-Bridge für Alexa und Co findet gibt es bis Dato nicht... Das nervige ist nämlich die Config
Oder hat es schonmal jemand über FEHM getestet und für gut befunden?
Zuletzt geändert von Shine120; 05.10.2017, 21:16.
Kommentar
-
Hallo,
Ich habe aktuell ein Problem bei meiner Homebridge Installation. Knxd wurde installiert und funktioniert ohne Probleme danach Homebrige und Homebrige-knx installiert und die config Files erstellt. Beide Service laufen aber ich finde die Homebridge mit meinem Iphone nicht.
KNXD:
pi@raspberrypi:~ $ sudo systemctl status knxd.service
● knxd.service - KNX Daemon
Loaded: loaded (/lib/systemd/system/knxd.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2017-10-07 18:34:46 UTC; 16min ago
Main PID: 1010 (knxd)
CGroup: /system.slice/knxd.service
└─1010 /usr/local/bin/knxd -p /run/knxd/knxd.pid --eibaddr=1.1.128 --client-addrs=1.1.129:8 -d -D -T -R -S -i --listen-local=/tmp/knx -b tpuarts:/dev/ttyAMA0
Oct 07 18:34:46 raspberrypi systemd[1]: Started KNX Daemon.
Homebridge:
sudo systemctl status homebridge.service
● homebridge.service - Node.js HomeKit Server
Loaded: loaded (/etc/systemd/system/homebridge.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2017-10-07 18:34:56 UTC; 16min ago
Main PID: 1024 (homebridge)
CGroup: /system.slice/homebridge.service
└─1024 homebridge
Oct 07 18:35:00 raspberrypi homebridge[1024]: Type: On
Oct 07 18:35:00 raspberrypi homebridge[1024]: Set.0: 1/1/4
Oct 07 18:35:00 raspberrypi homebridge[1024]: Listen.0: 1/1/4
Oct 07 18:35:00 raspberrypi homebridge[1024]: ================================
Oct 07 18:35:00 raspberrypi homebridge[1024]: INFO registerSingleGA 1/1/4
Oct 07 18:35:00 raspberrypi homebridge[1024]: [10/7/2017, 6:35:00 PM] [homebridge-knx.KNX] Done with [Wohnzimmer Lampe] accessory
Oct 07 18:35:00 raspberrypi homebridge[1024]: [10/7/2017, 6:35:00 PM] [homebridge-knx.KNX] We have read 1 devices from file.
Oct 07 18:35:00 raspberrypi homebridge[1024]: [10/7/2017, 6:35:00 PM] [homebridge-knx.KNX] Saving config file!
Oct 07 18:35:00 raspberrypi homebridge[1024]: ---
Oct 07 18:35:00 raspberrypi homebridge[1024]: [10/7/2017, 6:35:00 PM] Homebridge is running on port 51826.
pi@raspberrypi:~ $ sudo journalctl -xu homebridge.service
-- Logs begin at Thu 2016-11-03 17:16:43 UTC, end at Sat 2017-10-07 18:52:27 UTC. --
Oct 06 22:32:49 raspberrypi systemd[1]: Started Node.js HomeKit Server.
-- Subject: Unit homebridge.service has finished start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit homebridge.service has finished starting up.
--
-- The start-up result is done.
Oct 06 22:32:51 raspberrypi homebridge[474]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Oct 06 22:32:51 raspberrypi homebridge[474]: *** WARNING *** Please fix your application to use the native API of Avahi!
Oct 06 22:32:51 raspberrypi homebridge[474]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Oct 06 22:32:51 raspberrypi homebridge[474]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi
Oct 06 22:32:51 raspberrypi homebridge[474]: *** WARNING *** Please fix your application to use the native API of Avahi!
Oct 06 22:32:51 raspberrypi homebridge[474]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Oct 06 22:32:51 raspberrypi node[474]: *** WARNING *** The program 'node' uses the Apple Bonjour compatibility layer of Avahi.
Oct 06 22:32:51 raspberrypi node[474]: *** WARNING *** Please fix your application to use the native API of Avahi!
Oct 06 22:32:51 raspberrypi node[474]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
Oct 06 22:32:51 raspberrypi node[474]: *** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility layer of Avahi.
Oct 06 22:32:51 raspberrypi node[474]: *** WARNING *** Please fix your application to use the native API of Avahi!
Oct 06 22:32:51 raspberrypi node[474]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=node&f=DNSServiceRegister>
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:55 PM] Loaded plugin: homebridge-knx
Oct 06 22:32:56 raspberrypi homebridge[474]: homebridge API version: 2.2
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service AirPurifier
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service AirQualitySensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service BatteryService
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service CameraRTPStreamManagement
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service CarbonDioxideSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service CarbonMonoxideSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service ContactSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Door
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Doorbell
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Fan
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Fanv2
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service FilterMaintenance
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service GarageDoorOpener
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service HeaterCooler
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service HumidifierDehumidifier
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service HumiditySensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service LeakSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service LightSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Lightbulb
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service LockManagement
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service LockMechanism
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Microphone
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service MotionSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service OccupancySensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Outlet
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service SecuritySystem
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service ServiceLabel
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Slat
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service SmokeSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Speaker
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service StatelessProgrammableSwitch
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Switch
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service TemperatureSensor
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Thermostat
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Window
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service WindowCovering
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service CameraControl
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service StatefulProgrammableSwitch
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Label
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service BridgeConfiguration
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service BridgingState
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Pairing
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service ProtocolInformation
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service Relay
Oct 06 22:32:56 raspberrypi homebridge[474]: Create Service TimeInformation
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AccessoryFlags
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Active
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AdministratorOnlyAccess
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AirParticulateDensity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AirParticulateSize
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AirQuality
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AudioFeedback
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic BatteryLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Brightness
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CarbonDioxideDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CarbonDioxideLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CarbonDioxidePeakLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CarbonMonoxideDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CarbonMonoxideLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CarbonMonoxidePeakLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ChargingState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ColorTemperature
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ContactSensorState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CoolingThresholdTemperature
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentAirPurifierState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentAmbientLightLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentDoorState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentFanState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentHeaterCoolerState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentHeatingCoolingState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentHorizontalTiltAngle
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentHumidifierDehumidifierState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentPosition
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentRelativeHumidity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentSlatState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentTemperature
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentTiltAngle
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentVerticalTiltAngle
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic DigitalZoom
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic FilterChangeIndication
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic FilterLifeLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic FirmwareRevision
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic HardwareRevision
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic HeatingThresholdTemperature
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic HoldPosition
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Hue
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Identify
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ImageMirroring
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ImageRotation
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LeakDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LockControlPoint
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LockCurrentState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LockLastKnownAction
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LockManagementAutoSecurityTimeout
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LockPhysicalControls
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LockTargetState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Logs
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Manufacturer
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Model
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic MotionDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Mute
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Name
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic NightVision
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic NitrogenDioxideDensity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ObstructionDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic OccupancyDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic On
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic OpticalZoom
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic OutletInUse
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic OzoneDensity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PairSetup
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PairVerify
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PairingFeatures
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PairingPairings
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PM10Density
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PM2_5Density
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic PositionState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ProgrammableSwitchEvent
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RelativeHumidityDehumidifierThreshold
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RelativeHumidityHumidifierThreshold
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ResetFilterIndication
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RotationDirection
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RotationSpeed
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Saturation
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SecuritySystemAlarmType
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SecuritySystemCurrentState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SecuritySystemTargetState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SelectedRTPStreamConfiguration
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SerialNumber
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ServiceLabelIndex
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ServiceLabelNamespace
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SetupEndpoints
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SlatType
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SmokeDetected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic StatusActive
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic StatusFault
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic StatusJammed
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic StatusLowBattery
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic StatusTampered
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic StreamingStatus
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SulphurDioxideDensity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SupportedAudioStreamConfiguration
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SupportedRTPConfiguration
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SupportedVideoStreamConfiguration
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SwingMode
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetAirPurifierState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetAirQuality
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetDoorState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetFanState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetHeaterCoolerState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetHeatingCoolingState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetHorizontalTiltAngle
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetHumidifierDehumidifierState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetPosition
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetRelativeHumidity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetSlatState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetTemperature
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetTiltAngle
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TargetVerticalTiltAngle
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TemperatureDisplayUnits
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Version
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic VOCDensity
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Volume
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic WaterLevel
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AppMatchingIdentifier
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ProgrammableSwitchOutputState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SoftwareRevision
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic SelectedStreamConfiguration
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LabelNamespace
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LabelIndex
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic AccessoryIdentifier
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Category
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ConfigureBridgedAccessory
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic ConfigureBridgedAccessoryStatus
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic CurrentTime
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic DayoftheWeek
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic DiscoverBridgedAccessories
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic DiscoveredBridgedAccessories
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic LinkQuality
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic Reachable
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RelayControlPoint
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RelayEnabled
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic RelayState
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TimeUpdate
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TunnelConnectionTimeout
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TunneledAccessoryAdvertising
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TunneledAccessoryConnected
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic TunneledAccessoryStateNumber
Oct 06 22:32:56 raspberrypi homebridge[474]: create Characteristic KNXThermAtHome
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] Registering platform 'homebridge-knx.KNX'
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] ---
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] Loaded config.json with 0 accessories and 0 platforms.
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] ---
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] Loading 0 platforms...
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] Loading 0 accessories...
Oct 06 22:32:56 raspberrypi homebridge[474]: Load homebridge-knx.KNX
Oct 06 22:32:56 raspberrypi homebridge[474]: ---
Oct 06 22:32:56 raspberrypi homebridge[474]: >>> knxd groupsocketlisten starting <<<
Oct 06 22:32:56 raspberrypi homebridge[474]: Plugin - Configure Accessory: Wohnzimmer Lampe --> Added to restoredAccessories[]
Oct 06 22:32:56 raspberrypi homebridge[474]: Plugin - Configure Accessory: Wohnzimmer Lampe --> Added to restoredAccessories[]
Oct 06 22:32:56 raspberrypi homebridge[474]: Scan this code with your HomeKit App on your iOS device to pair with Homebridge:
Oct 06 22:32:56 raspberrypi homebridge[474]:
Oct 06 22:32:56 raspberrypi homebridge[474]: ┌────────────┐
Oct 06 22:32:56 raspberrypi homebridge[474]: │ 031-45-154 │
Oct 06 22:32:56 raspberrypi homebridge[474]: └────────────┘
Oct 06 22:32:56 raspberrypi homebridge[474]:
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] homebridge event didFinishLaunching
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Configuration starts
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Reading from config: Device/Accessory 1 of 1
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Service constructor called
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] ServiceType defined
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] ServiceType known as function
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Found restored service: Wohnzimmerlampe
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Preparing Characteristics: 1
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] On
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Adding characteristic...
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] CharacteristicKNX.Constructor
Oct 06 22:32:56 raspberrypi homebridge[474]: ---iterating--------------------
Oct 06 22:32:56 raspberrypi homebridge[474]: Type: On
Oct 06 22:32:56 raspberrypi homebridge[474]: Set.0: 1/1/4
Oct 06 22:32:56 raspberrypi homebridge[474]: Listen.0: 1/1/4
Oct 06 22:32:56 raspberrypi homebridge[474]: ================================
Oct 06 22:32:56 raspberrypi homebridge[474]: INFO registerSingleGA 1/1/4
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Done with [Wohnzimmer Lampe] accessory
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] We have read 1 devices from file.
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] [homebridge-knx.KNX] Saving config file!
Oct 06 22:32:56 raspberrypi homebridge[474]: ---
Oct 06 22:32:56 raspberrypi homebridge[474]: [10/6/2017, 10:32:56 PM] Homebridge is running on port 51826.
Oct 06 22:32:56 raspberrypi homebridge[474]: FATAL: knxd or eibd not reachable
Oct 06 22:32:56 raspberrypi systemd[1]: homebridge.service: Main process exited, code=exited, status=1/FAILURE
Oct 06 22:32:56 raspberrypi systemd[1]: homebridge.service: Unit entered failed state.
Oct 06 22:32:56 raspberrypi systemd[1]: homebridge.service: Failed with result 'exit-code'.
Oct 06 22:33:06 raspberrypi systemd[1]: homebridge.service: Service hold-off time over, scheduling restart.
Oct 06 22:33:06 raspberrypi systemd[1]: Stopped Node.js HomeKit Server.
Folgende Log Zeile beunruhigt mich:
Oct 06 22:32:56 raspberrypi homebridge[474]: FATAL: knxd or eibd not reachable
Das Homebridge-knx config File sieht so aus:
{ "knxd_ip": "127.0.0.1", "knxd_port": 6720, "AllowKillHomebridge": true, "Devices": [ { "DeviceName": "Wohnzimmer Lampe", "Services": [ { "ServiceType": "Lightbulb", "ServiceName": "Wohnzimmerlampe", "Characteristics": [ { "Type": "On", "Set": [ "1/3/5" ], "Listen": [ "1/3/5" ] } ] } ] } ] }
Ich habe bereits nach dem Fehler gesucht leider keine Antwort mit der Lösung gefunden daher hoffe ich das mir hier jemand weiterhelfen kann.
Vielen dank im Voraus.
Kommentar
-
Zitat von sonnenkind80 Beitrag anzeigenIch hätte mal eine Frage zum WindowCoveringTilt Handler.
Hier wird ja bzgl. dem Lamellenwinkel von einem Wert in Grad/Winkel ausgegangen.
Bei mir wird der Wert aber in Prozent angegeben. Heißt 0% Winkel ganz oben (vermutlich gleich wie -90°) 50% waagrecht und 100% Lamellen geschlossen.
Gibt es dafür eine Lösung?
Kommentar
-
Erstmal möchte ich mich gerne bei Raoul für seine tolle Arbeit bedanken!
Seit fast ein und halb Jahren läuft bei mir die v.0.2.7 sehr stabil und zuverlässig. Auch die „Siri“ ist mittlerweile zur neuen Familienmitglied geworden.
Aber die Zeit geht weiter und es ist schon fast ein Jahr vergangen seit der Veröffentlichung der neuen 0.3.x. Version. Dann habe ich endlich die Zeit genommen und ganz fleißig meine alte config.json in die knx_config.json umgeschrieben, und alles komplett neu installiert.
Alles funktioniert wunderbar bis auf eine Sache! Wenn ich die Wohnung verlasse, dann sage ich immer: „Siri, schalte das Licht aus“. Und die gute Siri versteht was ich meine ;-) und schaltet alle Lichter in der Wohnung aus.
Mit der Einführung der neuen Version antwortet meine Siri jetzt aber: „OK, die meisten deiner Lampen sind ausgeschaltet. Elf deiner Geräte reagieren nicht.“
Mit dem Einschalten ist dasselbe.
Ich habe insgesamt 18 Lampen angeschlossen. Was ich festgestellt habe, dass die Siri nur bis zur sieben Geräte bedienen kann. Die restlichen 11 reagieren nicht.
Und schon seit fast eine Woche bin ich bei der Fehlersuche. Ich habe mehrmals alles komplett neu installiert, meine knx_config.json Datei aus die Fehler untersucht, habe sogar mit verschiedenen Versionen der Node.JS ausprobiert – alles ohne Erfolg.
Dieses Verhalten ist also bei mir reproduzierbar. Und jetzt sind meine Fragen:
1. Ist das Verhalten schon bekannt und ich habe das hier im Forum übersehen?
2. Ist eine Begrenzung auf 7 Geräte einprogrammiert.
3. Wie kann ich das eventuell „reparieren“?
Mit freundlichen Grüßen,
Alexei
Kommentar
Kommentar