Skip to main content

Python HTTP client for the Actisense W2K-1 NMEA 2000 Wi-Fi gateway

Project description

w2k-client

Python HTTP client for the Actisense W2K-1 NMEA 2000 Wi-Fi gateway.

Handles login / bearer-token authentication, device info, folder and file listing, and streaming EBL file download.

Requirements

Installation

pip install w2k-client

Usage

from w2k_client import W2KClient

with W2KClient("192.168.4.1", password="admin") as client:
    info = client.get_info()
    print(f"Serial number: {info.serial_number}")

    folders = client.list_data_folders()
    for folder in folders:
        files = client.list_files(folder.name)
        for f in files:
            print(f"  {folder.name}/{f.file_name}  ({f.file_size} bytes)")
            client.download_file(folder.name, f.file_name, dest_dir="/tmp/ebl/")

Download an entire folder

from w2k_client import W2KClient

with W2KClient("192.168.4.1", password="admin") as client:
    paths = client.download_folder("EBL000000", dest_dir="/tmp/ebl/")
    print(f"Downloaded {len(paths)} files")

Notes

  • The W2K-1 exposes its REST API over its own Wi-Fi access point (default SSID/IP: 192.168.4.1).
  • EBL files contain raw NMEA 2000 bus traffic and can be analysed with Actisense tools or third-party parsers.

Disclaimer

This software is provided as-is, without any warranty. Use at your own risk. The authors are not responsible for any damage to devices or data loss.

License

MIT — see LICENSE

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

w2k_client-0.1.0b2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

w2k_client-0.1.0b2-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file w2k_client-0.1.0b2.tar.gz.

File metadata

  • Download URL: w2k_client-0.1.0b2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for w2k_client-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 2d4795d0fb7a29ca998148bad62ce97e203f82ba977f95353fc442b30386ae2b
MD5 5a093b85f5c65101dadbda07a362d6df
BLAKE2b-256 017963266ab69b1af3a01f5728330fef73819054885d331c9415e29195d02e8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for w2k_client-0.1.0b2.tar.gz:

Publisher: publish.yml on koheik/w2k-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file w2k_client-0.1.0b2-py3-none-any.whl.

File metadata

  • Download URL: w2k_client-0.1.0b2-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for w2k_client-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 467b4ee6852f4993f29201eb35b82de52905c4b47de6e78dee8b8cbf2daed36b
MD5 b7f956d79b9699d26c33e9c25b5af0d9
BLAKE2b-256 9dd04ab23c8345773aea6ee593548efa3d8241eefd4f0988fc177ad042646643

See more details on using hashes here.

Provenance

The following attestation bundles were made for w2k_client-0.1.0b2-py3-none-any.whl:

Publisher: publish.yml on koheik/w2k-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page