sharandac/My-TTGO-Watch
소개
ESP32 기반 스마트워치형 기기를 위한 GUI인 hedge입니다. 현재 T-Watch2020(V1, V2, V3), T-Watch2021, M5Paper, M5Core2를 지원하며, 테스트를 위해 Linux에서 네이티브로 실행할 수도 있습니다.
기타 프로젝트What you can do
- BLE communication
- Time synchronization via BLE
- Notification via BLE
- Wake-up on wrist rotation
측정된 스타 증가
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalMy-TTGO-Watch
A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021 (V1 and V2, no ota-updates), M5Paper, M5Core2, WT32-SC01 and native Linux support for testing.
Features
BLE communication
Time synchronization via BLE
Notification via BLE
Step counting
Wake-up on wrist rotation
Quick actions:
- WiFi
- Bluetooth
- GPS
- Luminosity
- Sound volume
Multiple watch faces:
- Embedded (digital)
- Community based watchfaces
Multiple 'apps':
- Music (control the playback of the music on your phone)
- Navigation (displays navigation instructions coming from the companion app)
- Map (displays a map)
- Notification (displays the last notification received)
- Stopwatch (with all the necessary functions such as play, pause, stop)
- Alarm
- Step counter (displays the number of steps and daily objective)
- Weather
- Calendar
- IR remote
- ...
Companion apps: Gadgetbridge
Install
Clone this repository and open it with platformIO. Select the right env and then build and upload. Or follow the great step by step tutorial from ShotokuTech.
Please check out https://github.com/sharandac/My-TTGO-Watch/blob/709ed0c5863435aa966c1d6f44552ddc0909a57c/src/hardware/wifictl.cpp#L256-L261 to setup your wifi when wps or input via display is not possible.
If you are interested in native Linux support, please install sdl2, curl and mosquitto dev lib and change the env to emulator_* in platformIO.
sudo apt-get install libsdl2-dev libcurl4-gnutls-dev libmosquitto-dev build-essential
Known issues
- the webserver crashes the ESP32 really often
- the battery indicator is not accurate, rather a problem with the power management unit ( axp202 )
Development on the Windows platform
The development tools have a known issue with the size of the project on Windows platforms. When the program is built you may receive the following error:
xtensa-esp32-elf-g++: error: CreateProcess: No such file or directory
*** [.pio\build\t-watch2020-v1\firmware.elf] Error 1
This issue has not been seen on Linux or other platforms. This is a linker issue and can be fixed by removing apps. To remove unneeded apps you can simply delete the appropriate directory in /src/app. Then simply recompile. App can be added in the same way. But note that the app must support autocall_function . This allows the automatic integration of apps without touching the rest of the code ( the magic behind autocall_function ).
Since each app includes a different set of files, you may need to delete several apps to reduce it small enough for the Windows build.
How to use
Cf. Usage
Forks that are recommended
Pickelhaupt
FantasyFactory
NorthernDIY
linuxthor
d03n3rfr1tz3
lunokjod
For the programmers
Cf. contribution guide
app autocall function the magic behind autocall_function or add a app without touching the rest
Interface
TTGO T-Watch 2020

M5Paper ( downscaled )

M5Core2

WT32-SC01

TTGO T-Watch 2021

Contributors
Special thanks to the following people for their help:
5tormChild
bwagstaff
chrismcna
datacute
fliuzzi02
guyou
jakub-vesely
joshvito
JoanMCD
NorthernDIY
Neuroplant
paulstueber
pavelmachek
rnisthal
ssspeq
and the following projects:
ArduinoJson
AsyncTCP
ESP32SSDP
ESP32-targz
ESP8266Audio
ESPAsyncWebServer
LVGL
NimBLE-Arduinoh2zero/NimBLE-Arduino
pubsubclient
TinyGPSPlus
TFT_eSPI
TTGO_TWatch_Library
Every Contribution to this repository is highly welcome! Don't fear to create pull requests which enhance or fix the project, you are going to help everybody.
If you want to donate to the author then you can buy me a coffee.
관련 프로젝트 살펴보기
불러오는 중…