Pages: 1 [2] 3   Go Down
Author Topic: DomoticHome [Arduino - Android - WebApp]  (Read 13943 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 76
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I already sent the code for dallas temperature one month ago, and still no response. I think this project is dead.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes me 2 there not realy responsive via email

Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

to bad the project seems to be dead it has great  potentional
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am keen to get the Android source for this if possible to play with and modify it, I am looking for a project to do to learn android and this is awesome! If you are not still developing this, or even if you are, can I please get a look at the android source for this?
Keen to expand and develop this with you if possible...
?
Logged

Holland
Offline Offline
Jr. Member
**
Karma: 0
Posts: 81
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello Mati,

Again a nice project.
For me it is working.
I am interested in the arduino part as wel as in the android part.
You launched the arduino source code. Can you also launch the ardroid code?
I,am still working to have the lamps etc. controlled over the internet via the ethernet board. At home it is working on yhe local network. I like to have it over the internet over a longer distance.

Is that coming?
Which android programming book is helpfull? Can you recommend.

ilioSS

ps.I send you some picks for your blog.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This is maybe a bit late, but he has posted the Android source code here:
https://github.com/bl4d3/DomoticHome
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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();
                              }
                           }
                         }
                        }
                       }
Logged

Lab
Offline Offline
Newbie
*
Karma: 0
Posts: 38
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Do you have DomoticHome working when adding more than one temperature sensor? I get errors ...
Logged


Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have never tried but I plan on adding some this week if time permits
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice to se that others are also using DomoticHome, I am making smart home with 433MHz modules from Nexa and Waveman. Using a transceiver called MultiTrx.

Now I am trying to alter the source code to make my own activators so it will fit my setup. Coding with Android is not my strongest side..

As it is now I am running DomoticHome with 15 actuators without any problem.

Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 14
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Salve a tutti, sono nuovo in questo forum e mi sto affacciando adesso alla domotica visto che sono in fase di realizzazione della mia abitazione, qualcuno può aiutarmi a creare il mio impianto domotico utilizzando arduino e android? ( mi serve sapere materiali da acquistare e come interfacciarli tra loro ) posso allegare il progetto della mia casa.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Salve a tutti, sono nuovo in questo forum e mi sto affacciando adesso alla domotica visto che sono in fase di realizzazione della mia abitazione, qualcuno può aiutarmi a creare il mio impianto domotico utilizzando arduino e android? ( mi serve sapere materiali da acquistare e come interfacciarli tra loro ) posso allegare il progetto della mia casa.

Hey

If you try again in English it would be easier for us to help you plan you home automation....
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 6
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone, I'm new at this forum and I'm ushering in home automation as they are now being built in my home, can anyone help me make my home automation system using Arduino and Android? (I need to know to buy materials and how to interface them with each other) I can attach the plan of my house.
Logged

California
Offline Offline
Faraday Member
**
Karma: 91
Posts: 3427
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone, I'm new at this forum and I'm ushering in home automation as they are now being built in my home, can anyone help me make my home automation system using Arduino and Android? (I need to know to buy materials and how to interface them with each other) I can attach the plan of my house.

It's really going to depend on what you're trying to achieve. Home Automation is a very broad term with many different aspects to it that may or may not be relavent to you.

As a simple example, say you wanted to turn a light on and off with your phone. Such a simple task can be a pretty complex project depending on your requirements. How are you switching the light? Relay, X10? How are you connecting the light to the arduino? XBee, X10, RF, wired? How is the phone communicating with the arduino? Ethernet, Bluetooth, Wifi?

The best way to start is to figure out exactly what you want to accomplish and read up on the different technologies and methods of implementation.

E 'davvero dipendere da quello che stai cercando di ottenere. Domotica è un termine molto ampio, con molti aspetti diversi ad esso che possono o non possono essere relavent a voi. Come semplice esempio, diciamo che ha voluto accendere una luce e si spegne con il telefono. Tale semplice operazione può essere un progetto piuttosto complesso a seconda delle vostre esigenze. Come stai accendere la luce? Relay, X10? Come vi state collegando la luce al Arduino? XBee, X10, RF, cablata? Come il telefono comunicante con il Arduino? Ethernet, Bluetooth, Wifi? Il modo migliore per iniziare è quello di capire esattamente cosa si vuole realizzare e leggere su diverse tecnologie e modalità di attuazione.
Logged

Pages: 1 [2] 3   Go Up
Jump to: