TM_Mikrotik: thermometer for Mikrotik RouterBOARDs
TM_Mikrotik: thermometer for Mikrotik RouterBOARDs
TM_Mikrotik: thermometer for Mikrotik RouterBOARDs
TM_Mikrotik: thermometer for Mikrotik RouterBOARDs

TM_Mikrotik: thermometer for Mikrotik RouterBOARDs

New
-+
10 available
R1,859.00
Shipping
Standard courier shipping from R30
R30 Standard shipping using one of our trusted couriers applies to most areas in South Africa. Some areas may attract a R30 surcharge. This will be calculated at checkout if applicable.
Check my rate
Free collection from Gardens, Cape Town
The seller allows collection for this item and will be in contact with the full collection address once the order is ready. Ready for collection by Thursday, 16 May.
Ready to ship in
The seller has indicated that they will usually have this item ready to ship within 4 business days. Shipping time depends on your delivery address. The most accurate delivery time will be calculated at checkout, but in general, the following shipping times apply:
 
Standard Delivery
Main centres:  1-3 business days
Regional areas: 3-4 business days
Remote areas: 3-5 business days
Buyer Protection How you're covered
Get it now, pay later

Product information

Condition:
New
Location:
South Africa
Product code:
TM_Mikrotik2
Bob Shop ID:
608765720

This version of thermometer TM is designed specifically for Mikrotik RouterBOARDs. Thermometer is connected to the RouterBOARD's serial port and it is powered from the same port. With this thermometer you can measure temperature from 2 points or monitor a status of switch.

This version of thermometer TM Mikrotik is derived from standard serial TM thermometer.

Features of thermometer for Mikrotik

Product is part of Made for Mikrotik program.

  • Thermometer for RouterBoards Mikrotik.
  • Powered from the RouterBoards COM port  extremely low power consumption.
  • Integrated temperature sensor.
  • External input: For second temperature sensor or monitoring the status of switch.
  • External sensor with a length up to 20 m.
  • After turning on the thermometer sends current data (temperature and status of a switch) to RouterBoard every 10 sec.
  • Communication speed 9,6 kBd or 115,2 kBd.
  • Measurement of temperature in Celsius or Fahrenheit.
  • The possibility of an external power supply.
  • The possibility of a serial line connected to a non-standard cable.
  • Measures temperatures from -55 C to +125 C, 0,1 C resolution
  • Operating temperature range: -20 to +70 C
  • This thermometer is a part of Made for Mikrotik program we are among MikroTik Certified Integrators.

Usage

  • How to connect TM Mikrotik to the RouterBOARD Mikrotik.
RouteBoard Mikrotik with thermometer

Thermometer connected to the RouterBoard RB411 (click to enlarge)

Transfer and publishing temperature to the web server

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.

Web thermometer from TM Mikrotik

Example of measured temperature on TM Mikrotik, connected to RouterBoard online teploty.lwq.cz/hostivar

The general procedure, What is needed?
  1. RouterBoard with RS232 or PC with installed RouterOS version 4.x or later (tested with version 5.9 on RB411U).
  2. TM_Mikrotik must be correctly set up using jumper switch. Described in the documentation for thermometer.
  3. After connecting thermometer to RS232 the activity is indicated by LED.
  4. It is necessary to have unused RS232 (software unused port) for connecting TM Mikrotik.
  5. Then set remote-access with logging for serial0 and appropriate scripts.
  6. Data file is uploaded using FTP on the server and second script in RB sends commands to the first script for data processig.
  7. Data is saved to the MySQL database and then presented for example in application code.google.com/p/tmep/
The specific procedure for setting RouterOS on RouterBOARD:

Scripts below is necessary execute via ssh/telnet or RouterBoards terminal.

  1. Turn off the system console on serial0 (on /system console print is serial0 number 0):
    /system console set 0 disabled="yes"
  2. Setting remote-access on serial0 with logging traffic.
    /port remote-access add allowed-addresses=0.0.0.0/0 channel=0 disabled="no" log-file="tm.dat" port="serial0 protocol="raw" tcp-port=0
  3. Create two tasks that run periodically:
First script runs once a day

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
02add 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

More from this seller

View all
R30 shipping
Smokey Gray XK025
R237
R30 shipping
Graphitti Lobo Statue
R10,000
R30 shipping
Bluesky Secrets Amelia SS1903
R305
R30 shipping
Bluesky Secrets Anemona SS1912
R305
Add to cart

Similar products

R30 shipping
Thermometer temperature gauge darkroom film development
R499
R30 shipping
TME - Ethernet Thermometer
R30 shipping
TH2E: Ethernet Thermometer and Hygrometer
R5,622
R30 shipping
TM: RS232 thermometer
R2,924