SHARE
TWEET

Untitled

a guest Jun 9th, 2015 142 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. For Synology users, I've successfully been able to run the package with the provided instructions. So my understanding of this (I'm no expert) is that we're running a debian "session" where we'll install VeraHomeKitBridge:
  2.  
  3. -  Install the following packages from the SynoCommunity repository:
  4.    > Python
  5.    > Debian Chroot
  6. -  Run Debian Chroot and wait status: Installed. If it doesn't happen, reboot your DS
  7. -  Open Control Panel Synology and go to Terminal / SNMP. Tick SSH to it.
  8. -  Open SSH terminal session, login with root@yourDSnameOrIP and password of your Admin account from Synology.
  9. -  Enter the following commands via SSH session:
  10.  
  11.            /var/packages/debian-chroot/scripts/start-stop-status chroot
  12.  
  13.  
  14.         This will open a new root session. Configuring Debian Chroot locales:
  15.  
  16.                 /var/packages/debian-chroot/scripts/start-stop-status chroot
  17.                 aptitude update
  18.                 aptitude upgrade
  19.                 aptitude install locales
  20.                 dpkg-reconfigure locales
  21.                   > select there whateverYourLanguageIS.UTF-8 UTF-8 (scroll with the arrow key) and go to OK (Tab key) (enter) -> I chose C.UTF-8
  22.                 dpkg-reconfigure tzdata
  23.                   > Select best option
  24.  
  25.                 apt-get install build-essential -y
  26.                 apt-get install cmake libboost-dev libboost-thread-dev libboost-system-dev libsqlite3-dev subversion curl libcurl4-openssl-dev libusb-dev zlib1g-dev libudev-dev
  27.                 apt-get install git
  28.                 apt-get install build-essential libavahi-compat-libdnssd-dev
  29.                 git clone git://github.com/ry/node.git
  30.  
  31.  
  32.         In case of conflicts you can use:
  33.                   apt-get upgrade --full-resolver
  34.  
  35.  
  36.         I had a lot of trouble with upgrading nodejs from 0.10 to 0.12, this solved it:
  37.  
  38.                 git clone https://github.com/joyent/node.git
  39.                 cd node
  40.                 git checkout v0.9.5 (or the version you want to build)
  41.                 ./configure --openssl-libpath=/usr/lib/ssl
  42.                 make
  43.                 make install
  44.                 node -v
  45.                 npm -v
  46.  
  47.         You should now have this:
  48.                 root@hive:/home/VeraHomeKitBridge# node -v
  49.                 v0.12.4
  50.                 root@hive:/home/VeraHomeKitBridge# npm -v
  51.                 2.10.1
  52.  
  53.  
  54.  
  55.         Now for the VeraHomeKitBridge, which I choose to install at /home (don't know if this is ok or not):
  56.  
  57.                 git clone --recursive https://github.com/Hackworth/VeraHomeKitBridge.git
  58.                 cd VeraHomeKitBridge
  59.                 npm install
  60.                 cd lib/HAP-NodeJS
  61.                 npm install
  62.                 cd -
  63.  
  64.         I also had to run this to resolve some errors:
  65.  
  66.                 npm install mdns
  67.  
  68.         And after this it should start with:
  69.                 npm run start   -> ucrrently breaking after reading devices
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top