diff --git a/app.js b/app.js index 3a8d1fb..d572ce9 100644 --- a/app.js +++ b/app.js @@ -15,7 +15,7 @@ var first_run = false var roon = new RoonApi({ extension_id: 'dk.hagenjohansen.roontradfri', display_name: "Roon Tradfri", - display_version: "0.0.6", + display_version: "0.0.7", publisher: 'Hasse Hagen Johansen', email: 'hasse-roon@hagenjohansen.dk', website: 'https://github.com/HasseJohansen/roon-extension-ikea-tradfri', diff --git a/connection.js b/connection.js index 035e22a..e9268ce 100644 --- a/connection.js +++ b/connection.js @@ -16,7 +16,7 @@ async function getConnection(gwcode) { } console.log( "Connecting to", gateway.host) - const tradfri = new TradfriClient(gateway.host) + const tradfri = new TradfriClient(gateway.addresses[0]) if( !conf.has( 'security.identity' ) || !conf.has('security.psk' ) ) { let securityCode = gwcode diff --git a/package.json b/package.json index 1aec910..6520b4c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "roon-extension-ikea-tradfri", - "version": "0.0.6", + "version": "0.0.7", "description": "Roon Extension for switching IKEA Trådfri smart switches", "main": "app.js", "author": "Hasse Hagen Johansen",