Slammed1000 Posted November 5, 2015 Share Posted November 5, 2015 Looks like they changed how homebridge is bundled earlier today.If you read the install instructions now you just install it with npm, but all need to add the accessories separately using npmhttps://github.com/nfarina/homebridgeShould of mentioned I already ran the legacy plugin. Link to comment Share on other sites More sharing options...
Gene Posted November 5, 2015 Share Posted November 5, 2015 I couldn't get it to work on a new Raspberry pi 2 but will try later today to follow the steps and see what happens... Anyone have the old zip files for Homebridge with plugins? Link to comment Share on other sites More sharing options...
ILoveC4 Posted November 5, 2015 Share Posted November 5, 2015 Maybe Siri can install it for you? LOL. What a pain in the ass. I mothballed the project after an hour of errors in CMD. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Gene Posted November 5, 2015 Share Posted November 5, 2015 It was pretty straightforward before things changed...now that I have a new Raspberry pi 2 I want it to work but the constant errors does try your patience... Hoping to get things working (maybe C4 will beat me to it with direct homekit integration in 3.0!...I can at least dream!). Link to comment Share on other sites More sharing options...
niall Posted November 5, 2015 Author Share Posted November 5, 2015 Give me 3 hours and I'll build an imagine for it. I'll upload the text script as well for anyone who wants to see what it did. Link to comment Share on other sites More sharing options...
Gene Posted November 5, 2015 Share Posted November 5, 2015 WOW! Thanks so much. No rush... Link to comment Share on other sites More sharing options...
LSDave Posted November 5, 2015 Share Posted November 5, 2015 once i have my startup script done i can post an image for an original Raspberry Pi. Link to comment Share on other sites More sharing options...
niall Posted November 5, 2015 Author Share Posted November 5, 2015 Just ran through building an image and captured the output. Just testing the image works on both pi 1 and pi 2 and then I'll post it. The tldr; is sudo apt-get updatesudo apt-get upgradesudo apt-get install libavahi-compat-libdnssd-devsudo apt-get install libkrb5-devwget https://nodejs.org/dist/v4.2.2/node-v4.2.2-linux-armv6l.tar.gztar -xvf node-v4.2.2-linux-armv6l.tar.gzcd node-v4.2.2-linux-armv6l/sudo cp -R * /usr/local/node -vsudo npm install -g homebridgesudo npm install -g homebridge-httpsudo nano /etc/hosts ** Change the last entry to127.0.1.1 homebridgesudo nano /etc/hostname** change the entry to homebridge cd .homebridge/nano config.json** Put your config.json in the file wget https://raw.githubusercontent.com/fhd/init-script-template/master/templatesudo mv template /etc/init.d/homebridgesudo nano /etc/init.d/homebridge ** Change the top of the file to #!/bin/sh### BEGIN INIT INFO# Provides: HomeBridge# Required-Start: $remote_fs $syslog# Required-Stop: $remote_fs $syslog# Default-Start: 2 3 4 5# Default-Stop: 0 1 6# Short-Description: Start daemon at boot time# Description: Enable service provided by daemon.### END INIT INFO dir="/home/pi/.homebridge"cmd="homebridge"user="pi" sudo reboot *** To get back in, you can use ssh pi@homebridge.local *** To see if its running pi@homebridge ~ $ /etc/init.d/homebridge statusRunning homebridge-pi-install.txt Link to comment Share on other sites More sharing options...
niall Posted November 5, 2015 Author Share Posted November 5, 2015 I've posted an image for the raspberry pi, testing it on both 1 and 2 so it should be ok. You need a flash card of at least 8GB as I didn't have a smaller one to build it with. http://fuelservice.org/homebridge.img.zip Once you have put it on a flash then you can book and the username is pi, password is raspberry.All thats needed is to create the configcd .homebridge/nano config.json Then you can start it with /etc/init.d/homebridge start It should automatically start when you reboot it as well. Link to comment Share on other sites More sharing options...
Gene Posted November 5, 2015 Share Posted November 5, 2015 Thanks! I'll download and try later today... Link to comment Share on other sites More sharing options...
Gene Posted November 5, 2015 Share Posted November 5, 2015 The image download won't get over 1gig... Tried twice at different locations... Tried the manual way...got all the way through but homebridge isn't running. Tried to start it with sudo /etc/init.d/homebridge startbut get the following from pi@homebridge ~/.homebridge $starting homebridge/etc/init.d/homebridge: 35: cd: can't cd to /home/pi/.homebridge Even if I just start homebridge (homebridge start), I get errors. When I check the status it just says 'stopped' Can you repost image since its probably the easiest? Link to comment Share on other sites More sharing options...
niall Posted November 5, 2015 Author Share Posted November 5, 2015 Try this onehttp://fuelservice.org/homebridge-pi.img.zip Link to comment Share on other sites More sharing options...
niall Posted November 5, 2015 Author Share Posted November 5, 2015 The image download won't get over 1gig... Tried twice at different locations... Before unzipping the file should be 993143090 bytes, with an md5 of 4f35686b1f87916f142ca5fcfaab463ehttp://fuelservice.o...idge-pi.img.zip Link to comment Share on other sites More sharing options...
Gene Posted November 6, 2015 Share Posted November 6, 2015 Thank You! The small image worked fine. I reimaged my micro sd card and it took perfectly. I changed the config.json and added it via the Eve app. Now I'm going to setup some commands and see if Siri will recognize and complete the event. I already confirmed the events using a web broswer and URL and got 'Succesful'. Link to comment Share on other sites More sharing options...
msgreenf Posted November 7, 2015 Share Posted November 7, 2015 got it Link to comment Share on other sites More sharing options...
msgreenf Posted November 7, 2015 Share Posted November 7, 2015 Anyone have problems w eve not accepting the pin from your homebridge?Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Gene Posted November 7, 2015 Share Posted November 7, 2015 I was able to install the image, get the web events to work in C4 for the URL to call them, but the app (Eve) setup isn't as straightforward and can't get it to work. Been trying to get that setup without success. (C4 is never going to go this route without alot of development on the appp side and controller...alot of other issues to deal). msgreenf: the pin needs to match your config.json if those match then just manually enter and it should find it. (even after matching pin and seeing the accessories, hearing Siri say 'Sorry, I wasn't able to find any devices at this time' over and over is frustrating! Do you know if you need an action for each on/off command so it would result in this or just one to turn on&off? Also, I got one scene to work in Eve and that I believe is the key I'm missing... { "accessory": "Http", "name": "Front Door Unlock", "on_url": "http://192.168.1.6:8080/frontdoorunlock_on", "off_url": "http://192.168.1.6:8080/frontdoorunlock_off", "http_method": "GET", "username": "username", "password": "password" }, { "accessory": "Http", "name": "Front Door Lock", "on_url": "http://192.168.1.6:8080/frontdoorlock_on", "off_url": "http://192.168.1.6:8080/frontdoorlock_off", "http_method": "GET", "username": "username", "password": "password" } Link to comment Share on other sites More sharing options...
msgreenf Posted November 7, 2015 Share Posted November 7, 2015 I had to change the pin from 1s to get it to workSent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Slammed1000 Posted November 7, 2015 Share Posted November 7, 2015 Working great for me! Link to comment Share on other sites More sharing options...
dgbrown Posted November 7, 2015 Share Posted November 7, 2015 Anyone have issues with using Siri over LTE ... Seems to hang Link to comment Share on other sites More sharing options...
zaphod Posted November 7, 2015 Share Posted November 7, 2015 I assume that to add the WebEvents driver you need to be running Composer Pro, correct? Is there anything else that requires Composer Pro? I think I may have had my dealer install that in the past - how would I be able to tell if I have it installed? Link to comment Share on other sites More sharing options...
Gene Posted November 8, 2015 Share Posted November 8, 2015 Yes, you need WebEvents Driver installed and then everything can be done using ComposerHE. You should be able to see it or whatever he named it within a room. I finally got it to work...was the Eve app that gave me issues. Link to comment Share on other sites More sharing options...
Gene Posted November 25, 2015 Share Posted November 25, 2015 I have a raspberry pi 2 running the services (node etc...) for C4 to utilize Siri...has anyone noticed a spike in network traffic besides me? I'm seeing alot and after removing, the network is fine... I know it could be a ton of things but just wondered if anyone else is experience such? Link to comment Share on other sites More sharing options...
C4RVA Posted November 25, 2015 Share Posted November 25, 2015 I have noticed a lot more broadcast traffic but it doesn't seem to mess with performance for the home. Link to comment Share on other sites More sharing options...
stewbacca Posted November 30, 2015 Share Posted November 30, 2015 Could anyone help me out? I have everything installed on my iMac but home bridge is looking for the config file in a folder named ".homebridge". I tried to create the folder but it won't let me name it with only the "." In front...Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.