Welcome to the Joulescope™ Driver project.
Joulescope is an affordable, precision DC energy
analyzer that enables you to build better products.
This user-space C library communicates with Joulescope products to configure
operation and receive data. It supports the JS110, JS220, and JS320
Joulescope models. The first-generation driver introduced in 2019 was
written in Python. While Python proved to be a very flexible language enabling
many user scripts, it was difficult to support other languages.
This second-generation driver launched in 2022 addresses several issues
with the first-generation python driver including:
Improved event-driven API based upon PubSub for easier integration with
user interfaces and other complicated software packages.
Improved portability for easier language bindings.
The python bindings work with the supported Python versions.
To use the python bindings, ensure that you have a compatible version
of python installed on your host computer. Then:
You will also need to install the udev rules. If you are using a modern Linux distribution managed by systemd, using tag-based rules is most likely the right choice:
If your system is not managed by systemd or your user is not assigned a proper login seat (as may be the case when logging in via SSH), using group-based rules is necessery (note that the plugdev group must exist/be created and your user must belong to it):
The Joulescope driver source code is licensed under the
Apache-2.0 license.
The project is free for commercial and non-commercial use.
The bundled third-party libraries are provided
under their respective licenses, as recorded in REUSE.toml.