Hjälp! Trådfri Raspberry Pi

Permalänk
Medlem

Hjälp! Trådfri Raspberry Pi

Hej,

Behöver lite hjälp vad gör jag för fel, försöker skapa en homebridge på min RPI2 för IKEA Trådfri lampor men får dock inte riktigt till det. Vill lägga till att jag är 100% amatör aldrig haft och göra med Linux tidigare.

Så ser min config.json ut:

{
"bridge": {
"name": "IkeaTradfri",
"username": "Min MAC adress",
"psk": "Mitt lösen ord"
},

"platforms": [{
"platform": "IkeaTradfri"
}],

"accessories": []
}

Får upp detta fel meddelande:

pi@raspberrypi:~ $ homebridge
*** WARNING *** The program 'nodejs' 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=nodejs>
*** WARNING *** The program 'nodejs' 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=nodejs&f=DNSSer...>
[11/2/2017, 1:06:09 AM] Loaded plugin: homebridge-tradfri-plugin
[11/2/2017, 1:06:09 AM] Registering platform 'homebridge-tradfri.IkeaTradfri'
[11/2/2017, 1:06:09 AM] ---
[11/2/2017, 1:06:09 AM] Loaded config.json with 0 accessories and 1 platforms.
[11/2/2017, 1:06:09 AM] ---
[11/2/2017, 1:06:09 AM] Loading 1 platforms...
[11/2/2017, 1:06:09 AM] [IkeaTradfri] Initializing IkeaTradfri platform...
/usr/lib/node_modules/homebridge-tradfri-plugin/index.js:3383
throw new Error('[Coap Client] You must specify a valid host!');
^

Error: [Coap Client] You must specify a valid host!
at new Coap (/usr/lib/node_modules/homebridge-tradfri-plugin/index.js:3383:13)
at new TradfriPlatform (/usr/lib/node_modules/homebridge-tradfri-plugin/index.js:3872:17)
at Server._loadPlatforms (/usr/lib/node_modules/homebridge/lib/server.js:303:32)
at Server.run (/usr/lib/node_modules/homebridge/lib/server.js:85:36)
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:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)

Visa signatur

AMD 7800X3D | ASUS TUF X670E-PLUS | Corsair Vengeance DDR5 32GB EXPO | ASUS TUF 4090 OC 24GB |
Noctua NH-U12A | Corsair 4000D | Corsair AX1200W | Steelseries Apex 7 | Steelseries Sensei Ten | ASUS VG35VQ

https://github.com/Mariusz89B