Beiträge von recovery

    Sorry aber des war ein anderer fehler deswegen habe ich des neu auf gemacht.

    Habe nun denn http switch instaliert aber die homebridge ladet ihn mir nicht


    pi@raspberrypi:~ $ sudo npm i homebridge-http-switch

    /home/pi

    ??? [email protected]


    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'

    npm WARN pi No description

    npm WARN pi No repository field.

    npm WARN pi No README data

    npm WARN pi No license field.

    pi@raspberrypi:~ $ homebridge

    [6/15/2018, 12:23:49 PM] Loaded config.json with 0 accessories and 1 platforms.

    [6/15/2018, 12:23:49 PM] ---

    [6/15/2018, 12:23:49 PM] Loaded plugin: homebridge-harmonyhub

    [6/15/2018, 12:23:51 PM] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [6/15/2018, 12:23:51 PM] ---

    [6/15/2018, 12:23:51 PM] Loading 1 platforms...

    [6/15/2018, 12:23:51 PM] [HarmonyHub] Initializing HarmonyHub platform...

    [6/15/2018, 12:23:51 PM] Loading 0 accessories...

    Setup Payload:

    X-HM://0023ISYWYDICF

    Scan this code with your HomeKit app on your iOS device to pair with Homebridge:




























    Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:


    ??????????????

    ? 031-45-154 ?

    ??????????????


    [6/15/2018, 12:23:51 PM] Homebridge is running on port 51826.

    [6/15/2018, 12:23:52 PM] [HarmonyHub] Fetching Logitech Harmony activities...

    [6/15/2018, 12:23:54 PM] [HarmonyHub] Found activities:

    PowerOff

    Philips Bluetooth

    TV

    Ipad mini


    An was kann es liegen?

    Wenn ich die http sachen rauslösche geht die config wieder.


    [6/15/2018, 10:39:04 AM] Loaded config.json with 0 accessories and 1 platforms.

    [6/15/2018, 10:39:04 AM] ---

    [6/15/2018, 10:39:05 AM] Loaded plugin: homebridge-harmonyhub

    [6/15/2018, 10:39:06 AM] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [6/15/2018, 10:39:06 AM] ---

    [6/15/2018, 10:39:06 AM] Loaded plugin: homebridge-http-simple-switch

    [6/15/2018, 10:39:06 AM] Registering accessory 'homebridge-http-simple-switch.SimpleHttpSwitch'

    [6/15/2018, 10:39:06 AM] ---

    [6/15/2018, 10:39:06 AM] Loading 1 platforms...

    [6/15/2018, 10:39:06 AM] [HarmonyHub] Initializing HarmonyHub platform...

    [6/15/2018, 10:39:06 AM] Loading 0 accessories...

    Setup Payload:

    X-HM://0023ISYWYDICF

    Scan this code with your HomeKit app on your iOS device to pair with Homebridge:




























    Or enter this code with your HomeKit app on your iOS device to pair with Homebridge:


    ??????????????

    ? 031-45-154 ?

    ??????????????


    events.js:160

    throw er; // Unhandled 'error' event

    ^


    Error: bind EADDRINUSE 0.0.0.0:5224

    at Object.exports._errnoException (util.js:1022:11)

    at exports._exceptionWithHostPort (util.js:1045:20)

    at dgram.js:221:18

    at _combinedTickCallback (internal/process/next_tick.js:77:11)

    at process._tickCallback (internal/process/next_tick.js:98:9)

    at Module.runMain (module.js:606:11)

    at run (bootstrap_node.js:394:7)

    at startup (bootstrap_node.js:149:9)

    at bootstrap_node.js:509:3


    Unten stehen noch paar erros

    Hier ist meine config ist da was falsch

    {

    "bridge":{

    "name":"Homebridge",

    "username":"CC:22:3D:E3:CE:21",

    "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"

    }

    ]

    }

    HI habe meine Homebridge neu auf gesetzt alles soweit instaliert doch leider wenn ich mit sudo homebridge starten will kommt der fehler config.json (/root/.homebridge/config.json) not found.

    Wenn ich die datei dort neu anlege startet er aber ohne mir den QR code zu zeigen schaut auch ganz anders aus


    [6/15/2018, 9:25:23 AM] Loaded config.json with 11 accessories and 1 platforms.

    [6/15/2018, 9:25:23 AM] ---

    [6/15/2018, 9:25:23 AM] Loaded plugin: homebridge-harmonyhub

    [6/15/2018, 9:25:25 AM] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [6/15/2018, 9:25:25 AM] ---

    [6/15/2018, 9:25:25 AM] Loaded plugin: homebridge-http-simple-switch

    [6/15/2018, 9:25:25 AM] Registering accessory 'homebridge-http-simple-switch.Sim pleHttpSwitch'

    [6/15/2018, 9:25:25 AM] ---

    [6/15/2018, 9:25:25 AM] Loading 1 platforms...

    [6/15/2018, 9:25:25 AM] [HarmonyHub] Initializing HarmonyHub platform...

    [6/15/2018, 9:25:25 AM] Loading 11 accessories...

    /usr/lib/node_modules/homebridge/lib/api.js:64

    throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");

    ^


    Error: The requested accessory 'HTTP-SWITCH' was not registered by any plugin.

    at API.accessory (/usr/lib/node_modules/homebridge/lib/api.js:64:13)

    at Server.str.replace.Server._loadAccessories (/usr/lib/node_modules/homebri dge/lib/server.js:284:42)

    at Server.str.replace.Server.run (/usr/lib/node_modules/homebridge/lib/serve r.js:86:38)

    at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)

    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22 )

    at Module._compile (module.js:409:26)

    at Object.Module._extensions..js (module.js:416:10)

    at Module.load (module.js:343:32)

    at Function.Module._load (module.js:300:12)

    at Function.Module.runMain (module.js:441:10)

    at startup (node.js:140:18)

    at node.js:1043:3


    was kann ich machen

    Habe jetzt die config datei ihn das root verzerichniss rein nun startet er die bridge ganz anders

    [6/15/2018, 9:25:23 AM] Loaded config.json with 11 accessories and 1 platforms.

    [6/15/2018, 9:25:23 AM] ---

    [6/15/2018, 9:25:23 AM] Loaded plugin: homebridge-harmonyhub

    [6/15/2018, 9:25:25 AM] Registering platform 'homebridge-harmonyhub.HarmonyHub'

    [6/15/2018, 9:25:25 AM] ---

    [6/15/2018, 9:25:25 AM] Loaded plugin: homebridge-http-simple-switch

    [6/15/2018, 9:25:25 AM] Registering accessory 'homebridge-http-simple-switch.Sim pleHttpSwitch'

    [6/15/2018, 9:25:25 AM] ---

    [6/15/2018, 9:25:25 AM] Loading 1 platforms...

    [6/15/2018, 9:25:25 AM] [HarmonyHub] Initializing HarmonyHub platform...

    [6/15/2018, 9:25:25 AM] Loading 11 accessories...

    /usr/lib/node_modules/homebridge/lib/api.js:64

    throw new Error("The requested accessory '" + name + "' was not registered by any plugin.");

    ^


    Error: The requested accessory 'HTTP-SWITCH' was not registered by any plugin.

    at API.accessory (/usr/lib/node_modules/homebridge/lib/api.js:64:13)

    at Server.str.replace.Server._loadAccessories (/usr/lib/node_modules/homebri dge/lib/server.js:284:42)

    at Server.str.replace.Server.run (/usr/lib/node_modules/homebridge/lib/serve r.js:86:38)

    at module.exports (/usr/lib/node_modules/homebridge/lib/cli.js:40:10)

    at Object.<anonymous> (/usr/lib/node_modules/homebridge/bin/homebridge:17:22 )

    at Module._compile (module.js:409:26)

    at Object.Module._extensions..js (module.js:416:10)

    at Module.load (module.js:343:32)

    at Function.Module._load (module.js:300:12)

    at Function.Module.runMain (module.js:441:10)

    at startup (node.js:140:18)

    at node.js:1043:3


    Es kommt auhc nicht der qr code mehr zum scannen was amche ich da falsch

    Kriege aber grade meine homebridge nicht zum laufen der sagt er findet die config datei nicht

    config.json (/root/.homebridge/config.json) not found.


    was kann ich da machen

    Habe sie so erstelt

    Code
    sudo nano .homebridge/config.json

    So nun die halbe nach damit verbracht des hin zu bekommen .

    Doch nun läuft nichts mehr mein harmony plugin geht nicht mehr und ihn homkit kriege ich die homebridge auch nicht mehr rein :(

    <steht immer da gerät bereits Hinzugefügt.

    [homebridge-harmonyhub.HarmonyHub] Ignoring Harmony Platform setup because it is not configured der fehler kommt wenn ich die bridge starte

    Hier mla meine datai habe ich was falsche gemacht?

    config.json (/root/.homebridge/config.json) not found.




    {

    "bridge":{

    "name":"Homebridge",

    "username":"CC:22:3D:E3:CE:30",

    "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"

    }

    ]

    }

    Also habe nun über die config die cmd Befehle gefunden .

    Sorry das ich so blöd Frage ist alles neu für mich ?

    Mache dann ein für rauf ein für runter brauche ich suchen einen für Stopp oder wie hältst du deine an ?

    Hi danke dir erst mal also ich habe mir ein funk nach gerüstet und den als romantic beim light eingerichtet was müsste ich da ändern?

    Und hast du sie als Szene drinnen? wenn ja jeweil eine für auf und eine für runter?