Skip to content

Latest commit

 

History

History

TLSR825x

AdScanerTrg - relay control from external BLE sensors for temperature, humidity, lighting, motion, reed switch. A repeater of BLE advertising packages.

Used SoC TLSR825x (module: TB-03F, TB-04, ...)

Controls three relay outputs:

  1. Switching on at a given temperature and / or humidity with hysteresis.
  2. Switch the lamp at a given level of illumination and / or motion detection.
  3. Repeater of the state of the reed switch LYWSD03MMC fw:pvvx.

Supported BLE sensors devices: LYWSD03MMC, CGG1-M, MHO-C401, LYWSD02, ...

In connection mode, it has the ability to work as a repeater - scanner BLE advertising from other devices.

TelinkOTA - https://pvvx.github.io/UBIA/TelinkOTA.html

Install the Advertising type: "custom" on the custom firmware (https://github.com/pvvx/ATC_MiThermometer), Reed Switch (GPIO PA6 - label on the "P8" pin for LYWSD03MMC).

AdScanerTrgHtml.gif

Run AdScanerTrg2.html and configure the MAC, bindkey of the sensors devices

Building the firmware

Windows:

  1. Go to wiki.telink-semi.cn and get the IDE for TLSR8 Chips.
  2. Install the IDE and import the project
  3. Compile the project

Ubuntu:

  git clone https://github.com/pvvx/ATC_MiThermometer.git
  cd ATC_MiThermometer
  make