Main centres: | 1-3 business days |
Regional areas: | 3-4 business days |
Remote areas: | 3-5 business days |
This version of thermometer TM Mikrotik is derived from standard serial TM thermometer.
Thermometer connected to the RouterBoard RB411 (click to enlarge)
The following guide is an example how TM Mikrotik can be used to send temperature on the server and display it in the graph. The author of instructions and scripts is lwq.cz. Thank you for your cooperation.
Example of measured temperature on TM Mikrotik, connected to RouterBoard online teploty.lwq.cz/hostivar
Scripts below is necessary execute via ssh/telnet or RouterBoards terminal.
First script controls turning off remote-access on thermometer port, deleting data file and restarting the logging. This script runs once a day. It can be run more often, but it is necessary only for very slow data lines. Script sends one file with max. file size 150kB, which is logged all day (file size increases file transfer is greatest at night, when the Internet usage drops). If the script ran more often the transferred file would be smaller, but log file in the RouterBoard would be more filled and settings would be changed too often. Permissions are set to the minimum necessary for operation.
01 | / system scheduler |
02 | add disabled= no interval=1d name=Refresh_TM on-event="/port remote-access set 0 d\ |
03 | isabled=yes\r\ |
04 | \n\r\ |
05 | \n:delay 2\r\ |
06 | \n\r\ |
07 | \n/file remove tm.dat\r\ |
08 | \n\r\ |
09 |