mobile fix + new screnshots
20
README.md
@@ -34,16 +34,13 @@ The system continuously scans the network for, **New devices**, **New connection
|
|||||||
## 🧩 Notification Integrations
|
## 🧩 Notification Integrations
|
||||||
- [Apprise](https://hub.docker.com/r/caronc/apprise), [Pushsafer](https://www.pushsafer.com/), [NTFY](https://ntfy.sh/)
|
- [Apprise](https://hub.docker.com/r/caronc/apprise), [Pushsafer](https://www.pushsafer.com/), [NTFY](https://ntfy.sh/)
|
||||||
- Webhooks ([sample JSON](docs/webhook_json_sample.json))
|
- Webhooks ([sample JSON](docs/webhook_json_sample.json))
|
||||||
- (❗Experimental) Home Assistant via [MQTT](https://www.home-assistant.io/integrations/mqtt/)
|
- Home Assistant via [MQTT](https://www.home-assistant.io/integrations/mqtt/)
|
||||||
- discovery ~10s per device, deleting not supported, use [MQTT Explorer](https://mqtt-explorer.com/) for now
|
- discovery ~10s per device, deleting not supported, use [MQTT Explorer](https://mqtt-explorer.com/) for now
|
||||||
|
|
||||||
|
|
||||||
## 🔐 Security
|
## 🔐 Security
|
||||||
|
|
||||||
- Configurable login to prevent unauthorized use.
|
- Configurable login to prevent unauthorized use.
|
||||||
- Set `PIALERT_WEB_PROTECTION = True` in `pialert.conf` to enable.
|
|
||||||
- The default password is `123456`.
|
|
||||||
- To change password run `/home/pi/pialert/back/pialert-cli`
|
|
||||||
|
|
||||||
## 📑 Features
|
## 📑 Features
|
||||||
- Display:
|
- Display:
|
||||||
@@ -108,13 +105,14 @@ Instructions for [pucherot's original code can be found here](https://github.com
|
|||||||
- Please see the [Git commit history](https://github.com/jokob-sk/Pi.Alert/commits/main) for a full list of people and their contributions to the project
|
- Please see the [Git commit history](https://github.com/jokob-sk/Pi.Alert/commits/main) for a full list of people and their contributions to the project
|
||||||
|
|
||||||
<!--- --------------------------------------------------------------------- --->
|
<!--- --------------------------------------------------------------------- --->
|
||||||
[main]: ./docs/img/1_devices.jpg "Main screen"
|
[main]: ./docs/img/devices_split.png "Main screen"
|
||||||
[screen1]: ./docs/img/2_1_device_details.jpg "Screen 1"
|
[screen1]: ./docs/img/devices_details.png "Screen 1"
|
||||||
[screen2]: ./docs/img/2_2_device_sessions.jpg "Screen 2"
|
[screen2]: ./docs/img/events.png "Screen 2"
|
||||||
[screen3]: ./docs/img/2_3_device_presence.jpg "Screen 3"
|
[screen3]: ./docs/img/presence.png "Screen 3"
|
||||||
[screen4]: ./docs/img/3_presence.jpg "Screen 4"
|
[screen4]: ./docs/img/maintenance.png "Screen 4"
|
||||||
[screen5]: ./docs/img/2_4_network.png "Screen 5"
|
[screen5]: ./docs/img/network.png "Screen 5"
|
||||||
[screen6]: ./docs/img/2_5_device_nmap_ready.jpg "Screen 6"
|
[screen6]: ./docs/img/settings.png "Screen 6"
|
||||||
|
[screen7]: ./docs/img/help_faq.png "Screen 6"
|
||||||
[report1]: ./docs/img/4_report_1.jpg "Report sample 1"
|
[report1]: ./docs/img/4_report_1.jpg "Report sample 1"
|
||||||
[report2]: ./docs/img/4_report_2.jpg "Report sample 2"
|
[report2]: ./docs/img/4_report_2.jpg "Report sample 2"
|
||||||
[main_dark]: /docs/img/1_devices_dark.jpg "Main screen dark"
|
[main_dark]: /docs/img/1_devices_dark.jpg "Main screen dark"
|
||||||
|
|||||||
@@ -44,15 +44,13 @@
|
|||||||
|
|
||||||
### Config (`pialert.conf`)
|
### Config (`pialert.conf`)
|
||||||
|
|
||||||
- Download [pialert.conf from here](https://github.com/jokob-sk/Pi.Alert/tree/main/config).
|
- Modify [pialert.conf](https://github.com/jokob-sk/Pi.Alert/tree/main/config) or manage the configuration via Settings.
|
||||||
- ❗ Set the `SCAN_SUBNETS` variable.
|
- ❗ Set the `SCAN_SUBNETS` variable.
|
||||||
* The adapter will probably be `eth0` or `eth1`. (Run `iwconfig` to find your interface name(s))
|
* The adapter will probably be `eth0` or `eth1`. (Run `iwconfig` to find your interface name(s))
|
||||||
* Specify the network filter (which **significantly** speeds up the scan process). For example, the filter `192.168.1.0/24` covers IP ranges 192.168.1.0 to 192.168.1.255.
|
* Specify the network filter (which **significantly** speeds up the scan process). For example, the filter `192.168.1.0/24` covers IP ranges 192.168.1.0 to 192.168.1.255.
|
||||||
* Examples for one and two subnets (❗ Note the `['...', '...']` format for two or more subnets):
|
* Examples for one and two subnets (❗ Note the `['...', '...']` format for two or more subnets):
|
||||||
* One subnet: `SCAN_SUBNETS = '192.168.1.0/24 --interface=eth0'`
|
* One subnet: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0']`
|
||||||
* Two subnets: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0', '192.168.1.0/24 --interface=eth1']`
|
* Two subnets: `SCAN_SUBNETS = ['192.168.1.0/24 --interface=eth0', '192.168.1.0/24 --interface=eth1']`
|
||||||
- Set your reporting preferences.
|
|
||||||
- I recommend to check for new settings every time you rebuilt the container.
|
|
||||||
|
|
||||||
|
|
||||||
### 🛑 **Common issues**
|
### 🛑 **Common issues**
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 144 KiB |
|
Before Width: | Height: | Size: 253 KiB |
|
Before Width: | Height: | Size: 244 KiB |
|
Before Width: | Height: | Size: 258 KiB |
|
Before Width: | Height: | Size: 200 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 290 KiB |
|
Before Width: | Height: | Size: 250 KiB |
BIN
docs/img/@eaDir/device_details.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/devices_dark.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/devices_light.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/devices_split.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/events.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/help_faq.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/maintenance.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/network.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/presence.png@SynoEAStream
Executable file
BIN
docs/img/@eaDir/settings.png@SynoEAStream
Executable file
BIN
docs/img/device_details.png
Executable file
|
After Width: | Height: | Size: 128 KiB |
BIN
docs/img/devices_dark.png
Executable file
|
After Width: | Height: | Size: 187 KiB |
BIN
docs/img/devices_light.png
Executable file
|
After Width: | Height: | Size: 186 KiB |
BIN
docs/img/devices_split.png
Executable file
|
After Width: | Height: | Size: 211 KiB |
BIN
docs/img/events.png
Executable file
|
After Width: | Height: | Size: 174 KiB |
BIN
docs/img/help_faq.png
Executable file
|
After Width: | Height: | Size: 109 KiB |
BIN
docs/img/maintenance.png
Executable file
|
After Width: | Height: | Size: 114 KiB |
BIN
docs/img/network.png
Executable file
|
After Width: | Height: | Size: 87 KiB |
BIN
docs/img/presence.png
Executable file
|
After Width: | Height: | Size: 146 KiB |
BIN
docs/img/settings.png
Executable file
|
After Width: | Height: | Size: 174 KiB |
1
docs/img/size_h_1250_w_1000.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
Screenshot size: height: 1250px width: 1000px
|
||||||
@@ -100,6 +100,24 @@
|
|||||||
color: gray;
|
color: gray;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.header-server-time
|
||||||
|
{
|
||||||
|
padding:8px;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-status
|
||||||
|
{
|
||||||
|
padding:0px;
|
||||||
|
}
|
||||||
|
.header-status:hover
|
||||||
|
{
|
||||||
|
background-color: rgba(0, 0, 0, 0);
|
||||||
|
}
|
||||||
|
.navbar-nav > li > a
|
||||||
|
{
|
||||||
|
line-height: 30px;
|
||||||
|
}
|
||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
Customized Main Menu
|
Customized Main Menu
|
||||||
----------------------------------------------------------------------------- */
|
----------------------------------------------------------------------------- */
|
||||||
|
|||||||
@@ -215,8 +215,6 @@ if ($_SESSION["login"] != 1)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div style="width: 100%; height: 20px;"></div>
|
|
||||||
</section>
|
</section>
|
||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -417,13 +417,6 @@ if (submit && isset($_POST['skinselector_set'])) {
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div style="width: 100%; height: 20px;"></div>
|
|
||||||
<!-- ----------------------------------------------------------------------- -->
|
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- /.content -->
|
<!-- /.content -->
|
||||||
|
|||||||
@@ -101,7 +101,7 @@
|
|||||||
<td >
|
<td >
|
||||||
<b>MAC:</b>
|
<b>MAC:</b>
|
||||||
</td>
|
</td>
|
||||||
<td>'
|
<td class="anonymize">'
|
||||||
.$node_mac.
|
.$node_mac.
|
||||||
'</td>
|
'</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -127,7 +127,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="./deviceDetails.php?mac='.$node_parent_mac.'">
|
<a href="./deviceDetails.php?mac='.$node_parent_mac.'">
|
||||||
<b>'.$node_parent_mac.'</b>
|
<b class="anonymize">'.$node_parent_mac.'</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -218,10 +218,10 @@
|
|||||||
'</td>
|
'</td>
|
||||||
<td style="padding-left: 10px;">
|
<td style="padding-left: 10px;">
|
||||||
<a href="./deviceDetails.php?mac='.$row['mac'].'">
|
<a href="./deviceDetails.php?mac='.$row['mac'].'">
|
||||||
<b>'.$row['name'].'</b>
|
<b class="anonymize">'.$row['name'].'</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>'
|
<td class="anonymize">'
|
||||||
.$row['last_ip'].
|
.$row['last_ip'].
|
||||||
'</td>
|
'</td>
|
||||||
</tr>';
|
</tr>';
|
||||||
@@ -407,7 +407,7 @@
|
|||||||
'</td>
|
'</td>
|
||||||
<td style="padding-left: 10px;">
|
<td style="padding-left: 10px;">
|
||||||
<a href="./deviceDetails.php?mac='.$row['mac'].'">
|
<a href="./deviceDetails.php?mac='.$row['mac'].'">
|
||||||
<b>'.$row['name'].'</b>
|
<b class="anonymize">'.$row['name'].'</b>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>'
|
<td>'
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
|
|
||||||
// External files
|
// External files
|
||||||
require '/home/pi/pialert/front/php/templates/timezone.php';
|
require '/home/pi/pialert/front/php/templates/timezone.php';
|
||||||
|
require '/home/pi/pialert/front/php/templates/language/lang.php';
|
||||||
require '/home/pi/pialert/front/php/server/db.php';
|
require '/home/pi/pialert/front/php/server/db.php';
|
||||||
require '/home/pi/pialert/front/php/server/util.php';
|
require '/home/pi/pialert/front/php/server/util.php';
|
||||||
|
|
||||||
|
|||||||
@@ -137,9 +137,19 @@ if ($ENABLED_DARKMODE === True) {
|
|||||||
<div class="navbar-custom-menu">
|
<div class="navbar-custom-menu">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<!-- Server Status -->
|
<!-- Server Status -->
|
||||||
<li><a onclick="setCache('activeMaintenanceTab', 'tab_Logging_id')" href="/maintenance.php#tab_Logging"><code id="state"></code></a></li>
|
<li>
|
||||||
|
<a onclick="setCache('activeMaintenanceTab', 'tab_Logging_id')" href="/maintenance.php#tab_Logging">
|
||||||
|
<div class="header-status">
|
||||||
|
<code id="state"></code>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
<!-- Server Name -->
|
<!-- Server Name -->
|
||||||
<li><a style="pointer-events:none;"><?php echo gethostname();?> <span id="PIA_Servertime_place"></span></a></li>
|
<li>
|
||||||
|
<div class="header-server-time small">
|
||||||
|
<div><?php echo gethostname();?></div> <div><span id="PIA_Servertime_place"></span></div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
|
||||||
<!-- Header right info -->
|
<!-- Header right info -->
|
||||||
<li class="dropdown user user-menu">
|
<li class="dropdown user user-menu">
|
||||||
|
|||||||