element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Home Automation... Software Advice
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: nicolaoscon96
  • Date Created: 28 Feb 2017 2:47 AM Date Created
  • Views 1211 views
  • Likes 0 likes
  • Comments 6 comments
Related
Recommended

Home Automation... Software Advice

nicolaoscon96
nicolaoscon96
28 Feb 2017

Hello Again,

As i said in others post of mine i am working on a house automation system based on raspberry pi and arduino ... I ve moved a lot with this.. I also writing a program for this. I wrote the program in Visual basic 2010...it has over 1000 lines of code cause it is also like JARVIS from ironman... It can execute a dissent amount of pre installed commands. I also added a feture when the doorbell ring a window pop up in my screen and it show me who is in the front door with face recognition.... I now want to move to the "next level" and make it work also on my android....is there any way to make it synchronise in real time pc software and Android? For example if i dim the lights in one room to see the changed value on my phone and reverse or monitor the temperatures(data comes from arduino to pc software)

One idea that i had is to setup a local server. Or website on the arduino and share the data with pc and android. But i don't know if this is gonna be okay.

So... Any thoughts?

Thanks a lot nicolaoscon96

  • Sign in to reply

Top Comments

  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago +3
    I would look at using something like Node-Red on the PI. it can host a web page usable for all mobile devices (Browser based) and will keep them all up to date with values. If you want to share data then…
  • Robert Peter Oakes
    Robert Peter Oakes over 8 years ago

    I would look at using something like Node-Red on the PI. it can host a web page usable for all mobile devices (Browser based) and will keep them all up to date with values.

     

    If you want to share data then use MQTT (Mosquitto on the PI) server. this will allow all sorts of applications access common data easily

     

    I have plenty of videos on my channel about using the RPI with Node-Red and MQTT  for automation. ( thebreadboardca )

    if you prefer text based posts then see my friends blog ( Peter Scargill )

    or google Raspberry PI and Node-red to find loads of other resources

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • adsicks
    adsicks over 8 years ago in reply to nicolaoscon96

    When I get the XML version working you will be able to. Not with just text though. I'm in the process of adding cameras to my set up at this point though. Check out this  post and get this set up on your Pi. This would be the first step.
    Raspberry PI as a LAMP server

     

     

    (Note, Im using MariaDB as my MySQL setup)

    The rest can be done with scripts and PHP. In fact, if you can give me a few weeks to get what I have organized as far as the PHP and scripts I'll go ahead and make a git repo and post a link here. What I have done so far has been kind of haphazard.....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nicolaoscon96
    nicolaoscon96 over 8 years ago in reply to adsicks

    Thanks this is the kind i am looking for.But also can i make changes from phone? and Display them on pc for example?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • adsicks
    adsicks over 8 years ago

    That is the architecture I am using -- a webserver on the Pi. The data is in XML and the android app just reads the XML from the server, parses it, and displays it to your liking. To write back I just use CGI. What I started with was simple texting. I have an email server on the Pi. Any texts that don't come from our phones get sent to /dev/null. Otherwise they are parsed for commands (e.g., a text message that says 'info').  The Pi responds with the info (Alarm: OK Now Playing: Back in Black -- AC/DC Uptime: 6 days 12 hours 43 minutes 12 seconds).....

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • nicolaoscon96
    nicolaoscon96 over 8 years ago in reply to dougw

    No i don't want to take control of my pc..(for this i am using Teamviewer)...I am asking if there is a way to have a real time syncronization in a custom made android app.I want to see the changes that i aam making in real time on each device

     

    Thanks nicolaoscon96

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube