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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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
Internet of Things
  • Technologies
  • More
Internet of Things
Forum How to communicate to a Arduino behind firewall or router from a website
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 13 replies
  • Answers 1 answer
  • Subscribers 511 subscribers
  • Views 3649 views
  • Users 0 members are here
  • internet of things dashboard
  • blynk
  • internet control
  • arduino
Related

How to communicate to a Arduino behind firewall or router from a website

krrishh
krrishh over 8 years ago

I have developed a arduino application which listens to http connections but I need help in controlling the device through internet like how Blynk does. I have bought a website domain hosting which supports php webpages and python app. If anybosy could point me to a right direction to develop a script which can be hosted to the internet it will be helpful.

P.S : I don't want to use the services like thingspeak or Blynk but i want to develop one like them. Please guide me.

  • Sign in to reply
  • Cancel

Top Replies

  • BigG
    BigG over 8 years ago +2 suggested
    This is my suggestion. You could have saved yourself some money by using Google's Firebase service instead of paying for web hosting, as there is a free tier option. You can also use something like Cloudflare…
  • rob65
    rob65 over 8 years ago in reply to krrishh +1
    You can be sneaky about the way you manage it. You build the intelligence into your arduino app to handle it. The web interface contains the state of your arduino. The arduino then just reads the information…
  • BigG
    BigG over 7 years ago +1
    Suggest searching online. Another useful source of info is youtube. The Google Firebase team have created there own youtube channel. Loads of stuff on there to help (almost too much stuff): https://www…
Parents
  • BigG
    0 BigG over 8 years ago

    This is my suggestion.

     

    You could have saved yourself some money by using Google's Firebase service instead of paying for web hosting, as there is a free tier option. You can also use something like Cloudflare to handle the routing between Firebase and your domain name AND provides you with https options. All this is also free to use when using free tier option. Then there is an Arduino Firebase library on github (just search for it). Then use this library to control your Arduino. With this option there is no need to hassle with all the firewall issues (i.e. NAT, port forwarding etc.) and developing an unsecure Arduino web-server.

     

    Then, if you still want to use your web hosting and php (or python), there are php libraries (similarly for python) that can link to Firebase. With this configuration, Firebase is acting as your secure bridge between your website and your Arduino.

     

    There are a couple of alternatives to Firebase, which would be:

     

    Pubnub.

     

    and Nabto.

     

    All these options offer 2 way communication.

     

     

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • rob65
    0 rob65 over 7 years ago in reply to BigG

    BigG

    thanks for the reference and links to firebase I've started to take a look at it and I think it has some interesting potential, not only for IOT, but for a lot of other applications as well.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • rob65
    0 rob65 over 7 years ago in reply to BigG

    BigG

    thanks for the reference and links to firebase I've started to take a look at it and I think it has some interesting potential, not only for IOT, but for a lot of other applications as well.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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