Siri / HomeKit support for Domoticz

mrmmc
Posts: 4
Joined: Saturday 22 April 2017 16:53
Target OS: Linux
Domoticz version: 3.7450
Location: finland
Contact:

Re: Siri / HomeKit support for Domoticz

Post by mrmmc » Monday 15 May 2017 17:58

hellou!
dummy newbie try install homebridge...
i try read all topics but no same error found :

can somebody help ?

"[email protected]:~/homebridge$ npm install
npm WARN engine [email protected]: wanted: {"node":">=4.3.2"} (current: {"node":"0.10.25","npm":"1.4.21"})
|
> [email protected] install /home/jone/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n2
> node-gyp rebuild

/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 4.2.0-42-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/jone/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n2
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian


> [email protected] install /home/jone/homebridge/node_modules/hap-nodejs/node_modules/mdns
> node-gyp rebuild


node.js:811
var cwd = process.cwd();
^

Error: ENOENT, no such file or directory
at Function.startup.resolveArgv0 (node.js:811:23)
at startup (node.js:58:13)
at node.js:902:3
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the curve25519-n2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls curve25519-n2
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.2.0-42-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/jone/homebridge
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian


> [email protected] install /home/jone/homebridge/node_modules/hap-nodejs/node_modules/ed25519
> node-gyp rebuild

chdir(): No such file or directory
"

what i do wrong?

theo69
Posts: 70
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi
Domoticz version: la. beta
Location: World
Contact:

Re: Siri / HomeKit support for Domoticz

Post by theo69 » Thursday 08 June 2017 19:01

My homebridge was working great, after reboot my iPhone is not connecting anymore. Homebridge is running fine! Any ideas?
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki

Jorgerui74
Posts: 1
Joined: Sunday 18 June 2017 9:52
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by Jorgerui74 » Sunday 18 June 2017 10:09

I know that is a fairly simples question, but that I don't know the answer.
I have one of does cheap door (open close) sensors, If you don't bother answer this; what type you choose on domoticz? I can't manage to make it work. In domoticz the sensor works fine, and passes the information to homebridge through edomoticz. But on EVE app the status does not reflect the state.

I have it know as a door lock sensor on domoticz, but even that seem wrong on EVE app, as it shows me a switch to lock/unlock the door, nevertheless that switch never changes it state, as prior said, the state on changes in domoticz.

I think this is something related with bad configuration in domoticz.
Issue above resolved using a contact type on Domoticz


Other question that I have, if you could be so kind to answer one more doubt, is: how can I add my songs speaker to my current configuration? I have know something like this:

Code: Select all

{
    "bridge": {
        "name": "Homebridge",
        "username": "CC:21:3E:E4:DE:33",
        "port": 51826,
        "pin": "031-45-154"
    },
    "description": "Configuration file for (e)xtended Domoticz platform.",
    "platforms": [
        {
            "platform": "eDomoticz",
            "name": "eDomoticz",
            "server": "127.0.0.1",
            "port": "8080",
            "ssl": 0,
            "roomid": 0,
            "mqtt": 0
        }
    ],
    "accessories": []
}
Is almost the same thing that you have.

tillo
Posts: 24
Joined: Monday 01 May 2017 20:15
Target OS: Raspberry Pi
Domoticz version: 3.8153
Contact:

Re: Siri / HomeKit support for Domoticz

Post by tillo » Tuesday 05 September 2017 8:45

Hi I have the same problem as mrmmc
hellou!
dummy newbie try install homebridge...
i try read all topics but no same error found :

can somebody help ?

"[email protected]:~/homebridge$ npm install
npm WARN engine [email protected]: wanted: {"node":">=4.3.2"} (current: {"node":"0.10.25","npm":"1.4.21"})
|
> [email protected] install /home/jone/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n2
> node-gyp rebuild

/bin/sh: 1: node: not found
gyp: Call to 'node -e "require('nan')"' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:344:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Linux 4.2.0-42-generic
gyp ERR! command "nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/jone/homebridge/node_modules/hap-nodejs/node_modules/curve25519-n2
gyp ERR! node -v v0.10.25
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian


> [email protected] install /home/jone/homebridge/node_modules/hap-nodejs/node_modules/mdns
> node-gyp rebuild


node.js:811
var cwd = process.cwd();
^

Error: ENOENT, no such file or directory
at Function.startup.resolveArgv0 (node.js:811:23)
at startup (node.js:58:13)
at node.js:902:3
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the curve25519-n2 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls curve25519-n2
npm ERR! There is likely additional logging output above.
npm ERR! System Linux 4.2.0-42-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/jone/homebridge
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian


> [email protected] install /home/jone/homebridge/node_modules/hap-nodejs/node_modules/ed25519
> node-gyp rebuild

chdir(): No such file or directory
"

what i do wrong?

User avatar
gielie
Posts: 180
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Siri / HomeKit support for Domoticz

Post by gielie » Thursday 07 September 2017 9:52

theo69 wrote:
Thursday 08 June 2017 19:01
My homebridge was working great, after reboot my iPhone is not connecting anymore. Homebridge is running fine! Any ideas?
I have the same problem, Homebridge had been working great for some time now and suddenly it stopped working on my phone. When i check my pi with domoticz on it, it runs fine without any errors i just cant connect with my phone again.

Im gonna try to reinstall this weekend.
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

theo69
Posts: 70
Joined: Sunday 04 June 2017 12:57
Target OS: Raspberry Pi
Domoticz version: la. beta
Location: World
Contact:

Re: Siri / HomeKit support for Domoticz

Post by theo69 » Monday 11 September 2017 22:39

gielie wrote:
Thursday 07 September 2017 9:52
theo69 wrote:
Thursday 08 June 2017 19:01
My homebridge was working great, after reboot my iPhone is not connecting anymore. Homebridge is running fine! Any ideas?
I have the same problem, Homebridge had been working great for some time now and suddenly it stopped working on my phone. When i check my pi with domoticz on it, it runs fine without any errors i just cant connect with my phone again.

Im gonna try to reinstall this weekend.
mine working great since 2 month now
Love my Xiaomi Gateway in connection with homebridge and domoticz on my PI3
Xiaomi Gateway Domoticz Wiki

User avatar
solidum90
Posts: 35
Joined: Tuesday 01 August 2017 20:59
Target OS: NAS (Synology & others)
Domoticz version: Debian
Location: Milan
Contact:

Re: Siri / HomeKit support for Domoticz

Post by solidum90 » Tuesday 12 September 2017 11:43

Hello to everyone,
I'm delighted to use this great plugin ;)

Now i'm "studing" a way to command Siri from anywhere in the home, did you find any way (for example Sonos speakers, etc..) ?
Because probably no bluetooth speaker I currently have (Aukey, TaoTronics, amazon stuff ..) it's compatible with Siri,
but even if they had been, I would never have managed to control Siri from any room.

I was thinking to byuy a smartwatch that coupled to my iphone would allow me to extend Siri, do you know someone cheap enough (50-100 €)?
According to you is a good solution?


Thanks to everyone :)

vespino
Posts: 14
Joined: Tuesday 05 August 2014 14:41
Target OS: Linux
Domoticz version:

Re: Siri / HomeKit support for Domoticz

Post by vespino » Saturday 09 December 2017 21:37

Anyone have this running on a synology diskstation? I got it running on a RPI a few months ago, but why keep those things around when "we have an app for that"?

febalci
Posts: 155
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by febalci » Saturday 09 December 2017 22:47

Using homebridge on synology 916+ as a docker container successfully since 6 months without problems.

vespino
Posts: 14
Joined: Tuesday 05 August 2014 14:41
Target OS: Linux
Domoticz version:

Re: Siri / HomeKit support for Domoticz

Post by vespino » Sunday 10 December 2017 7:55

I would like to do it without using docker. Is that possible?

febalci
Posts: 155
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Siri / HomeKit support for Domoticz

Post by febalci » Sunday 10 December 2017 11:27

I was unsuccessful trying that on synology thats why i am usşng docker.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests