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:27, 11 August 2023
65 bytes added
,
07:27, 11 August 2023
→How to install Air Raid alarm on old server
Line 113:
Line 113:
==How to install Air Raid alarm on old server==
==How to install Air Raid alarm on old server==
1. Add info about plugin to /home/sh2/plugins/list.json
1. Add info about plugin to /home/sh2/plugins/list.json
+
<code>
{
{
"id": "air_alarm",
"id": "air_alarm",
Line 120:
Line 121:
"description": "TXT_PLUGIN_AIR_ALARM_DESCRIPTION"
"description": "TXT_PLUGIN_AIR_ALARM_DESCRIPTION"
}
}
+
</code>
2. Run next commands via SSH
2. Run next commands via SSH
+
<syntaxhighlight lang="bash">
+
chmod 666 /home/plugins/air_alarm/shsp-airalarm-args.json
chmod 666 /home/plugins/air_alarm/shsp-airalarm-args.json
chmod 755 /home/plugins/air_alarm/air_alarm.py
chmod 755 /home/plugins/air_alarm/air_alarm.py
Line 129:
Line 133:
systemctl stop ltplugin-airalarm
systemctl stop ltplugin-airalarm
systemctl start ltplugin-airalarm
systemctl start ltplugin-airalarm
+
</syntaxhighlight>
Support
editor,
Interface administrators
,
Administrators
, translation-admin, translator
9,750
edits