Estim2bapi
Unofficial Python API for the E-stim 2B.
Install / Use
/learn @fredhatt/Estim2bapiREADME
About estim2bapi
This is an (unofficial) Python API for the E-Stim 2B. Note that this is alpha software, and thus comes with absolutely no warranty whatsoever. Use at your own risk.
Installation
For users
You can install using the pip command:
pip install git+https://github.com/fredhatt/estim2bapi.git
If you don't have pip in your Python distribution you can install it using,
easy_install pip
or (on Debian-based systems like Raspbian):
apt-get install python-pip
After installing, try the examples to check everything is working properly.
For developers
Clone this repository and append its path to your PYTHONPATH variable. In Linux you would do this:
git clone https://github.com/fredhatt/estim2bapi
echo "export PYTHONPATH=$PYTHONPATH:$(pwd)/estim2bapi" >> ~/.bashrc
source ~/.bashrc
Usage
# import the module and connect to 2B connected to ttyUSB0 (Linux)...
import estim2b
e2b = estim2b.Estim('/dev/ttyUSB0')
# get status from 2B...
e2b.status()
For a simple usage example see example.py.
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
