Wifi Provision Save

A NodeJS app to allow a rPi 3 or Pi Zero's + IoT pHat WiFi to be configured via BLE

Project README

#WiFi-Provision

This is a NodeJS app to configure WiFi on a Raspberry Pi 3 or a Pi Zero with IoT pHAT via Bluetooth Low Energy and Web Bluetooth.

The reasons for this can be found here

To run clone the code

git clone https://github.com/hardillb/wifi-provision.git

Edit the namePrefix in the static/index.html to match the host name for the pi then copy it to a public facing http server that supports https and generate a new short URL for this location. Take the short URL and edit the last line of index.js

eddystone.advertiseUrl('http://goo.gl/uNGCsy',options);

You can now run this as root

node index.js

It should now broadcast the short URL as a Eddystone beacon, when you follow the link you will get a page that will connect to the device and allow you to push SSID and password to it. Once connected it will send the device IP address back to the page.

Open Source Agenda is not affiliated with "Wifi Provision" Project. README Source: hardillb/wifi-provision
Stars
27
Open Issues
2
Last Commit
3 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating