homebridge-edomoticz Plugin

Moderator: leecollings

User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post by Marci »

Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: homebridge-edomoticz Plugin

Post by deejc »

Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
simon_rb
Posts: 612
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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 :-)
fennec62
Posts: 43
Joined: Sunday 26 October 2014 22:11
Target OS: Linux
Domoticz version:
Location: france
Contact:

Re: homebridge-edomoticz Plugin

Post 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
User avatar
TheRamon
Posts: 126
Joined: Tuesday 12 July 2016 11:32
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: NL/DE
Contact:

Re: homebridge-edomoticz Plugin

Post 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.
User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post 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.
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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 !!!
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post 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..
User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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?
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post 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
User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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...?
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post 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..
User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post by Marci »

Delete and reinstall everything you'd installed prior to fixing node... Ie: reinstall homebridge from scratch.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
flippamikee
Posts: 1
Joined: Wednesday 14 September 2016 8:11
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

homebridge-edomoticz Plugin

Post 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?
User avatar
Marci
Posts: 532
Joined: Friday 22 January 2016 18:00
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: Wakefield, West Yorkshire UK
Contact:

Re: homebridge-edomoticz Plugin

Post by Marci »

Yup, works with all apps that interact with the HomeKit protocol.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
User avatar
deejc
Posts: 168
Joined: Tuesday 22 September 2015 18:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.5641
Location: UK
Contact:

Re: homebridge-edomoticz Plugin

Post 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
Domoticz 3.5641 on RPI (Raspbian GNU/Linux 8)
RduPre
Posts: 53
Joined: Thursday 11 August 2016 18:41
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: The Netherlands
Contact:

Re: homebridge-edomoticz Plugin

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest