Skip to main content

Raspberry Pi

Developed for a Pi Zero W, but should work on the others as well. Just make sure any kind of internet connectivity is available.

Install instructions

Install via pip, but be sure to use the 3 version.

pip3 install raspi_logger

The other possibility is to clone the repo to /home/pi/ and run inside the repo:

python3 setup.py develop

I used a Raspian image for development.

to describe:

  • enable SSH
  • enable WiFi
  • enable W1
  • (depending on kernel version, use GPIO4 and GPIO17 for W1)

Enable one wire on startup

The script raspi_logger/enable_w1.sh enables W1 on GPIO 4 and 17. Run the script with root privileges on each startup. Do that either by hand like:

sudo chmod 755 raspi_logger/enable_w1.sh
sudo crontab -e

And then in the file add the line:

@reboot path/to/raspi-logger/raspi_logger/enable_w1.sh

The CLI of the module can activate the cronjob using the correct paths for you as well. But you need to run python with sudo then and need to install the package for root user as well. Then:

sudo python3 -m raspi_logger enable_w1

Metadata

Release files for raspi-logger 0.3.9

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

Source distribution (sdist)

Source distribution for raspi-logger 0.3.9
File Size Uploaded Provenance Actions
raspi_logger-0.3.9.tar.gz 9.8 kB Without provenance Details for raspi_logger-0.3.9.tar.gz

Release files / raspi_logger-0.3.9.tar.gz

Download URL raspi_logger-0.3.9.tar.gz
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e46ef26a3c1f99a9f29b3cb6abffdf1b8e62f2a43ccc6136cd71d4dc491bab36
BLAKE2b-256 checksum
How to use checksums
cf5191c37f5e22202723f86ae4449ec86475da96bf31f9263393e2593cdca6bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.6

Security for raspi-logger 0.3.9

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