Go Down

Topic: home automation with arduino and android (Read 55 times) previous topic - next topic

Poldi

Hello bl4d3,

at first let me say: Its a great job what you have done! I am watching for a few month to this side and now i am really lucky to see, that you still developing this cool system ;-)

The new function to generate the arduino code is very good and easy. I tried it and it works (right now, only in the browser).

Now i have two questions:

What do you think, how secure is this system when i integrate some arduinos with the code to my house and control them via my phone trough the internet (connect them to my route with dyndns)? Is it possible and good to add a function like &key=xyzXYZ or something like that?

The second question is, what does the checkbox "Send data to remote server?" do (in the arduino-code-generator)?

Thanks a lot and keep going on ;-)

On weekend i will try the Android app :-D

Poldi


Arduino-Idea

Great, good work bl4d3.

If you get around to it, support for the DS18B20 One-wire temperature sensor would be a great addition!

As always, keep up the good work.

BT

bl4d3

#57
Jan 08, 2011, 06:55 pm Last Edit: Jan 08, 2011, 07:20 pm by bl4d3 Reason: 1
@Poldi I know it is not a best practice open you front door through http call without encryption, in my mind i have this 2 solutions:
- embed a passowrd in each request and arduino will check it, but it always goes in clear...
- set a MAC address filter on your router plus WPA-PSK2 key it should be quite safe

if anyone has a best idea I'm here!

@Arduino-Idea I'll do it no problem, could you provide me a little sketch about to read data from  DS18B20? I don't have it here and I can test the code but, if you have time, you should do it :)

EDIT
I forget a piece, tha "Send data to remote server" is used to upload automatically data read from sensors, the result is this


I'm looking for a cheap RoR hosting now

Arduino-Idea

Hi bl4d3,

Here is all the information about the one wire protocol for the DS18B20 including a sketch and libraries.  I have no idea when it comes to programming in C so can't help any further with that but everything you need should be on that page.

There are a couple of different models of these sensors but the above one is the newest one and they are pretty much the same anyway, this is all detailed at that link.

http://www.arduino.cc/playground/Learning/OneWire

With the security side of things.  Personally, I think the risk is low and both those suggestions used together would work fine.  

Another thought, with your remote server stuff, have you considered including the ability to send a feed to pachube to monitor and graph reading from the sensors?

Keep up the good work mate.  Don't work too hard though, I think if you get a good, stable base product working and build on it from there this could become very popular!

Cheers,

BT

Poldi

#59
Jan 09, 2011, 11:02 pm Last Edit: Jan 09, 2011, 11:04 pm by Poldi Reason: 1
Hey bl4d3,

thanks for your reply!

Because i work in electronics, i can´t really say, which way is secure. I´ve learned programming by myself with the work with arduino. But I found something with QR-Codes we can check for this:
http://www.instructables.com/id/Arduino-Web-LED/step5/Accessing-and-controlling-the-Arduino-from-the-Web/

Another question:

Do you want to add more different Sensor an actors the people want to use, or do you thing it is possible to add a kind of "open format". I mean a "device" which shows values from the arduino. Then the users can program their own code with many sensors - or what ever they use - and in your Android-App you can define a field from type int etc...

Go Up