Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4501

Networking and servers • Help needed: adding RPI to home network for Dummies

$
0
0
Ciao
I built an Air Quality measuring instrument based on a RPi Zero W. Now, I need a (simple) procedure to let the people who host the instrument to insert it in their home wifi network.
My idea for implementing a simple procedure:
- turn on the instrument/RPI
- it works as wifi hotspot turning on a local wifi network
- from a PC, connect to the RPI local wifi network
- open the PC browser, type a specific URL and RPI responds with a form
- the form contains some fields asking for: SSID of the home network, its password, geo-coordinates, ... and a "SAVE" button
- when pressing the SAVE button, RPI saves the network related data into the proper network files (?) and the application specific data (geo-coordinates and possibly other data) into the application specific files
- before rebooting, RPI asks for confirmation, showing the entered values
- if confirmed, RPI reboots and when it is up and running, it is connected to the right home network
- additionally, after reboot, RPI must start the application program (in PY) which will use the wifi network to send data

I think I need a web server on RPI (Apache?), running on the first start, a html form for collecting all the needed data into a number of fields, probably not needing a PHP lib, neither SQL db, correct?

Any help is welcome, I'm quite new to this stuff
Thanks!
Fabio

Statistics: Posted by itz10vv — Sun Oct 13, 2024 6:26 pm — Replies 0 — Views 37



Viewing all articles
Browse latest Browse all 4501

Trending Articles