XMortX
Posts: 50
Joined: Tue Jul 30, 2013 11:56 pm

Home Automation Project

Wed Jun 04, 2014 12:31 pm

Hi guys,
Im obviously not busy enough at uni, work, private development project, home business, hopefully second job, fishkeeping (5ft fresh + 1.5ft fresh + 2 nano's), home improvements (new floors atm) and obviously the missus and cats lol
Im looking at starting a new crowd project (hopefully with the support of many more that are comfortable with Linux unlike me lol)
Basically the long and short of it, I was happily using siriproxy (github) and suddenly the gastly giant that we all know as apple, decided to put a complete block on it with ios7!
Now I have been scouring the WWW for alternatives, ios or not, and haven't found any that are remotely in the ball park!
For an explination on siriproxy, pop over to github!
The basic idea is to implement a full home automation system that's highly user friendly (plug and play if possible) that could be deployed by the budding enthusiast with, hopefully, the help of a raspberry pi that controls and reads the complete status of a home in real time, that's also networked and capable of retrieving information and displaying it in any room there is a compatable device!
Hopefully this would be voice controlled but lets start on the functionality first, but certainly leave the door open for that to de developed!
I already have a basic idea using nodes and server network with message passing and que's (rabbitMQ)!
So, who would be willing to collaborate on this project?
Regards,
XMortX

XMortX
Posts: 50
Joined: Tue Jul 30, 2013 11:56 pm

Re: Home Automation Project

Wed Jun 04, 2014 12:34 pm

Forgot to add,
im really not good with Linux and I welcome beginners and experts alike, one of the main purposes of this idea is to bring people together to reach a common goal but also to learn from eachother, making n00bs far more likely to learn quicker as they have a common goal to look forward too!

XMortX
Posts: 50
Joined: Tue Jul 30, 2013 11:56 pm

Re: Home Automation Project

Thu Jun 05, 2014 11:23 am

haha ill assume that nobody wants to do this then :)
cool cool
regards
xmortx

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Home Automation Project

Sat Jun 07, 2014 8:19 pm

With WWDC behind us and the announcement of HomeKit, I have been looking at the possibility scrapping SiriProxy support and instead use Apple MFi. Not to make the RPi into a MFI controller, which I have read some threads of limited success on the RPi, but to turn the RPi into a MFi bridge. http://techcrunch.com/2014/06/06/apples ... /?ncid=rss

In order to sell licensed and approved devices to consumers, you have to become a MFI Apple Certified developer, pay licensing fees, and submit your hardware/software to Apple for approval. I have no intention of doing that. From what I have read you do not need a MFi license if you use BLE for home automation applications. http://cache.freescale.com/files/traini ... -F0019.pdf

My problem is that I have a number of existing home automation devices in my home that support various standards, protocols, etc. All of which have an API the RPi can pull a number of them together. I had been using my RPi for voice control of all these disparate technologies (Insteon lighting and security system, Nest thermostat, IP cameras, IR control, etc.), all of which have IP based APIs. Unfortunately, Apple ruined our fun with SiriProxy with the release of iOS 7,

I do not know if this is technically possible yet, but the idea is this:
1. RPi
2. BLE USB dongle
3. BLE drivers and MFi libraries to emulate a MFi auto discoverable home automation device by iOS 8+
4. My custom applications to interface with:
a. UDI ISY Insteon lighting controller
b. Elk M1 Gold security panel
c. Trendnet IP cameras
d. Thinkflood IP to IR controllers
e. Anything I have connected directly to my RPi (e.g. PiFace)

Obviously, I will have to wait for more information regarding the MFi HomeKit protocol and how to broadcast my RPi to allow an iOS device to control my home, including voice control using Siri. I am hoping that using this method will not be impeeded by Apple.
http://www.youtube.com/user/TheElvisImprsntr

User avatar
Paul Webster
Posts: 798
Joined: Sat Jul 30, 2011 4:49 am
Location: London, UK
Contact: Twitter

Re: Home Automation Project

Sun Jun 08, 2014 5:19 pm

elvisimprsntr wrote:With WWDC behind us and the announcement of HomeKit, I have been looking at the possibility scrapping SiriProxy support and instead use Apple MFi. Not to make the RPi into a MFI controller, which I have read some threads of limited success on the RPi, but to turn the RPi into a MFi bridge.
I think it is the right approach provided Apple do make the protocol definitions available to the world rather than only those building official devices.
In the WWDC presentation there was a comment that it will perform end-end encryption (to the bridge in is case) so it may well prove be hard to work out what is going on without such publication.
I assume that one of the home automation companies who sells devices will want to make a bridge pretty quickly to try to capture the Apple market for their devices before there are a lot of devices with native Apple support.

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Home Automation Project

Fri Jul 18, 2014 10:38 pm

Paul Webster wrote:
elvisimprsntr wrote:With WWDC behind us and the announcement of HomeKit, I have been looking at the possibility scrapping SiriProxy support and instead use Apple MFi. Not to make the RPi into a MFI controller, which I have read some threads of limited success on the RPi, but to turn the RPi into a MFi bridge.
I think it is the right approach provided Apple do make the protocol definitions available to the world rather than only those building official devices.
In the WWDC presentation there was a comment that it will perform end-end encryption (to the bridge in is case) so it may well prove be hard to work out what is going on without such publication.
I assume that one of the home automation companies who sells devices will want to make a bridge pretty quickly to try to capture the Apple market for their devices before there are a lot of devices with native Apple support.
I recently read that the end to end encryption is for devices using Apple's BLE and received a seperate report that IP based devices would only have to use Bonjour (aka. Zeroconf) for auto discovery, which implies no special chips. With over 700 million iOS devices soon to be running iOS 8, I am sure we will see someone reverse engineer the HomeKit API even if Apple does not make it public to non MFi registered developers.
http://www.youtube.com/user/TheElvisImprsntr

XMortX
Posts: 50
Joined: Tue Jul 30, 2013 11:56 pm

Re: Home Automation Project

Sat Jul 19, 2014 3:08 pm

I'm so glad you commented here elvisimpersonator, you have helped me out before and just as I was getting to grips with siriproxy, apple killed it :) I apologise for my late reply, I thought this topic was dead haha!
Thankyou very much for your input and let us know how you get on with your idea with ios8, I know there are rumoured exploits already being explored for ios8 I'm terms of a jailbreak, I wonder though if this will aid in getting siriproxy functional again?

ptx
Posts: 4
Joined: Wed Jul 09, 2014 11:17 pm

Re: Home Automation Project

Sun Jul 20, 2014 5:37 am

hi X your hopes die very soon... in just one day!!!
btw you put your thread in "begginer"? are you serious?

User avatar
David Melara
Posts: 26
Joined: Sun Jul 13, 2014 8:32 pm
Location: El Salvador
Contact: Website

Re: Home Automation Project

Sun Jul 20, 2014 6:28 am

Hi, my name is David, im actually studyng my electronics engineering, and my final project for this year is a domotic house, im doing it with raspberry, bluetooth, touch lcd, speech recognition and more, so, if you really want to make this project a lot better contact me!
If you love doing something, be sure that something will be done right

Reece
Posts: 3
Joined: Fri Sep 19, 2014 8:32 pm

Re: Home Automation Project

Fri Sep 19, 2014 8:39 pm

Hi,

I might be a bit late to this discussion but I wanted to add my 2 cents.

Apple's HomeKit requires the connected devices to be "HomeKit enabled". That means they have to have Apple's proprietary MFi hardware.

You can find out a bit more info on the HomeKit bridge here -> http://www.homekitbridge.com.

MtnBiker
Posts: 6
Joined: Thu Aug 07, 2014 6:28 pm

Re: Apple's HomeKit

Wed Nov 05, 2014 5:24 am

Apple will brief MFi accessory makers on HomeKit, Lightning headphones, iBeacon & game controllers next week [Nov. 12]. http://9to5mac.com/2014/11/04/apple-mfi ... s-ibeacon/.

According to Forbes, these chipmakers have begun shipping their chips loaded with HomeKit firmware to device manufacturers, Broadcom and Texas Instruments have confirmed. http://www.macrumors.com/2014/11/03/hom ... ce-makers/

Apple's page: https://developer.apple.com/homekit/

elvisimprsntr
Posts: 131
Joined: Sat Dec 29, 2012 11:36 pm
Contact: Website

Re: Home Automation Project

Sat Nov 08, 2014 1:05 pm

SiriProxy will likely never work with anything but iOS 6. Apple made a number of protocol changes which cannot be overcome using a MITM SiriProxy.

As you may have heard, Apple announced HomeKit Accessory Protocol this year. It is still in beta, but there are two prominent efforts to develop a HomeKit Accessory Protocol (HAP) Bridge, which allows one to implement HomeKit support to legacy devices.

https://github.com/KhaosT/HAP-NodeJS
https://github.com/etwmc/PersonalHomeKit

I do not own either repo, but I successfully got both installed and running on a RPi, which I added How-To instructions to their respective wiki pages. Similar to SiriProxy, there is significant risk Apple may change the protocol and/or require use of proprietary MFi chips, which may thwart everyone's efforts.
http://www.youtube.com/user/TheElvisImprsntr

vignesh velu
Posts: 2
Joined: Fri Jun 15, 2018 7:19 pm

Re: Home Automation Project

Fri Jun 15, 2018 7:59 pm

hi im vignesh i started my project home automation using bluetooth on RPI 3 with bluetooth module hc-05 connection with the direct ac supply so i using 4*4 relay so which android application should able to control electronic devices please tell me the reply so i can start new on this project so i can connect relay and bluetooth module in RPI 3 and direct current supply to ac power and operate my android phone so please reply

Return to “Beginners”