Show Posts
Pages: [1]
1  Topics / Home Automation and Networked Objects / Re: Wireless motion sensor camera on: May 29, 2012, 10:20:35 am
Check out foscam IP cameras.. full of features and cheap at $80us...
2  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 29, 2012, 09:58:51 am
Where are you, not anywhere near Bundy I suppose.

Home automation (well actually motorhome automation) is a pet interest of mine, I'm getting close to having some PCBs made to implement an RS-485 network around my truck.

______
Rob

I am from Sydney originally but last 5 years been in Switzerland!

Cool! That's sweet.. what are the plans? Project? Got a blog? I'm always interested in automation stuff!!.  I want to build a new house here and plan to automate it with arduino!
3  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 29, 2012, 12:43:47 am
Quote
i only got my first Arduino about 2 months ago
Great first project, well done.

______
Rob

Ah fellow Aussie, thanks mate
4  Topics / Home Automation and Networked Objects / Re: Home Automation Lighting on: May 28, 2012, 11:44:41 pm
I am using my arduino to control my lights via Domotic home on the cheap... c eck out my blog if your interested in finding out more... I am going to build my house soon and will be looks ng at something like MQTTand what john has used over at http://www.superhouse.tv/episode

I am using rc-switch and cheap 315mhz to control my.lights... I don't get the status of the lights just yet but I'm working on that at the momdnt .

Www.humpadilly.com

HumpA
5  Topics / Home Automation and Networked Objects / Re: DomoticHome [Arduino - Android - WebApp] on: May 28, 2012, 02:27:38 pm
So the latest addition to my home automation arsenal are some 315MHZ E27 relay sockets, I got 4 of them + remote for $24US... they work really well but.... the build quality is crap so I don’t think they would be legal in most countries!



I used the rc-switch library to detect the codes being transmitted and then put them into my DomoticHomeListner code... so I can control these from my android phone.

Anyway if you are interested in the devices I used, check them out here http://www.shopledlightings.com/e27-wireless-remote-control-lamp-holders-set-with-remote-controller-white-p-1666.html and for the code / teardown photos at my blog...http://www.humpadilly.com/?p=276
6  Topics / Home Automation and Networked Objects / Re: Hack a simple remote to turn off/on the light on: May 28, 2012, 02:20:29 pm
Have a look at rc-switch http://code.google.com/p/rc-switch/, they have both wireless and soldered directly to the remote solutions in the library... I have been experimenting with controlling my lights also... I have built relays which operate over 315mhz and which i cant control from my Android using DomoticHome

Have a looks at my blog if you are intrested ... i post all the code.

http://www.humpadilly.com/

Cheers
HumpA
7  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 10, 2012, 10:06:31 am
it needed to be cheap (I'm married with children smiley

lol... same here smiley


smiley I will have to teach my kids arduino and programming... this way I have projects completed faster!!
I guess when the turn 3 I will have to start to teach them smiley potty trading is the priority at the moment smiley
8  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 09, 2012, 03:07:55 pm
I have taken some photos of the shield and the Ethermega / published the updated code.

http://www.humpadilly.com/wp-content/uploads/2012/05/IMG_20120509_083313.jpg

http://www.humpadilly.com/wp-content/uploads/2012/05/IMG_20120509_083613.jpg

http://www.humpadilly.com/wp-content/uploads/2012/05/IMG_20120509_083408.jpg

sorry i couldnt post the code here i got the following message: (9500 characters).

check out my blog: http://www.humpadilly.com/?p=218

or download the code http://www.humpadilly.com/wp-content/uploads/2012/05/HomeZoneWithDomoticHome.txt
9  Topics / Home Automation and Networked Objects / Re: DomoticHome [Arduino - Android - WebApp] on: May 09, 2012, 04:07:12 am
I have never tried but I plan on adding some this week if time permits
10  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 08, 2012, 01:31:42 pm
LCD uses 38,39,40,41
Touch uses 6,5,4,3,2

No I'm not using the SD on the ethermega or the LCD shield as I generate the buttons on the fly and they are not images

I use pin 11 for the 315mhz transmitter

Here is a link to the code.. http://www.humpadilly.com/wp-content/uploads/2012/03/HomeZone.txt
11  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 08, 2012, 12:10:59 pm
By the way.. I have updated the code and moved away from a http web page based webserver to using JSON / DomoticHome / android app... if your interested I can just paste the updated code here as I have not had the.time to do a post on it at my blog....
12  Topics / Home Automation and Networked Objects / Re: HomeZone LCD Touch Screen and Webserver Remote in one. on: May 08, 2012, 12:04:06 pm
Yes the screen from boxtec.ch and the ethermega from freetronics didn't fit together well because of the Ethernet port.. I filed / sanded about 2mm of the lcd  shield away around the Ethernet ports location and now it fits snug as a bug in a rug!

I will take a photo later tonight and post it for you.to see. 

Nope no pin conflicts with the hardware I used... check out my page it links to the exact components I used.

Good luck with your project.
13  Topics / Home Automation and Networked Objects / Re: DomoticHome [Arduino - Android - WebApp] on: May 07, 2012, 02:35:11 pm
Not sure if anyone is interested but i wanted my DomoticHome / arduino to be flexible with te IP range so i could use the home made 315MHZ adapters anywhere ... so i updated it to work with DHCP... example below



More info of what i am doing can be found on my blog if anyone is interested http://www.humpadilly.com/?p=206

Code:
/*
  Domotic RF 315MHZ Controller
 created 06/05/2012
 by Humpadilly
 http://www.humpadilly.com/?p=206
 
 */

#include <SPI.h>
#include <Ethernet.h>
#include <RemoteSwitch.h>

//Intantiate a new ActionSwitch remote, use pin 7
ActionSwitch actionSwitch(7);

// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
EthernetClient client;

//Setup Server to listen on Port 80
EthernetServer server(80);

// HTTP Read String
String readString = String(30);

void setup(){
  Serial.begin(9600);

  // start the Ethernet connection:
  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    // no point in carrying on, so do nothing forevermore:
    for(;;)
      ;
  }
        else {
              server.begin();
  }
}

