API made for the Debian Backend of HomeHub. Implements nmclip for Wifi Search and Config
Run npm instal
to install dependencies and the npm start to run the api
Do a GET
request at localhost:3000/api/networks/list
This returns an array like this:
[
{ssid:"foo","in_use":"false","signal":87,security:"WPA1 WPA2"},
{ssid:"foo2","in_use":"true","signal":56,security:"WPA1 WPA2"}
]
You need to do a POST
request to localhost:3000/api/networks/connect
.
In the body of the request you have to pass 2 values:
- ssid (The ssid of the network)
- password
The full documentation is available here
- Manos Karadimos - [GitHub] (https://github.com/thetechgeekster)
- Manos Kounelakis - [GitHub] (https://github.com/kounelios13)