Siri Homekit bridge issues

Moderator: leecollings

Post Reply
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Siri Homekit bridge issues

Post by alexsh1 »

Hi

There were a few changes introduced to the homebridge -> https://github.com/nfarina/homebridge
I installed the homebridge.
I was not able to install "npm install -g homebridge-legacy-plugins" with "-g" - there was an error compiling serialport.
I was only able to install it locally, i.e. "npm install homebridge-legacy-plugins"

Right now it gives the the following error:
..........
gistering platform 'homebridge-legacy-plugins.Telldus'
Registering platform 'homebridge-legacy-plugins.TelldusLive'
Registering platform 'homebridge-legacy-plugins.Wink'
Registering platform 'homebridge-legacy-plugins.YamahaAVR'
Registering platform 'homebridge-legacy-plugins.ZWayServer'
Registering platform 'homebridge-legacy-plugins.isy-js'
---
Loaded plugin: homebridge-netatmo
Registering platform 'homebridge-netatmo.netatmo'
---
Loaded config.json with 0 accessories and 1 platforms.
---
Loading 1 platforms...
[Domoticz] Initializing Domoticz platform...
Loading legacy platform Domoticz
[Domoticz] Fetching Domoticz lights and switches...
Loading 0 accessories...
[Domoticz] There was a problem connecting to Domoticz. (null)
[Domoticz] There was a problem connecting to Domoticz.

I am running Domoticz on a standard port (8080). My config.json:

Code: Select all

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:22:3D:E3:CE:30",
        "port": 51826,

        "pin": "031-45-154"
    },
    "description": "Configuration file for Domoticz platform.",
    "platforms": [
        {
            "platform": "Domoticz",
            "name": "Domoticz",
            "server": "127.0.0.1",
            "port": "8080"
        }
    ],
    "accessories": []
}
node -v : 0.12.6
gcc: 4.8.6

Your help is appreciated
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Siri Homekit bridge issues

Post by alexsh1 »

It has resolved in the latest commit:

https://github.com/nfarina/homebridge-l ... s/issues/6

serialport is now removed.
Bob123bob
Posts: 31
Joined: Monday 09 March 2015 7:35
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Siri Homekit bridge issues

Post by Bob123bob »

I tried to install homebridge new version but I got some errors

git clone https://github.com/nfarina/homebridge.git
cd homebridge
sudo npm install -g homebridge

Code: Select all

gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/4.2.1"
gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519/.node-gyp"
make: Entering directory '/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519/build'
  CXX(target) Release/obj.target/curve/node_curve.o
  SOLINK_MODULE(target) Release/obj.target/curve.node
  COPY Release/curve.node
make: Leaving directory '/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/curve25519/build'
Can you give me your steps to install it on a RPi ?
alexsh1
Posts: 169
Joined: Wednesday 30 September 2015 11:50
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8975
Location: United Kingdom
Contact:

Re: Siri Homekit bridge issues

Post by alexsh1 »

Just follow the following guide:


https://github.com/cflurin/homebridge-s ... spberry-Pi

Did you install all the dependencies?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest