Page 35 of 86

Re: homebridge-edomoticz Plugin

Posted: Saturday 10 September 2016 13:11
by Marci

Re: homebridge-edomoticz Plugin

Posted: Saturday 10 September 2016 20:16
by deejc

Re: homebridge-edomoticz Plugin

Posted: Sunday 11 September 2016 2:13
by simon_rb
Well there you go! Lol. Might add to my collection lol, deejc, is the PIR working well? Marci, no worries mate - work comes first :-) what an interesting job :-)

Re: homebridge-edomoticz Plugin

Posted: Sunday 11 September 2016 10:30
by fennec62
hi

i search a plugin to have a motion sensor on homebridge and have push alert with image

i find homebridge-filesensor but don't work

I have zoneminder so i can save a image on folder when i have a motion detection

in homekit is it posssible to send image ?

Thanks a lot

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 15:07
by TheRamon
Alright guys, back again. Soz was away for a while, having my vacation and all :mrgreen:

Any hot issues that need fixing?

I've seen that there's a LOT of work been done, nice one Marci! So nice.

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 18:38
by Marci
fennec62 wrote:hi

i search a plugin to have a motion sensor on homebridge and have push alert with image

i find homebridge-filesensor but don't work

I have zoneminder so i can save a image on folder when i have a motion detection

in homekit is it posssible to send image ?

Thanks a lot
Nope, not until iOs10 is released and KhaosT has sorted support for it in HAP-NodeJS & Homebridge, which won't happen til end of the year.

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 21:24
by RduPre
Hi,

I installed a fresh version of Domoticz and installed the HomeKit integration as described in the first post.

I just get an error "Illegal instruction"

pi@raspberrypi:/$ homebridge
Illegal instruction
pi@raspberrypi:/$

I saw some post on this error, but did not found a solution :oops:

Any help would be appreciated.

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 21:28
by deejc
TheRamon wrote: Any hot issues that need fixing?
It's all been quiet lol you should have stayed on holiday Image


Sent from my iPhone using Tapatalk

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 21:45
by deejc
simon_rb wrote:deejc, is the PIR working well?
Not exactly lol, I set it up to send a prowl msg and email me if it goes off and the back door is closed, today in the sunshine I got 240 emails !!!

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 22:09
by Marci
RduPre wrote:Hi,

I installed a fresh version of Domoticz and installed the HomeKit integration as described in the first post.

I just get an error "Illegal instruction"

pi@raspberrypi:/$ homebridge
Illegal instruction
pi@raspberrypi:/$

I saw some post on this error, but did not found a solution :oops:

Any help would be appreciated.
What happens when you run...

Code: Select all

node -v

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 22:51
by RduPre
Marci wrote:
RduPre wrote:Hi,

I installed a fresh version of Domoticz and installed the HomeKit integration as described in the first post.

I just get an error "Illegal instruction"

pi@raspberrypi:/$ homebridge
Illegal instruction
pi@raspberrypi:/$

I saw some post on this error, but did not found a solution :oops:

Any help would be appreciated.
What happens when you run...

Code: Select all

node -v
Same error..

Re: homebridge-edomoticz Plugin

Posted: Monday 12 September 2016 23:03
by Marci
Sounds like you haven't recompiled node for Arm6, using an Arm7 image...

What version Pi are you running on, with what version of Raspbian?

Re: homebridge-edomoticz Plugin

Posted: Tuesday 13 September 2016 7:33
by RduPre
Marci wrote:Sounds like you haven't recompiled node for Arm6, using an Arm7 image...

What version Pi are you running on, with what version of Raspbian?
Linux raspberrypi 4.1.18+ #846 Thu Feb 25 14:11:56 GMT 2016 armv6l GNU/Linux

pi@raspberrypi:/$ cat /proc/cpuinfo
processor : 0
model name : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 2.00
Features : half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7

Hardware : BCM2708
Revision : 000e
Serial : 0000000065b6354e

Re: homebridge-edomoticz Plugin

Posted: Tuesday 13 September 2016 8:20
by Marci

Code: Select all

sudo apt-get remove nodejs
sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*} 
sudo rm -rf /var/db/receipts/org.nodejs.*
hash -r
wget https://nodejs.org/dist/latest-v6.x/node-v6.3.1-linux-armv6l.tar.gz
tar -xvf node-v6.3.1-linux-armv6l.tar.gz
cd node-v6.3.1-linux-armv6l
sudo cp -R * /usr/local/
Did you perform the above steps as per first post...?

Re: homebridge-edomoticz Plugin

Posted: Tuesday 13 September 2016 9:44
by RduPre
Marci wrote:

Code: Select all

sudo apt-get remove nodejs
sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*} 
sudo rm -rf /var/db/receipts/org.nodejs.*
hash -r
wget https://nodejs.org/dist/latest-v6.x/node-v6.3.1-linux-armv6l.tar.gz
tar -xvf node-v6.3.1-linux-armv6l.tar.gz
cd node-v6.3.1-linux-armv6l
sudo cp -R * /usr/local/
Did you perform the above steps as per first post...?
I did that (with a newer version;6.5.0) but I guess something went wrong.
Did it again and now where getting somewhere :-)

Now I get these errors when I start HomeBridge.

Code: Select all

homebridge
/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:35
    throw ex;
    ^

Error: Module version mismatch. Expected 48, got 46.
    at Error (native)
    at Object.Module._extensions..node (module.js:583:18)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)
    at Function.Module._load (module.js:424:3)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/lib/node_modules/homebridge/node_modules/hap-nodejs/node_modules/mdns/lib/dns_sd.js:24:20)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
Thanks for your help so far..

Re: homebridge-edomoticz Plugin

Posted: Tuesday 13 September 2016 17:54
by Marci
Delete and reinstall everything you'd installed prior to fixing node... Ie: reinstall homebridge from scratch.

homebridge-edomoticz Plugin

Posted: Wednesday 14 September 2016 8:14
by flippamikee
New to the Domoticz world. Before i get in to this i wanted to know if its possible to work with the new homekit app on the iphone with this plugin?

Re: homebridge-edomoticz Plugin

Posted: Wednesday 14 September 2016 8:32
by Marci
Yup, works with all apps that interact with the HomeKit protocol.

Re: homebridge-edomoticz Plugin

Posted: Wednesday 14 September 2016 14:52
by deejc
Sooooooo iOS 10 and home app seem to be working for most of my stuff watch os3 seems to work ok with all as well


Sent from my iPhone using Tapatalk

Re: homebridge-edomoticz Plugin

Posted: Thursday 15 September 2016 21:39
by RduPre
Marci wrote:Delete and reinstall everything you'd installed prior to fixing node... Ie: reinstall homebridge from scratch.
Got it working now :-)

Thanks.