ADD Telemetrix ESP32 Features #22
Conversation
…in_value, shutdown
Feature/daq move fanheater See merge request projet_pymodaq_2026/pymodaq-plugins-arduino!1
feature/sensor-pt100-max31865 See merge request projet_pymodaq_2026/pymodaq-plugins-arduino!2
Add Feature ADS1115.py See merge request projet_pymodaq_2026/pymodaq-plugins-arduino!3
I2C-FIX See merge request projet_pymodaq_2026/pymodaq-plugins-arduino!4
- remove .claude/settings.local.json (local Claude Code config from a dev machine) - remove pixi.toml, pixi.lock, setup_dev.py (local dev tooling, unused by PyMoDAQ) - restore upstream CI workflows (.github/workflows/*) and .gitignore - restore template package dirs removed during development (daq_viewer_plugins/plugins_1D, plugins_2D, plugins_ND, exporters, models) Net change vs upstream/5.0.x is limited to the new features.
- esp32_telemetrix: import telemetrix_aio_esp32 lazily inside _init_board instead of at module level, so plugin discovery and the test suite work even when telemetrix_aio_esp32 (or its bleak dependency) is missing or incompatible (the CI runner ships a bleak version without `discover`). - remove tests/test_esp32.py: a manual hardware diagnostic script (no pytest tests) that broke test collection by importing telemetrix at module top. Fixes CI failures: test_move_inst_plugins_name, test_move_has_mandatory_methods and the tests/test_esp32.py collection error.
telemetrix-esp32 imports `from bleak import discover`, removed in bleak 1.0. Pinning bleak<1.0 keeps the dependency importable (the working local version is 0.22.3, which still provides `discover`).
|
Do you plan to share your work at some point with the community? It seems you've implemented quite a bit of stuff on this Arduino for pymodaq! |
|
Salut, Je m'excuse pour la confusion avec le titre car je me suis emmêlé les pinceaux avec un autre projet. |
|
Vous me faites signe quand vous êtes prêt à ce que je review ce travail ? |
|
Bonjour ! Je suis le collègue de ELM-CIEL dans notre projet de fin d'année de BTS CIEL en partenariat avec le CETHIL. Pour contextualiser un peu, notre projet était de produire deux plugins PyMoDAQ permettant d'utiliser un Arduino et un Raspberry Pi comme passerelle entre PyMoDAQ et un banc de test (ou tout autre dispositif). Nous avons donc deux forks des deux plugins PyMoDAQ existants :
Le plugin Arduino utilise Telemetrix-ESP32 pour se connecter à PyMoDAQ et le Raspberry utilise ZMQ pour se connecter à PyMoDAQ. Nous avons aussi mis en place un wiki via GitHub Pages pour aider à l'installation, à l'utilisation et à la maintenance des plugins : wiki-plugins-dap-pymodaq.github.io Nous avions pensé à faire une PR des deux plugins lundi matin pour que le CETHIL soit ouvert et puisse review le projet fini. Mais vous pouvez très bien review notre code des deux plugins dès maintenant ; Sébastien Guerrero (travaillant au CETHIL) m'avait même encouragé à vous contacter pour que vous vérifiiez le plugin avant la PR. |
|
je viens de faire un round sur le plugin raspberry, je regarde celui-ci |
seb5g
left a comment
There was a problem hiding this comment.
Some minor changes to be done, overall this is very good!
| 'telemetrix-esp32', | ||
| # telemetrix-esp32 imports `from bleak import discover`, which was removed in | ||
| # bleak 1.0. Pin bleak below 1.0 so telemetrix-esp32 stays importable. | ||
| 'bleak<1.0', |
There was a problem hiding this comment.
you should propose a change/update to telemetrix!
There was a problem hiding this comment.
right I'll talk to him about it and bring him an update
|
all changes are in just waiting on telemetrix now |
No description provided.