Open main menu
Home
How to do
Din rail devices
Box devices
Sensors
Multiroom
Applicatin
XML
Additional info
Log in
Settings
Larnitech wiki page
Search
Changes
← Older edit
Newer edit →
Troubleshooting unsorted
(view source)
Revision as of 07:26, 11 August 2023
750 bytes added
,
07:26, 11 August 2023
no edit summary
Line 110:
Line 110:
# Enable '''"usb DEBUG"''' on phone and allow it (when connecting USB)
# Enable '''"usb DEBUG"''' on phone and allow it (when connecting USB)
# run: <code>adb logcat shi3a:D *:S</code>
# run: <code>adb logcat shi3a:D *:S</code>
+
+
==How to install Air Raid alarm on old server==
+
1. Add info about plugin to /home/sh2/plugins/list.json
+
{
+
"id": "air_alarm",
+
"package": "ltplugin-airalarm",
+
"name": "Air Alarm",
+
"enabled": 1,
+
"description": "TXT_PLUGIN_AIR_ALARM_DESCRIPTION"
+
}
+
+
2. Run next commands via SSH
+
chmod 666 /home/plugins/air_alarm/shsp-airalarm-args.json
+
chmod 755 /home/plugins/air_alarm/air_alarm.py
+
ln -s /home/plugins/air_alarmHtml/js/page.js /home/html/js/modules/plugins/air_alarm.js
+
ln -s /home/plugins/air_alarmHtml/templates/page.html /home/html/templates/general_plugins/plugins/air_alarm.html
+
ln -s /home/plugins/air_alarmHtml/php/page.php /home/html/api/modules/plugins/air_alarm.api.php
+
systemctl stop ltplugin-airalarm
+
systemctl start ltplugin-airalarm
Support
editor,
Interface administrators
,
Administrators
, translation-admin, translator
9,750
edits