Skip to content

Commit

Permalink
Update LibreTuya references to LibreTiny
Browse files Browse the repository at this point in the history
  • Loading branch information
Cossid committed Jul 23, 2023
1 parent e6f7604 commit c3a2a07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-custom-ap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
python -m pip install --upgrade pip
pip install --upgrade platformio
- name: Install LibreTuya platform
- name: Install LibreTiny platform
run: |
pio platform install -f https://github.com/kuba2k2/libretuya
pio platform install -f https://github.com/kuba2k2/libretiny
- name: Get current build date
id: build
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A detailed writeup about how this works will probably be here at some point.

Lightleak is used together with the [Cloudcutter Android](https://github.com/tuya-cloudcutter/cloudcutter-android) application. Currently, there's no other way to use it.

Additionally, you need a device (ESP32/ESP8266/BK7231 or RTL8710B with LibreTuya) to serve as a dummy Wi-Fi Access Point - hereinafter referred to as `CustomAP device`. This will be configured and used by the Android app throughout the process. The [`platformio-custom-ap`](https://github.com/tuya-cloudcutter/lightleak/tree/master/platformio-custom-ap) directory contains a PlatformIO project that can be compiled on any of the platforms mentioned above. You need to download this code, build it, and upload to your device of choice.
Additionally, you need a device (ESP32/ESP8266/BK7231 or RTL8710B with LibreTiny) to serve as a dummy Wi-Fi Access Point - hereinafter referred to as `CustomAP device`. This will be configured and used by the Android app throughout the process. The [`platformio-custom-ap`](https://github.com/tuya-cloudcutter/lightleak/tree/master/platformio-custom-ap) directory contains a PlatformIO project that can be compiled on any of the platforms mentioned above. You need to download this code, build it, and upload to your device of choice.

Plug in the CustomAP device and make sure it works (a `LightleakIdle` Wi-Fi network should be available - scan with your smartphone or laptop). Do not connect to the network manually.

Expand Down
6 changes: 3 additions & 3 deletions platformio-custom-ap/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ lib_deps =
bakercp/CRC32@^2.0.0

[env:bk7231t]
platform = libretuya
platform = libretiny
board = generic-bk7231t-qfn32-tuya
build_flags =
-D LT_UART_DEFAULT_PORT=1
-D LT_UART_SILENT_ALL=1

[env:bk7231n]
platform = libretuya
platform = libretiny
board = generic-bk7231n-qfn32-tuya
build_flags =
-D LT_UART_DEFAULT_PORT=1
-D LT_UART_SILENT_ALL=1

[env:rtl8710bn]
platform = libretuya
platform = libretiny
board = generic-rtl8710bn-2mb-788k

[env:esp32]
Expand Down

0 comments on commit c3a2a07

Please sign in to comment.