Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Ability to set advanced WiFi options #12

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions mopidy_websettings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,27 @@ <h2>Network</h2>
<label for="network__wifi_password">Wifi Password</label>
<input type="password" name="network__wifi_password" value="{{ network__wifi_password }}" size="10" maxlength="63"/>

<label for="network__wifi_wpa2_aes">Use only WPA2-AES</label>
<p>Enhances Wifi security, not supported by all Wifi access points/routers.</p>
<div>
<select name="network__wifi_wpa2_aes" data-role="slider"><br/>
<option value="false"{% if network__wifi_wpa2_aes == "false" %} selected="true"{% endif
%}>Off</option>
<option value="true"{% if network__wifi_wpa2_aes == "true" %} selected="true"{% endif
%}>On</option>
</select>
</div>
<label for="network__wifi_scan_ssid">Connect to hidden Wifi network</label>
<p>Should be enabled if Wifi network is hidden (SSID broadcasting is disabled). Always required on some Wifi adapters with buggy drivers.</p>
<div>
<select name="network__wifi_scan_ssid" data-role="slider"><br/>
<option value="false"{% if network__wifi_scan_ssid == "false" %} selected="true"{% endif
%}>Off</option>
<option value="true"{% if network__wifi_scan_ssid != "false" %} selected="true"{% endif
%}>On</option>
</select>
</div>

<label for="network__workgroup">Workgroup</label>
<p>Here you can change the default workgroup of the Windows network. This will set the workgroup to the name you want</p>
<input type="text" name="network__workgroup" value="{{ network__workgroup }}" size="15" maxlength="40"/>
Expand Down
2 changes: 2 additions & 0 deletions mopidy_websettings/settingsspec.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ auth_token = "string(default='')"
[network]
wifi_network = "string(default='')"
wifi_password = "string(default='')"
wifi_wpa2_aes = "boolean(default=false)"
wifi_scan_ssid = "boolean(default=true)"

name = "string(default='MusicBox')"

Expand Down