void loop(){
 
  listenForEthernetClients();
}

void listenForEthernetClients() {
  // listen for incoming clients
EthernetClient client = server.available();
  if (client) {
    while (client.connected()) {
    if (client.available()) {
      char c = client.read();
        if (readString.length() < 30)
           {
            readString = readString + c;
           }
              if (c == '\n') {
                Serial.print(readString);
                client.println("HTTP/1.1 200 OK");
                client.println("Content-Type: text/html");
                client.println();

                if(readString.startsWith("GET /?out=LRL&status=1"))
                 {Serial.print("\n LRL HIGH \n");
                 actionSwitch.sendSignal(1,'LR',true);
                 client.print("{\"status\" : \"1\" , \"out\" : \"");
                 client.print("LRL");
                 client.print("\"}");
                 }
                  if(readString.startsWith("GET /?out=LRL&status=0"))
                  {Serial.print("\n LRL LOW \n");
                  actionSwitch.sendSignal(1,'LR',true);
                  client.print("{\"status\" : \"0\" , \"out\" : \"");
                  client.print("LRL");
                  client.print("\"}");
                  }

                if(readString.startsWith("GET /?out=TVLight&status=1"))
                 {Serial.print("\n LRL HIGH \n");
                 actionSwitch.sendSignal(0,'TVLight',true);
                 client.print("{\"status\" : \"1\" , \"out\" : \"");
                 client.print("TVLight");
                 client.print("\"}");
                 }
                  if(readString.startsWith("GET /?out=TVLight&status=0"))
                  {Serial.print("\n LRL LOW \n");
                  actionSwitch.sendSignal(0,'TVLight',true);
                  client.print("{\"status\" : \"0\" , \"out\" : \"");
                  client.print("TVLight");
                  client.print("\"}");
                  }

                if(readString.startsWith("GET /?out=L2L&status=1"))
                 {Serial.print("\n LRL HIGH \n");
                 actionSwitch.sendSignal(2,'L2L',true);
                 client.print("{\"status\" : \"1\" , \"out\" : \"");
                 client.print("L2L");
                 client.print("\"}");
                 }
                  if(readString.startsWith("GET /?out=L2L&status=0"))
                  {Serial.print("\n LRL LOW \n");
                  actionSwitch.sendSignal(2,'L2L',true);
                  client.print("{\"status\" : \"0\" , \"out\" : \"");
                  client.print("L2L");
                  client.print("\"}");
                  }
                 
                  if(readString.startsWith("GET /?out=all"))
                  {
                  Serial.print("\n OUT ALL\n");
                  client.print("{\"ip\" : \"");
                  client.print(Ethernet.localIP()); 
                  client.print("\",");
                  client.print("\"devices\" : ");
                  client.print("[{ \"type\" : \"light\", \"name\" : \"Living Room\", \"out\" : \"");
                  client.print("LRL");
                  client.print("\"}");
                  client.print(",{ \"type\" : \"light\", \"name\" : \"TV Light\", \"out\" : \"");
                  client.print("TVLight");
                  client.print("\"}");
                  client.print(",{ \"type\" : \"light\", \"name\" : \"Light\", \"out\" : \"");
                  client.print("L2L");
                  client.print("\"}");
                  client.print("]}");                 
                  }
                 readString="";
                client.stop();
                              }
                           }
                         }
                        }
                       }
14  Topics / Home Automation and Networked Objects / HomeZone LCD Touch Screen and Webserver Remote in one. on: April 10, 2012, 01:17:40 pm
Hello Everyone,

I hope my first post on the forums can help someone and give back some of the great information i have found here! I have been reading the forums for a while... finding ways to automate my house and now i would like to share my findings / project!

I had one requirement around automating my house... it needed to be cheap (I'm married with children smiley )... after investigating various options i found all the commercial options out of my price range!..!... so I started to build my own.

I have created something i call HomeZone, its a cheap 320x240 touch screen i picked up from a local vendor for about 35chf which sits on top of an Ethermega from Freetronics $99AUD. The remote can control my lights using RemoteSwitch Library and some 315Mhz Learing relays... I can control the motion detection on my Foscam cameras using HTTP client (GET commands) + currently working on IR for my home theater and then the alarm.

In addition I have a Webserver running on the same Arduino which can also control everything the touchscreen can.... i know the code isn't great but i only got my first Arduino about 2 months ago smiley  ... i am learning to code and improving it slowly... anyway i thought i would share.. you can find all the details on my blog @ www.humpadilly.com I always share the code for my projects / schematics when i post about them... I hope it can help someone with their home automation project.



Cheers
HumpA
Pages: [1]