Skip to main content

Telemetrix For The ESP32

Would you like to remotely control and monitor an ESP32 device from your PC using either a WI-FI or Bluetooth Low Energy (BLE) transport? This package provides everything you need to do so.

It consists of Python client APIs to construct your application and firmware installed on the ESP32 device.

The firmware uploaded to the ESP32 device takes advantage of the Arduino Core For The ESP32. As a result, the Arduino IDE is used to compile and upload the firmware to the device.

It is compatible with Windows, Linux, and macOS. It requires the use of Python 3.7 or greater.

NOTE: The threaded BLE version is not Windows compatible, however the asyncio version is compatible.

The following features are supported:

  • Analog Input
  • Analog Output (PWM)
  • Analog Output (DAC)
  • Digital Input
  • Digital Output
  • ESP32 Touch Pin Input
  • i2c Primitives
  • OneWire Primitives
  • SPI Primitives
  • DHT Temperature/Humidity Sensor Support
  • HC-SR04 Sonar Distance Sensor Support
  • Servo Motor Control
  • Stepper Motor Control (AccelStepper)
  • Both WI-FI and BLE Transports Supported
  • Available Online Client APIs:
  • Callbacks provide immediate notifications for fast and efficient input data change notifications.
  • The Code Is Designed To Be User Extensible
  • Integrated Client/Server Debugging Aids Are Included

A User's Guide explaining installation and use is available online.

If you wish to extend Telemetrix's capabilities, a tutorial on how to do so is available.

A complete set of examples is included. Use the horizontal scroll bar at the bottom of the features' table to view all the links.

Feature Feature Type WI-FI Examples WI-FI Asyncio Examples BLE Examples BLE Asyncio Examples
Analog Input GPIO analog_input_wifi.py analog_input_wifi_aio.py analog_input_ble.py analog_input_ble_aio.py
Analog Output (PWM) GPIO fade_wifi.py fade_wifi_aio.py fade_ble.py fade_ble_aio.py
Analog Output (DAC) GPIO dac_wifi.py dac_wifi_aio.py dac_ble.py dac_ble_aio.py
Digital Input GPIO digital_input_wifi.py digital_input_wifi_aio.py digital_input_ble.py digital_input_ble_aio.py
Digital Input Pull Down GPIO digital_input_pulldown_wifi.py digital_input_pulldown_wifi_aio.py digital_input_pulldown_ble.py digital_input_pulldown_ble_aio.py
Digital Input Pull Up GPIO digital_input_pullup_wifi.py digital_input_pullup_wifi_aio.py digital_input_pullup_ble.py digital_input_pullup_ble_aio.py
Digital Output GPIO blink_wifi.py blink_wifi_aio.py blink_ble.py blink_ble_aio.py
Touch Pin Input GPIO touch_wifi.py touch_wifi_aio.py touch_ble.py touch_ble_aio.py
i2c (ADXL345 Accelerometer) Device Communications Bus i2c_adxl345_accelerometer_wifi.py i2c_adxl345_accelerometer_wifi_aio.py i2c_adxl345_accelerometer_ble.py i2c_adxl345_accelerometer_ble_aio.py
OneWire (DS18x20 Thermometer) Device Communications Bus onewire_ds18x20_wifi.py onewire_ds18x20_wifi_aio.py onewire_ds18x20_ble.py onewire_ds18x20_ble_aio.py
SPI (MPU9250 Accelerometer) Device Communications Bus spi_mpu9250_wifi.py spi_mpu9250_wifi_aio.py spi_mpu9250_ble.py spi_mpu9250_ble_aio.py
DHT Temperature/Humidity Sensor Sensor Device Support dht_wifi.py dht_wifi_aio.py dht_ble.py dht_ble_aio.py
HC-SR04 Sonar Distance Sensor Sensor Device Support hc-sr04_distance_sensor_wifi.py hc-sr04_distance_sensor_wifi_aio.py hc-sr04_distance_sensor_ble.py hc-sr04_distance_sensor_ble_aio.py
Servo Motor Motor Control servo_wifi.py servo_wifi_aio.py servo_ble.py servo_ble_aio.py
Stepper Motor (Absolute Position) Motor Control stepper_absolute_wifi.py stepper_absolute_wifi_aio.py stepper_absolute_ble.py stepper_absolute_ble_aio.py
Stepper Motor (Continuous Motion) Motor Control stepper_continuous_wifi.py stepper_continuous_wifi_aio.py stepper_continuous_ble.py stepper_continuous_ble_aio.py
Stepper Motor (Relative Position) Motor Control stepper_relative_wifi.py stepper_relative_wifi_aio.py stepper_relative_ble.py stepper_relative_ble_aio.py
Transport Loopback Diagnostic System Diagnostic loop_back_wifi.py loop_back_wifi_aio.py loop_back_ble.py loop_back_ble_aio.py

Metadata

Release files for telemetrix-esp32 2.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for telemetrix-esp32 2.1.1
File Size Uploaded Provenance Actions
telemetrix_esp32-2.1.1.tar.gz 126.8 kB Without provenance Details for telemetrix_esp32-2.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for telemetrix-esp32 2.1.1
File Interpreter ABI Platform Actions
telemetrix_esp32-2.1.1-py3-none-any.whl Python 3 none any Details for telemetrix_esp32-2.1.1-py3-none-any.whl

Total release size: 332.3 kB

Release files / telemetrix_esp32-2.1.1.tar.gz

Download URL telemetrix_esp32-2.1.1.tar.gz
Size 126.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3002d3fd9089c188cb6d99fe9c293d78905e913a0c20b36861f269ea5faab5f4
BLAKE2b-256 checksum
How to use checksums
e77f87e8f6667e4ac9535ebb43a5a4f5206568942e09ff92d5b6d772a4dc26f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / telemetrix_esp32-2.1.1-py3-none-any.whl

Download URL telemetrix_esp32-2.1.1-py3-none-any.whl
Size 205.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b24fbec97f468160ae0ca98ced7e30457745518fbdf00420a9585b977338872b
BLAKE2b-256 checksum
How to use checksums
7ce4cf921791bb3a7d870272d5067856f6c676653548d274bcc2d0b32b320b83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for telemetrix-esp32 2.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page