Tellstick Net <--> Homebridge
Posted: Fri Mar 17, 2023 9:45 am
I am new to Linux and very new to Raspberry, so treat me gently
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 api.telldus.com is inserted into CONFIG.JSON
Have to admitt , not 100% sure that config.json are being correct so I add the configuration:
~/.homebridge/config.json
**
{
"bridge":
{ "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
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 api.telldus.com is inserted into CONFIG.JSON
Have to admitt , not 100% sure that config.json are being correct so I add the configuration:
~/.homebridge/config.json
**
{
"bridge":
{ "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