NEWS
Homebridge-Adapter: Funktionierende Plugins und Beispiele
-
Erfolgreich integriert, ein Dankeschön an den Entwickler :
PlugIn homebridge-logi-circle-controls 2.1.2
HAM Adapter Version 1.1.2
Node.js v14.6.0
NPM 6.14.6Auszug aus der Konfiguration
{ "platform": "Logi Circle Controls", "name": "Logi Circle Controls", "email": "HIER DIE EMAIL ADRESSE", "password": "HIER DAS PASSWORT", "accessories": [ { "deviceId": "HIER DIE DEVICE ID", "name": "Süden", "camera": { "name": "S Kamera", "disabled": false }, "privacyMode": { "name": "S Privacy Mode", "disabled": false }, "led": { "disabled": true } } ] }
-
Bei mir läuft der HAM 3.0.1 mit dem" Homebridge-Balboa" tadelos.
homebridge-balboa-spa{ "description": "Add configuration for your accessories or platforms according to the docs of the plugins.", "accessories": [], "platforms": [ { "name": "Spa", "autoCreateAccessories": true, "host": "192.168.178.xx", "devices": [ { "name": "Zirkulationspumpe", "deviceType": "Pump 1" }, { "name": "Pumpe1", "deviceType": "Pump 2" }, { "name": "Sprudler", "deviceType": "Blower" }, { "name": "Temperatur", "deviceType": "Temperature Sensor" }, { "name": "Wasserdurchlauf", "deviceType": "Water Flow Problem Sensor" }, { "name": "Temperatur Einstellung", "deviceType": "Thermostat" }, { "name": "LED", "deviceType": "Lights 1" } ], "platform": "Balboa-Spa" } ] }
die xx durch die IP ersetzen
Gruß Michael
-
@becksyyy said in Homebridge-Adapter: Funktionierende Plugins und Beispiele:
Habe den Fehler gefunden hier der Code für alle die ebenfalls Smartthings einbinden wollen.
{
"bridge": {
"name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"manufacturer": "homebridge.io",
"model": "homebridge",
"port": 51826,
"pin": "111-11-111"
},
"platforms": [
{
"platform": "SmartThings-v2",
"name": "SmartThings-v2",
"app_url": "https://graph-eu01-euwest1.api.smartthings.com:443/api/smartapps/installations/",
"app_id": "xxxxxxxxxxxxx",
"access_token": "xxxxxxxx",
"temperature_unit": "C",
"validateTokenId": false,
"logConfig": {
"debug": false,
"showChanges": true,
"hideTimestamp": false,
"hideNamePrefix": false,
"file": {
"enabled": true
}
}
}
]
}
->Beispiel einer Waschmaschine.Moin Moin zusammen, ich versuche auch gerade meine Waschmaschine in iobroker zu bekommen aber habe bisher nur Fragezeichen über meinen Kopf fliegen. Ggf. könnt ihr mir ja helfen.
Folgendes habe ich bisher gemacht
1.Adp. Installiert und Plugin eingebunden!
Jetzt kommen wir zur Config die ja so stimmen sollte aber woher bekommen folgende Zugänge (Siehe rot markierte Bereiche)
Ok, bei "bridge" bin ich mir nicht sicher, ob hier eine Hardware gemeint ist, falls ja würde das auch ohne Hardware gehen, weil ich nutze zurzeit nur die SmartThings APP.
Api auch eingerichtet:
https://graph-eu01-euwest1.api.smartthings.com/device/list
Hier noch die Info von meinen IObrocker:
Sollten noch Informationen fehlen sagt Bescheid und ich danke euch jetzt schon für eure Hilfe.
Gruß
Rene -
Moin Moin, hat keiner eine eine Idee wie genau man das umsetzen kann ? einer hat es ja schon hinbekommen ist aber leider nicht erreichbar.
Gruß
Rene und schönes WE -
@apollon77 So habe nun alles versucht habe homebridge nun alleine am laufen damit geht alles will man den Adp im IO nutzen läuft da nix .....
Log nur fehler
Kann es sein das der Adp veraltet ist und überhaupt nicht mehr funkt. ?
Weil im HB läuft alles
Gruß
Rene -
@gfrene welcheversion vom Adapter? Wie sieht die config.json aus? In welcher Version von homebridge geht es?
-
@apollon77 Also, am laufen habe ich es jetzt bekommen. Aber hier der Fehler der noch im LOG auftaucht.
Geräte werden anglegt:
Adp- Version:
Config:
"bridge": { "name": "Homebridge 3618", "username": "0E:A8:AF:73:36:18", "port": 51047, "pin": "XXXXXXX" }, "accessories": [], "platforms": [ { "name": "HC", "port": 8581, "auth": "form", "theme": "auto", "tempUnits": "c", "lang": "auto", "platform": "config" }, { "name": "SmartThings-v2", "app_url": "https://graph-eu01-euwest1.api.smartthings.com:443/api/smartapps/installations/", "app_id": "xxxxxxxxxxx", "access_token": "XXXXXXXXXXXx", "direct_ip": "192.168.XX.XX", "direct_port": 8000, "temperature_unit": "F", "validateTokenId": false, "logConfig": { "debug": false, "showChanges": true, "hideTimestamp": true, "hideNamePrefix": true, "file": { "enabled": true, "level": "good" } }, "platform": "SmartThings-v2" } ] }
So was richtig ärgerlich ist ... was ich aber denke was man nicht lösen kann ist :
Das nicht alle funktionen gehen : Was ich am meisten brauche wie lange die Waschmaische noch läuft : ( VIS)Model:
Gruß und danke für die Hilfe
Rene -
@gfrene Ok, die zeilen die du hier zitiert hast sind irrlevant. Die "The requested platform has been registered twice ..." ist die "böse". Die Konfig ist wirklich die aus dem config.json was genutzt wird im globalen Modus?
Wie lautet denn die Fehlermeldung vollständig (die genannte Zeile)? Hol es doch bitte mal gaaanz vollständig aus dem Logfile, am besten alles an Logzeilen was zu einem solchen Fehlerstart gehört (vollständig besser als willkürlich gekürzt - sorry).Ich tippe eher das irgendwie in den "include Pfaden" ein Paket mit den gleichen Namen doppelt liegt. Lösch es doch mal aus dem iobroker verzeichnis wenn es global installiert wurde. Ich denke daran liegt es!
Der Adapter 3.0.1 nutzt Homebridget 1.1 "im inneren".Bitte auch sicherstellen das das Plugin damit tut.
-
@apollon77 so habe jetzt mal die v1.1.1 installiert.
Anbei das LOG:
2020-10-05 09:16:33.120 - info: host.iobroker "system.adapter.ham.0" enabled 2020-10-05 09:16:33.152 - info: host.iobroker instance system.adapter.ham.0 started with pid 27179 2020-10-05 09:16:34.047 - info: ham.0 (27179) starting. Version 3.0.1 in /opt/iobroker/node_modules/iobroker.ham, node: v10.22.1, js-controller: 3.1.6 2020-10-05 09:16:34.065 - info: ham.0 (27179) No additional Libraries to install ... 2020-10-05 09:16:35.121 - info: ham.0 (27179) updateDev Security-Alarm: name = Security Alarm /type= 1 2020-10-05 09:16:35.127 - info: ham.0 (27179) updateChannel Security-Alarm.Accessory-Information: name = 2020-10-05 09:16:35.128 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} 2020-10-05 09:16:35.129 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Manufacturer: value = SmartThings-v2 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} 2020-10-05 09:16:35.129 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Model: value = Security System /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} 2020-10-05 09:16:35.134 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Name: value = Security Alarm /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.135 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Serial-Number: value = Default-SerialNumber /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} 2020-10-05 09:16:35.136 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Firmware-Revision: value = 1.0.0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.136 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Hardware-Revision: value = 2.3.8 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.137 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""} 2020-10-05 09:16:35.146 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.App-Matching-Identifier: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""} 2020-10-05 09:16:35.147 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Configured-Name: value = /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""} 2020-10-05 09:16:35.148 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Firmware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.148 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Hardware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.149 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Software-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""} 2020-10-05 09:16:35.149 - info: ham.0 (27179) updateState Security-Alarm.Accessory-Information.Product-Data: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""} 2020-10-05 09:16:35.150 - info: ham.0 (27179) updateChannel Security-Alarm.Alarm: name = 2020-10-05 09:16:35.151 - info: ham.0 (27179) updateState Security-Alarm.Alarm.Security-System-Current-State: value = 3 /common= {"type":"number","min":0,"max":4,"read":true,"write":false,"role":"value.alarm","name":"Security System Current State","unit":""} 2020-10-05 09:16:35.152 - info: ham.0 (27179) updateState Security-Alarm.Alarm.Security-System-Target-State: value = 3 /common= {"type":"number","min":0,"max":3,"read":true,"write":true,"role":"level","name":"Security System Target State","unit":""} 2020-10-05 09:16:35.152 - info: ham.0 (27179) updateState Security-Alarm.Alarm.Status-Fault: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Status Fault","unit":""} 2020-10-05 09:16:35.153 - info: ham.0 (27179) updateState Security-Alarm.Alarm.Status-Tampered: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Status Tampered","unit":""} 2020-10-05 09:16:35.153 - info: ham.0 (27179) updateState Security-Alarm.Alarm.Security-System-Alarm-Type: value = 0 /common= {"type":"number","min":0,"max":1,"read":true,"write":false,"role":"value","name":"Security System Alarm Type","unit":""} 2020-10-05 09:16:35.163 - info: ham.0 (27179) updateState Security-Alarm.Alarm.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.165 - info: ham.0 (27179) updateDev Mode---Home: name = Mode - Home /type= 1 2020-10-05 09:16:35.165 - info: ham.0 (27179) updateChannel Mode---Home.Accessory-Information: name = 2020-10-05 09:16:35.166 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} 2020-10-05 09:16:35.166 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Manufacturer: value = SmartThings-v2 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} 2020-10-05 09:16:35.182 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Model: value = Mode Device /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} 2020-10-05 09:16:35.182 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Name: value = Mode - Home /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.183 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Serial-Number: value = Default-SerialNumber /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} 2020-10-05 09:16:35.183 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Firmware-Revision: value = 1.0.0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.183 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Hardware-Revision: value = 2.3.8 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.184 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""} 2020-10-05 09:16:35.184 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.App-Matching-Identifier: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""} 2020-10-05 09:16:35.185 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Configured-Name: value = /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""} 2020-10-05 09:16:35.185 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Firmware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.185 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Hardware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.186 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Software-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""} 2020-10-05 09:16:35.186 - info: ham.0 (27179) updateState Mode---Home.Accessory-Information.Product-Data: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""} 2020-10-05 09:16:35.186 - info: ham.0 (27179) updateChannel Mode---Home.Switch: name = 2020-10-05 09:16:35.187 - info: ham.0 (27179) updateState Mode---Home.Switch.On: value = true /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""} 2020-10-05 09:16:35.187 - info: ham.0 (27179) updateState Mode---Home.Switch.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.188 - info: ham.0 (27179) updateDev Samsung: name = Samsung /type= 1 2020-10-05 09:16:35.189 - info: ham.0 (27179) updateChannel Samsung.Accessory-Information: name = 2020-10-05 09:16:35.189 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} 2020-10-05 09:16:35.190 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Manufacturer: value = SmartThings-v2 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} 2020-10-05 09:16:35.190 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Model: value = Samsung Ocf Tv /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} 2020-10-05 09:16:35.190 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Name: value = Samsung /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.191 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Serial-Number: value = Default-SerialNumber /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} 2020-10-05 09:16:35.191 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Firmware-Revision: value = 1.0.0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.191 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Hardware-Revision: value = 2.3.8 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.192 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""} 2020-10-05 09:16:35.192 - info: ham.0 (27179) updateState Samsung.Accessory-Information.App-Matching-Identifier: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""} 2020-10-05 09:16:35.192 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Configured-Name: value = /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""} 2020-10-05 09:16:35.193 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Firmware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.193 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Hardware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.193 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Software-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""} 2020-10-05 09:16:35.202 - info: ham.0 (27179) updateState Samsung.Accessory-Information.Product-Data: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""} 2020-10-05 09:16:35.203 - info: ham.0 (27179) updateChannel Samsung.Switch: name = 2020-10-05 09:16:35.203 - info: ham.0 (27179) updateState Samsung.Switch.On: value = false /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""} 2020-10-05 09:16:35.204 - info: ham.0 (27179) updateState Samsung.Switch.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.204 - info: ham.0 (27179) updateDev Waschmaschine: name = Waschmaschine /type= 1 2020-10-05 09:16:35.205 - info: ham.0 (27179) updateChannel Waschmaschine.Accessory-Information: name = 2020-10-05 09:16:35.206 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Identify: value = false /common= {"type":"boolean","read":false,"write":true,"role":"button","name":"Identify","unit":""} 2020-10-05 09:16:35.206 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Manufacturer: value = SmartThings-v2 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Manufacturer","unit":""} 2020-10-05 09:16:35.206 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Model: value = Samsung Ocf Washer /common= {"type":"string","read":true,"write":false,"role":"text","name":"Model","unit":""} 2020-10-05 09:16:35.207 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Name: value = Waschmaschine /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.207 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Serial-Number: value = Default-SerialNumber /common= {"type":"string","read":true,"write":false,"role":"text","name":"Serial Number","unit":""} 2020-10-05 09:16:35.207 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Firmware-Revision: value = 1.0.0 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.208 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Hardware-Revision: value = 2.3.8 /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.208 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Accessory-Flags: value = 0 /common= {"type":"number","min":0,"max":4294967295,"read":true,"write":false,"role":"value","name":"Accessory Flags","unit":""} 2020-10-05 09:16:35.209 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.App-Matching-Identifier: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"App Matching Identifier","unit":""} 2020-10-05 09:16:35.209 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Configured-Name: value = /common= {"type":"string","read":true,"write":true,"role":"text","name":"Configured Name","unit":""} 2020-10-05 09:16:35.209 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Firmware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Firmware Revision","unit":""} 2020-10-05 09:16:35.210 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Hardware-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Hardware Revision","unit":""} 2020-10-05 09:16:35.210 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Software-Revision: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Software Revision","unit":""} 2020-10-05 09:16:35.210 - info: ham.0 (27179) updateState Waschmaschine.Accessory-Information.Product-Data: value = null /common= {"type":"string","read":true,"write":false,"role":"text","name":"Product Data","unit":""} 2020-10-05 09:16:35.211 - info: ham.0 (27179) updateChannel Waschmaschine.Switch: name = 2020-10-05 09:16:35.211 - info: ham.0 (27179) updateState Waschmaschine.Switch.On: value = false /common= {"type":"boolean","read":true,"write":true,"role":"switch","name":"On","unit":""} 2020-10-05 09:16:35.211 - info: ham.0 (27179) updateState Waschmaschine.Switch.Name: value = /common= {"type":"string","read":true,"write":false,"role":"text","name":"Name","unit":""} 2020-10-05 09:16:35.371 - error: ham.0 (27179) uncaught exception: listen EADDRINUSE: address already in use :::51047 2020-10-05 09:16:35.372 - error: ham.0 (27179) Error: listen EADDRINUSE: address already in use :::51047 at Server.setupListenHandle [as _listen2] (net.js:1280:14) at listenInCluster (net.js:1328:12) at Server.listen (net.js:1415:7) at EventedHTTPServer._this.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/util/eventedhttp.js:100:30) at HAPServer._this.listen (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/HAPServer.js:201:31) at MyBridge.Accessory._this.publish [as _origPublish] (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/dist/lib/Accessory.js:575:27) at MyBridge.publish (/opt/iobroker/node_modules/iobroker.ham/lib/global-handler.js:156:35) at Server.publishBridge (/usr/lib/node_modules/homebridge/lib/server.js:104:21) at Promise.all.then (/usr/lib/node_modules/homebridge/lib/server.js:82:30) at process._tickCallback (internal/process/next_tick.js:68:7) 2020-10-05 09:16:35.373 - info: ham.0 (27179) cleaned everything up... 2020-10-05 09:16:35.383 - warn: ham.0 (27179) Exception: Error: listen EADDRINUSE: address already in use :::51047 2020-10-05 09:16:35.516 - info: ham.0 (27179) terminating 2020-10-05 09:16:35.517 - info: ham.0 (27179) Terminated (NO_ERROR): Without reason 2020-10-05 09:16:36.003 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Identify {"val":false,"ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380262} 2020-10-05 09:16:36.004 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Manufacturer {"val":"SmartThings-v2","ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380262} 2020-10-05 09:16:36.010 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Model {"val":"Security System","ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380262} 2020-10-05 09:16:36.010 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Name {"val":"Security Alarm","ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380263} 2020-10-05 09:16:36.011 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Serial-Number {"val":"Default-SerialNumber","ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380263} 2020-10-05 09:16:36.011 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Firmware-Revision {"val":"1.0.0","ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601882195991} 2020-10-05 09:16:36.012 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Hardware-Revision {"val":"2.3.8","ack":true,"ts":1601882195991,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601882195991} 2020-10-05 09:16:36.012 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Accessory-Flags {"val":0,"ack":true,"ts":1601882195992,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380263} 2020-10-05 09:16:36.021 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.App-Matching-Identifier {"val":null,"ack":true,"ts":1601882195992,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380263} 2020-10-05 09:16:36.023 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Configured-Name {"val":"","ack":true,"ts":1601882195992,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380263} 2020-10-05 09:16:36.025 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Firmware-Revision {"val":"","ack":true,"ts":1601882195992,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601829365421} 2020-10-05 09:16:36.025 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Hardware-Revision {"val":"","ack":true,"ts":1601882195992,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601829365421} 2020-10-05 09:16:36.027 - info: ham.0 (27179) stateChange ham.0.Security-Alarm.Accessory-Information.Software-Revision {"val":"","ack":true,"ts":1601882195992,"q":0,"from":"system.adapter.ham.0","user":"system.user.admin","lc":1601358380263} 2020-10-05 09:16:36.183 - error: host.iobroker Caught by controller[0]: [2020-10-5 9:16:34 AM] Plugin /opt/iobroker/node_modules/homebridge-plugin-wrapper package.json does not contain the keyword 'homebridge-plugin'. 2020-10-05 09:16:36.183 - error: host.iobroker Caught by controller[1]: [2020-10-5 9:16:34 AM] Warning: skipping plugin found at '/usr/lib/node_modules/homebridge-smartthings' since we already loaded the same plugin from '/opt/iobroker/node_modules/homebridge-smartthings'. 2020-10-05 09:16:36.184 - error: host.iobroker Caught by controller[1]: [2020-10-5 9:16:34 AM] Plugin /usr/lib/node_modules/homebridge/ does not have a package name that begins with 'homebridge-' or '@scope/homebridge-. 2020-10-05 09:16:36.184 - info: host.iobroker instance system.adapter.ham.0 terminated with code 0 (NO_ERROR) 2020-10-05 09:16:36.184 - info: host.iobroker Restart adapter system.adapter.ham.0 because enabled
Was genau soll ich löschen unter /opt/iobroker/node_modules/ ???
Gruß und danke für die Hilfe
Rene -
@gfrene 1. ) Kann es sein das homebridge schon läuft? Wegen dem port in use error im log? Damit gehts ja aber besser oder?
Also lag es vllt wirklich daran das die globale homebridge version und die "ham Version" anders waren ... ? Ich wollte mi update eigentlich bis 1.2 warten ... aber vllt muss ich dann nochmal auf letzte 1.1.x heben
Zum löchen: wenn homebridge-smartthings schon global installiert ist dann hier wegwerfen
-
@apollon77 So der Adp läuft nun ohne Fehler aber ich denke so bringt er mir nix weil viel auslesen ist hier nicht grrrrr
Was mir eben wichtig wäre das ich die Restlaufzeit sehen könnte .... gibt es da eine möglichkeit ?
Gruß
Rene -
@gfrene Jetzt sag mal -.. was ist "Adp"? Kurzform von Adapter?
Ansonsten: Der Adapter kann nur in den States das anzeigen was das Homebridge Plugin auch kann und als Daten liefert. mehr geht nicht. Ich habe keine Ahnung wo der andere Screenshot her ist mit den Daten du du gern hättest
-
@apollon77 Ja, Adp. ist Adapter ok Adpt. ist wohl besser Der Screenshot ist von der Api
https://graph-eu01-euwest1.api.smartthings.com
Aber wie du schon geschrieben hast wenn der Adpt. das vom Homebridge nicht kann ... sieht es wohl schlecht aus.
Gruß
Rene -
@gfrene sagte in Homebridge-Adapter: Funktionierende Plugins und Beispiele:
Ja, Adp. ist Adapter ok Adpt. ist wohl besser
Ne Adapter ist das beste Man muss ja nicht alles abkürzen
Zum Rest: Wie oben geschrieben: Der Adapter kann nur das anzeigen was das Homebridge Plugin bereitstellt ... wenn die das nicht haben dann ists halt nicht da auch wenns die API könnte ...
-
@becksyyy
hallo, was genau ist die app_id und wie bekommt man den access_token?
ich würde gerne meine Klimaanlage von Samsung einbinden. -
Hi,
ich würde gerne das Doorbird und das Tuya LAN Plugin in iobroker nutzen.
Den HAM Adapter habe ich jetzt installiert. Wie kann ich nun die Plugins installieren?
Welcher Modus ist denn dafür am Besten geeignet? Wrapper, Global oder Lokal?
Tendenz zur Globalen, da ich dann dort alles direkt steuern, installieren und verwalten kann. Teilt ihr die Ansicht? Nutze für ioBroker einen Pi4 mit 8GB.Danke und Gruß
-
@EnoceanEltako
Wie kann ich nun die Plugins installieren?
Gib die Namen im Adapter an und dann werden die automatisch installiert (nur wenn nicht globaler Modus)
Welcher Modus ist denn dafür am Besten geeignet? Wrapper, Global oder Lokal?
Kommt darauf an.
- Global: Wenn Du schon eine globale homebridge Installation hast und die nutzen willst - dann ist Installation der Plugins auch global zu machen wie "immer". In dem Fall kannst Du Apple Home mit dem Homebridge verbinden und ioBroker hat auch die Werte
- Wrapper: Wenn du kein Homebridge für Apple Home brauchst, aber die Daten in ioBroker brauchst
- Lokal: Wenn Du ein Homebridge brauchst aber keine globale Installation hast
-
@EnoceanEltako sagte in Homebridge-Adapter: Funktionierende Plugins und Beispiele:
Tuya LAN Plugin
Warum nimmst Du nicht den Tuya adapter?
-
@apollon77
Hi besten Dank für deine Antwort. Habe die Antwort irgendwie erst jetzt gesehen.
Also ich brauche das homebridge Tuya plugin da es das "smart heater" device steuern kann. Der ioBroker Tuya Adapter kann das meines Verständnisses nach nicht.
Ich benötige homebridge aktuell nur wegen dem Tuya smart heater und um mein Doorbird in Homekit zu bekommen, ist denke ich einfacher als über YAHKA, da schon direkt alles angelegt wird, Bildübertragung, Relaissteuerung etc.. Über YAHKA bekomme ich die Doorbrid nicht konfiguriert.
Dafür sollte ich dann den Lokal Mode nutzen, oder? -
@EnoceanEltako sagte in Homebridge-Adapter: Funktionierende Plugins und Beispiele:
Der ioBroker Tuya Adapter kann das meines Verständnisses nach nicht.
Warum nicht?
Der adapter arbeitet 100% generisch