Tellstick Net <--> Homebridge

Moderator: Telldus

Tellstick Net <--> Homebridge

Postby lenjak » Fri Jan 06, 2017 11:12 am

I am new to Linux and very new to Raspberry, so treat me gently :D

On my new Raspberry Pi 3 (jessie) I am trying to install homebridge in order to integrate to Apples homekit
Struggled with CONFIG.JSON for awhile but I "think" it is correct now

However, when starting homebridge I get the following error:

[1/6/2017, 10:18:17 AM] Loaded plugin: homebridge-applescript
[1/6/2017, 10:18:18 AM] Registering accessory 'homebridge-applescript.Applescript'
[1/6/2017, 10:18:18 AM] ---
[1/6/2017, 10:18:18 AM] Loaded plugin: homebridge-telldus
[1/6/2017, 10:18:18 AM] Registering platform 'homebridge-telldus.Telldus'
[1/6/2017, 10:18:18 AM] ---
[1/6/2017, 10:18:18 AM] Loaded config.json with 0 accessories and 1 platforms.
[1/6/2017, 10:18:18 AM] ---
[1/6/2017, 10:18:18 AM] Loading 1 platforms...
[1/6/2017, 10:18:18 AM] [Telldus Live!] Initializing Telldus platform...
[1/6/2017, 10:18:18 AM] [Telldus Live!] Loading accessories...
[1/6/2017, 10:18:18 AM] Loading 0 accessories...
[1/6/2017, 10:18:19 AM] [Telldus Live!] undefined
Unhandled rejection (<{"statusCode":401,"data":"{\"error\":\...>, no stack trace)
Could it be that Telldus Live! is refusing the connection? "unauthorised"?

Nodejs is the latest, v7.4.0. Is that to new?
The keys from is inserted into CONFIG.JSON

Have to admitt :-), not 100% sure that config.json are being correct so I add the configuration:

{ "name": "Homebridge",
"username": "CC:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154" },

"description": "LJ Homebridge",

"accessories": [],

"platforms": [
{ "platform": "Telldus",
"name" : "Telldus Live!",
"public_key": "xxx",
"private_key": "xxx",
"token": "xxx",
"token secret": "xxx",
"unknown_accessories": [

{ "id": 13636850,
"model": "selflearning-switch",
"manufacturer": "Nexa",
"name": "LJ-Rum" },

{ "id": 8829256,
"model": "selflearning-dimmer",
"manufacturer": "Nexa",
"name": "Dim1" },

{ "id": 135,
"model": "temperaturehumidity",
"manufacturer": "Proove",
"name": "LJ-Hemma" }



All ideas on howto fix it or debug it would be appreciated ! But remeber, I am new to this, keep it simple
Posts: 6
Joined: Fri Mar 18, 2016 10:21 am

Re: Tellstick Net <--> Homebridge

Postby Pararo » Mon May 01, 2017 6:01 pm

I'm having the exact same issue - Unhandled rejection (<{"statusCode":401,"data":"{\"error\":\...>, no stack trace).

It works flawlessy on my old Raspberry Pi Model B+ that uses older version of Raspbian and node.js. Anyone else having the same issue or a possible solution?
Posts: 9
Joined: Sat Oct 05, 2013 5:26 pm

Re: Tellstick Net <--> Homebridge

Postby magner » Mon Jun 05, 2017 1:46 pm

I had the same issue, and it solved is self when updating keys and tokens to the ones from
(I was using my apps keys...)

Magne Roald
Telldus app:
Posts: 16
Joined: Sun Jul 24, 2016 12:02 pm

Re: Tellstick Net <--> Homebridge

Postby lenjak » Tue Jun 13, 2017 7:39 am

Thanx for your input Magne

I did use the keys generated at --> "Generate a private token for my user only"

I get the same keys every time I "Generate". Which I guess is fine

Are we talking abou the same keys?

I did reenter the keys but with the same fault
Without config.json, homebridge starts OK. So it appears that it is something within that file

For me this is "winter project", so in the dark, cold November I will dig into problem solving again :D

Posts: 6
Joined: Fri Mar 18, 2016 10:21 am

Return to Linux

Who is online

Users browsing this forum: No registered users and 3 guests