Skip to main content

GPIO controller connector

% start synopsis Connects MoaT-Link to GPIO lines via the moat-lib-gpio library. % end synopsis

% start main

This module bridges MoaT-Link values and GPIO controller lines, in both directions. It replaces the legacy moat-kv-gpio package.

Quick start

  1. Configure an input line (reads GPIO and publishes to a link path):

    moat link gpio port myhost 0 5 -t input -m read -a dest .sensors.button
    
  2. Configure an output line (watches a link path and drives GPIO):

    moat link gpio port myhost 0 3 -t output -m write -a src .controls.lamp
    
  3. Run the connector for a chip:

    moat link gpio monitor myhost 0
    

    The host name defaults to this machine's node name; omit the chip name(s) to monitor every chip configured for the host:

    moat link gpio monitor
    

Deprecation

This package supersedes moat-kv-gpio. The address tree now lives in MoaT-Link under the gpio prefix; lines are stored as integer line numbers below host and chip entries.

% end main

Metadata

Release files for moat-link-gpio 0.2.4

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

Source distribution (sdist)

Source distribution for moat-link-gpio 0.2.4
File Size Uploaded Provenance Actions
moat_link_gpio-0.2.4.tar.gz 13.8 kB Without provenance Details for moat_link_gpio-0.2.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for moat-link-gpio 0.2.4
File Interpreter ABI Platform Actions
moat_link_gpio-0.2.4-py3-none-any.whl Python 3 none any Details for moat_link_gpio-0.2.4-py3-none-any.whl

Total release size: 27.4 kB

Security for moat-link-gpio 0.2.4

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