Was genau meinst du?
Ihn der Homekit ab als schalter ?
Was genau meinst du?
Ihn der Homekit ab als schalter ?
Muss ich vileicht irgend was noch wegen den GET im Lightmanager einstellen?
{
"bridge":{
"name":"Homebridge",
"username":"CC:22:3D:E3:CE:31",
"port":51826,
"pin":"031-45-154"
},
"accessories":[
{
"accessory":"HTTP-SWITCH",
"name":"Lava Lampe",
"switchType":"stateful",
"httpMethod": "GET",
"onUrl":"'http://192.168.178.23/control?cmd=on,typ,it,did,0C86,aid,4,acmd,1,seq,6&id=4/api/switchOn'",
"offUrl":"'http://192.168.178.23/control?cmd=off,typ,it,did,0C86,aid,4,acmd,0,seq,6&id=4/api/switchOff'"
},
{
"accessory":"HTTP-SWITCH",
"name":"Wohnzimmer Lampe",
"switchType":"stateful",
"httpMethod": "GET",
"onUrl":"'http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,8,10,A,10,A,10,8,8,12,8,10,8,12,10,A,10,8,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,8,8,12,6,12,8,12,10,A,E,A,8,12,10,8,10,A,128,8,12,8,10,A,10,8,12,8,8,12,6,14,6,12,10,A,E,A,8,12,10,A,E,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,A,10,8,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,10,12,8,10,A&id=6/api/switchOn'",
"offUrl":"'http://192.168.178.23/control?cmd=off,typ,ir,seq,0,dta,A,10,A,E,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,10,A,E,A,128,A,10,A,E,A,10,A,E,A,8,12,6,14,6,12,10,A,6,12,10,A,10,8,10,A,128,A,E,A,10,A,10,A,E,A,8,12,6,14,6,12,10,A,6,12,10,A,10,A,E,A,128,A,E,A,10,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,10,A,E,A,128,A,10,A,E,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,E,A,10,A,128,A,E,A,10,A,10,A,E,A,8,12,6,14,6,12,10,8,8,12,10,A,10,8,10,A&id=8/api/switchOff'"
},
{
"accessory":"HTTP-SWITCH",
"name":"Wohnzimeer Lampe Wechsel",
"switchType":"stateless",
"timeout":1500,
"onUrl":"http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,8,10,A,10,A,10,8,8,12,8,10,8,12,10,A,10,8,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,8,8,12,6,12,8,12,10,A,E,A,8,12,10,8,10,A,128,8,12,8,10,A,10,8,12,8,8,12,6,14,6,12,10,A,E,A,8,12,10,A,E,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,A,10,8,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,10,12,8,10,A&id=6"
},
{
"accessory":"HTTP-SWITCH",
"name":"Wohnzimmer Led",
"switchType":"stateless",
"timeout":1500,
"onUrl":"http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,A,E,A,10,A,10,8,8,12,8,12,6,12,10,A,6,12,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,A,6,12,8,12,6,12,10,A,6,14,6,12,10,A,E,A,128,A,10,A,E,A,10,A,10,8,8,12,8,12,6,12,10,A,6,14,6,12,10,A,10,8,128,A,10,A,E,A,10,A,10,A,6,12,8,12,6,12,10,A,8,12,6,12,10,A,10,8,128,A,10,A,10,8,10,A,10,A,6,12,8,12,6,14,E,A,6,14,6,12,10,A,10,8,128,A,10,A,E,A,10,A,10,A,6,12,8,12,6,12,10,A,8,12,6,12,10,A,10,A&id=9"
},
{
"accessory":"HTTP-SWITCH",
"name":"Led Leiste",
"switchType":"stateful",
"httpMethod": "GET",
"onUrl":"'http://192.168.178.23/control?cmd=on,typ,it,did,0C06,aid,1,acmd,1,seq,6&id=1/api/switchOn'",
"offUrl":"'http://192.168.178.23/control?cmd=off,typ,it,did,0C06,aid,1,acmd,0,seq,6&id=1/api/switchOff'"
},
Ne dann kommt bei dem Keine Antwort ihn der Homekit App wenn ich es so eingebe
Ja sie gehen im Browser mit "api/switchOn" und ohne dem gehen beide
Kann mir da keiner helfen?
Habe es auch so Probeirt geht auch nicht
"accessory":"HTTP-SWITCH",
"name":"Lava Lampe",
"switchType":"stateful",
"httpMethod": "GET",
"onUrl":"http://192.168.178.23/control?cmd=on,typ,it,did,0C86,aid,4,acmd,1,seq,6&id=4/api/switchOn",
"offUrl":"http://192.168.178.23/control?cmd=off,typ,it,did,0C86,aid,4,acmd,0,seq,6&id=4/api/switchOff"
Ja habe ich wenn ich es aber so eingebe steht ihne der homekit app keine antwort auf die Lampe
"accessory":"HTTP-SWITCH",
"name":"Wohnzimmer Lampe",
"switchType":"stateful",
"timeout":1500,
"onUrl":"http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,8,10,A,10,A,10,8,8,12,8,10,8,12,10,A,10,8,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,8,8,12,6,12,8,12,10,A,E,A,8,12,10,8,10,A,128,8,12,8,10,A,10,8,12,8,8,12,6,14,6,12,10,A,E,A,8,12,10,A,E,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,A,10,8,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,10,12,8,10,A&id=6",
"offUrl":"http://192.168.178.23/control?cmd=off,typ,ir,seq,0,dta,A,10,A,E,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,10,A,E,A,128,A,10,A,E,A,10,A,E,A,8,12,6,14,6,12,10,A,6,12,10,A,10,8,10,A,128,A,E,A,10,A,10,A,E,A,8,12,6,14,6,12,10,A,6,12,10,A,10,A,E,A,128,A,E,A,10,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,10,A,E,A,128,A,10,A,E,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,E,A,10,A,128,A,E,A,10,A,10,A,E,A,8,12,6,14,6,12,10,8,8,12,10,A,10,8,10,A&id=8"
K werde ich mal rein schauen danke dir für deine Hilfe .
Habe nun den harmony hub deinstalliert doch leider ist ihn meiner Home app immer noch der tv drinnen wie kriegt man den da gelöscht ?
Und wie kriege iches hin das des icon an bleibt wenn ich meine lampe ihn der Homekit app einschalte und aus geht wenn ich sie auschalte?
Habe die onurl und off url eingetragen doch leider geht sie dann nur an nicht aus
Glaube es geht über statusurl aber was genau muss ich da eintragen?
Und noch eine fraqe hätte ich zum plugin http-switch kann man da eine einstellung so machen das er ein on befehl 3 mal Sendet ?
Weil ich eine funk lampe habe und ich 3 mal drücken muss das ich auf die leds komme würde des gern mit ein befehl machen.
Ok dann werde ich es löschen gibt es alternative ein plugin für dreambox ?
Gibt es da keine Lösung ?
So habe es nun ohne Die ip gemacht er erkennt ihn auch aber stürzt immer noch ab diesmal kommen die fehler.
errorhub { [Error: connect EHOSTUNREACH 192.168.178.41:5222]
code: 'EHOSTUNREACH',
errno: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.178.41',
port: 5222 }
events.js:141
throw er; // Unhandled 'error' event
^
Error: MAX_CLIENTS=6
at Connection.onStanza (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:355:17)
at StreamParser.<anonymous> (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:226:10)
at emitOne (events.js:77:13)
at StreamParser.emit (events.js:169:7)
at SaxLtx.<anonymous> (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:58:14)
at emitOne (events.js:77:13)
at SaxLtx.emit (events.js:169:7)
at SaxLtx._handleTagOpening (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:31:18)
at SaxLtx.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:105:26)
at StreamParser.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/StreamParser.js:123:17)
at Connection.onData (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core/lib/Connection.js:305:17)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:540:20)
Ok und wie weiß dann die bridge wie sie auf den hub zu greifen kann ?
Habe jetzt mal laufen lassen und geschaut was für fehler kommen die sind dann drinnen ihn der Hombridge
errorhub { [Error: MAX_CLIENTS=6]
stanza:
Stanza {
name: 'stream:error',
parent: null,
children: [ [Object], [Object] ],
attrs: { 'xmlns:stream': 'http://etherx.jabber.org/streams' } } }
events.js:141
throw er; // Unhandled 'error' event
^
Error: MAX_CLIENTS=6
at Connection.onStanza (/usr/lib/node_modules/homebridge-harmonyhub/node_mod ules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-co re/lib/Connection.js:355:17)
at StreamParser.<anonymous> (/usr/lib/node_modules/homebridge-harmonyhub/nod e_modules/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xm pp-core/lib/Connection.js:226:10)
at emitOne (events.js:77:13)
at StreamParser.emit (events.js:169:7)
at SaxLtx.<anonymous> (/usr/lib/node_modules/homebridge-harmonyhub/node_modu les/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-cor e/lib/StreamParser.js:58:14)
at emitOne (events.js:77:13)
at SaxLtx.emit (events.js:169:7)
at SaxLtx._handleTagOpening (/usr/lib/node_modules/homebridge-harmonyhub/nod e_modules/harmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:31:18)
at SaxLtx.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modules/ha rmonyhubjs-client/node_modules/ltx/lib/parsers/ltx.js:105:26)
at StreamParser.write (/usr/lib/node_modules/homebridge-harmonyhub/node_modu les/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-cor e/lib/StreamParser.js:123:17)
at Connection.onData (/usr/lib/node_modules/homebridge-harmonyhub/node_modul es/harmonyhubjs-client/node_modules/node-xmpp-client/node_modules/node-xmpp-core /lib/Connection.js:305:17)
at emitOne (events.js:82:20)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)
at TCP.onread (net.js:540:20)
hier meine config
{
"bridge":{
"name":"Homebridge",
"username":"CC:22:3D:E3:CE:31",
"port":51826,
"pin":"031-45-154"
},
"accessories":[
{
"accessory": "HTTP-SWITCH",
"name": "Lava Lampe",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=toggle,typ,it,did,0C86,aid,4,acmd,2,seq,6&id=4"
},
{
"accessory": "HTTP-SWITCH",
"name": "Wohnzimmer Lampe An",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,8,10,A,10,A,10,8,8,12,8,10,8,12,10,A,10,8,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,8,8,12,6,12,8,12,10,A,E,A,8,12,10,8,10,A,128,8,12,8,10,A,10,8,12,8,8,12,6,14,6,12,10,A,E,A,8,12,10,A,E,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,A,10,8,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,10,12,8,10,A&id=6"
},
{
"accessory": "HTTP-SWITCH",
"name": "Wohnzimmer Lampe Aus",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=off,typ,ir,seq,0,dta,A,10,A,E,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,10,A,E,A,128,A,10,A,E,A,10,A,E,A,8,12,6,14,6,12,10,A,6,12,10,A,10,8,10,A,128,A,E,A,10,A,10,A,E,A,8,12,6,14,6,12,10,A,6,12,10,A,10,A,E,A,128,A,E,A,10,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,10,A,E,A,128,A,10,A,E,A,10,A,E,A,8,12,6,12,8,12,10,A,6,12,10,A,E,A,10,A,128,A,E,A,10,A,10,A,E,A,8,12,6,14,6,12,10,8,8,12,10,A,10,8,10,A&id=8"
},
{
"accessory": "HTTP-SWITCH",
"name": "Wohnzimeer Lampe Wechsel",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,8,10,A,10,A,10,8,8,12,8,10,8,12,10,A,10,8,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,8,8,12,6,12,8,12,10,A,E,A,8,12,10,8,10,A,128,8,12,8,10,A,10,8,12,8,8,12,6,14,6,12,10,A,E,A,8,12,10,A,E,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,A,10,8,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,12,10,8,10,A,128,A,10,8,10,A,10,8,10,A,8,12,6,12,8,12,10,8,10,A,8,10,12,8,10,A&id=6"
},
{
"accessory": "HTTP-SWITCH",
"name": "Wohnzimmer Led",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,A,10,A,E,A,10,A,10,8,8,12,8,12,6,12,10,A,6,12,8,12,10,A,10,8,128,A,10,A,E,A,10,A,10,A,6,12,8,12,6,12,10,A,6,14,6,12,10,A,E,A,128,A,10,A,E,A,10,A,10,8,8,12,8,12,6,12,10,A,6,14,6,12,10,A,10,8,128,A,10,A,E,A,10,A,10,A,6,12,8,12,6,12,10,A,8,12,6,12,10,A,10,8,128,A,10,A,10,8,10,A,10,A,6,12,8,12,6,14,E,A,6,14,6,12,10,A,10,8,128,A,10,A,E,A,10,A,10,A,6,12,8,12,6,12,10,A,8,12,6,12,10,A,10,A&id=9"
},
{
"accessory": "HTTP-SWITCH",
"name": "Led Leiste",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=toggle,typ,it,did,0C06,aid,1,acmd,2,seq,6&id=1"
},
{
"accessory": "HTTP-SWITCH",
"name": "Led Leiste Rot",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,B4,58,C,A,C,A,E,8,E,A,C,A,C,A,C,A,C,A,C,20,E,1E,E,20,C,20,C,20,E,1E,E,20,C,20,C,A,C,A,E,8,E,20,C,20,C,A,C,20,E,8,E,20,C,20,C,20,E,8,E,8,E,20,C,A,C,20,E,314,B2,2C,C&id=11"
},
{
"accessory": "HTTP-SWITCH",
"name": "Led Leiste Grün",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=on,typ,ir,seq,0,dta,B4,58,C,A,C,A,C,A,E,8,E,8,E,A,C,A,C,A,C,20,C,20,E,1E,E,20,C,20,C,20,E,20,C,20,C,20,C,A,E,8,E,20,C,20,C,A,C,20,E,8,E,8,E,20,C,20,C,A,E,8,C,20,E,A,C,20,C,314,B4,2C,C&id=10"
},
{
"accessory": "HTTP-SWITCH",
"name": "Küche Rollo Runter",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=down%20long,typ,rom,did,61061BF1,acmd,6,seq,4&id=14"
},
{
"accessory": "HTTP-SWITCH",
"name": "Küchen Rollo Rauf",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=up%20long,typ,rom,did,61061BF1,acmd,5,seq,4&id=14"
},
{
"accessory": "HTTP-SWITCH",
"name": "Küchen Rollo Stop",
"switchType": "stateless",
"timeout": 1500,
"onUrl": "http://192.168.178.23/control?cmd=stop,typ,rom,did,61061BF1,acmd,1,seq,4&id=14"
}
],
"platforms":[
{
"platform":"HarmonyHub",
"name":"HarmonyHub",
"ip_addresse":"192.168.178.41"
}
]
}
Wie kann ich die log aus lesen meine Homebridge stürzt immer ab läuft ne zeit lang und dann ist sie off
So habe es jetzt noch mla Probiert alles nue auf gesetzt und siehe da es ging endlich ich danke euch noch mal sehr für eure hilfe und gedult.
Großen dank an SPY habe jetzt noch eine fraage soweit läuft alles aber die error habe ich sind die schlimm?
Error: bind EADDRINUSE 0.0.0.0:5224
at Object.exports._errnoException (util.js:907:11)
at exports._exceptionWithHostPort (util.js:930:20)
at dgram.js:214:18
at nextTickCallbackWith3Args (node.js:522:9)
at process._tickCallback (node.js:428:17)
at Function.Module.runMain (module.js:443:11)
at startup (node.js:140:18)
at node.js:1043:3
Hi also der http plugin geht soweit meine lampe wird gefunden doch leider passiert nix wenn ich drauf drücke habe sie so eingestellt
"accessory":"Http",
"name":"Lava Lampe",
"switchHandling": "realtime",
"onUrl":"http://192.168.178.23/control?cmd=on,typ,it,did,0C86,aid,4,acmd,1,seq,6&id=4",
"off_url": "http://192.168.178.23/control?cmd=off,typ,it,did,0C86,aid,4,acmd,0,seq,6&id=4"
An was könnte es liegen
Ok werde es mal probieren welche Befehle Brauch ich alle für den Lightmanager
oder mit dem plugin Multi Switch?
Würde es vielleicht auch mit dem plugin http simpel Switch gehen weil des geht installieren ?