Changes
Jump to navigation
Jump to search
381 bytes added
, 27 February
Line 1: |
Line 1: |
− | Deleting history (for full hdd)
| + | ==Registering email with no verification== |
− | | |
− | Connect via SSH -> screen -rx -> history delete old
| |
− | | |
− | | |
− | Registering email with no verification | |
− | | |
| testemail@gmail.com.no-check | | testemail@gmail.com.no-check |
− | if there is ".no-check" in the email address it will not send email for vefirication | + | if there is ".no-check" in the email address it will not send email for vefirication |
− | | |
− | | |
− | Alice
| |
| | | |
| + | ==Alice== |
| https://dialogs.yandex.ru/store/skills/f636b340-larnitech | | https://dialogs.yandex.ru/store/skills/f636b340-larnitech |
| | | |
| + | ==Upload backup from server A to server B== |
| + | # Save backup on server A; |
| + | # Download it; |
| + | # Switch module ID on server B to A's ID; |
| + | # Copy and save somewhere B server's sn from logic->hw; |
| + | # Install needed plugins; |
| + | # Switch server mode to 'Gateway'; |
| + | # Upload backup to B and restore it; |
| + | # Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.4; |
| + | # Switch back server mode to 'Default' |
| | | |
− | Upload backup from server A to server B
| + | ==Control valve-heating from script== |
− | | + | <syntaxhighlight lang="C"> |
− | 1. Save backup on A;
| + | sprintf(strCommand, "%03d:%03d0ts:%d",ID, SID, setpoint); |
− | | + | strCommand[7]=0; |
− | 2. Download it;
| + | setStatus(1000:102, &strCommand); |
− | | + | </syntaxhighlight> |
− | 3. Copy and save somewhere server's sn from hw.
| |
− | | |
− | 4. Switch module ID on server B to A's ID;
| |
− | | |
− | 5. Switch server mode to 'Gateway'
| |
− | | |
− | 6. Upload backup to B and restore it
| |
| | | |
− | 6. Switch sn="xxxxxxxx" on B in logic.xml to the sn from p.3
| + | ==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. |