Changes

Jump to navigation Jump to search
m
no edit summary
Line 19: Line 19:     
==Upload backup from server A to server B==
 
==Upload backup from server A to server B==
# Save backup on A;
+
# Save backup on server A;
 
# Download it;
 
# Download it;
 
# Switch module ID on server B to A's ID;
 
# Switch module ID on server B to A's ID;
Line 53: Line 53:  
Send command <code>bootrw</code>, then <code>bootro</code>.<br>
 
Send command <code>bootrw</code>, then <code>bootro</code>.<br>
 
Edit /boot/config.txt with data from another server, where all works correctly.
 
Edit /boot/config.txt with data from another server, where all works correctly.
      
==How to add http-API2 converter==
 
==How to add http-API2 converter==
Create folder /home/html/api_v2.
+
# Create folder /home/html/api_v2.
Put the file (index.php) into the folder.
+
# Put the file (index.php) into the folder.
Enable API in LTsetup
+
# Enable API in LTsetup
Request example: http://192.168.67.154/api_v2/?{"request":"status-get","addr":"395:14","API-KEY":"08283242722612433"}
+
# Request example: <nowiki>http://192.168.67.154/api_v2/?{"request":"status-get","addr":"395:14","API-KEY":"08283242722612433"}</nowiki>
<div class="mw-collapsible mw-collapsed" style="width:400px">
+
<div class="mw-collapsible mw-collapsed" style="width:800px">
'''index.php'''
+
<center>'''index.php'''</center>
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
<syntaxhighlight lang="php">
 
<syntaxhighlight lang="php">
editor, Interface administrators, Administrators, translation-admin, translator
9,706

edits

Navigation menu