How robbyatbln/t1000e-telemetry-bot works
This fork adapts MeshCore firmware for the SenseCAP T1000-E as a chat-based telemetry tracker, and adds a Home Assistant integration. The main user flow is a button press or chat request producing location/environment telemetry for delivery through MeshCore, with an optional private-channel flood mode; users can also request a repeated on-device search signal. The tree and excerpts support the T1000-E sensor and mesh-routing layers, while README statements support the broader firmware and Home Assistant capabilities. Some integration wiring is documented but its implementation was not sampled.
Main entry points: target.cpp T1000-E target · Mesh.cpp Mesh routing · Dispatcher.cpp Packet dispatch · config_flow.py Integration setup
Components 18
MeshCore runtime
- Mesh routing
src/Mesh.cpp - Packet dispatch
src/Dispatcher.cpp - Packet model
src/Packet.cpp - Packet queues
src/helpers/StaticPoolPacketManager.cpp - Node identity
src/Identity.cpp
T1000-E firmware
- T1000-E target
variants/t1000-e/target.cpp - Telemetry sensors
variants/t1000-e/target.cpp - T1000-E board
variants/t1000-e/T1000eBoard.h - Location provider
src/helpers/sensors/LocationProvider.h
Home Assistant
- Integration setup
custom_components/meshcore_location/config_flow.py - Location parser
custom_components/meshcore_location/parser.py - GPS tracker
custom_components/meshcore_location/device_tracker.py - Command buttons
custom_components/meshcore_location/button.py - Entity discovery
custom_components/meshcore_location/discovery.py
Other components
- Tracker user
- Chat client
- Private channel
- Tracker map
Connections 18
- Tracker user → Chat client: uses
README.md - Chat client → T1000-E target: requests telemetry
README.md - T1000-E target → Telemetry sensors: queries
variants/t1000-e/target.cpp - Telemetry sensors → Location provider: reads position
- T1000-E target → Mesh routing: sends telemetry
README.md - Mesh routing → Packet dispatch: routes packets
- Packet dispatch → Packet queues: queues packets
- Mesh routing → Node identity: uses identity
- T1000-E target → T1000-E board: runs on
variants/t1000-e/target.cpp - T1000-E target → Chat client: returns telemetry
README.md - T1000-E target → Private channel: floods optionally
README.md - Tracker user → T1000-E target: requests search signal
README.md - Chat client → Integration setup: configures channels
README.md - Private channel → Location parser: provides messages
- Location parser → GPS tracker: extracts locations
README.md - GPS tracker → Tracker map: updates position
README.md - Integration setup → Entity discovery: discovers entities
- Command buttons → Chat client: issues commands
README.md