Changes

no edit summary
Line 1: Line 1: −
==Disk usage error==
  −
Check what folder is full:
  −
<syntaxhighlight lang="bash">
  −
cd /storage
  −
du -h -d 1
  −
</syntaxhighlight>
  −
If folder is <code>/storage/history</code>, then write in screen:
  −
<syntaxhighlight lang="c">
  −
history delete old
  −
</syntaxhighlight>
  −
This will delete history of connected devices.
  −
   
==Registering email with no verification==
 
==Registering email with no verification==
 
testemail@gmail.com.no-check
 
testemail@gmail.com.no-check
Line 19: Line 7:     
==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 28: Line 16:  
# Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.4;
 
# Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.4;
 
# Switch back server mode to 'Default'
 
# Switch back server mode to 'Default'
  −
==Find out password from LT_Setup==
  −
<syntaxhighlight lang="bash">
  −
sqlite3 /home/settings/db/larnitech.db
  −
select * from accounts;
  −
</syntaxhighlight>
      
==Control valve-heating from script==
 
==Control valve-heating from script==
Line 41: Line 23:  
setStatus(1000:102, &strCommand);
 
setStatus(1000:102, &strCommand);
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
==Bluetooth==
 +
# Connect the module.
 +
# Find item in logic with type="json".
 +
# Add sub-type="btunreg" json item.
 +
# Turn on "Edit mode" in the app.
 +
# Connect BT device from menu-> setup-> Bluetooth.
editor, Interface administrators, Administrators, translation-admin, translator
9,706

edits