Skip to main content

Communicate with Simarine devices using asyncio and Python

Project description

spymarine

A library for spying on Simarine devices and their sensor values using asyncio and Python

Based on the fantastic reverse engineering work of https://github.com/htool/pico2signalk

Only tested with Simarine Pico rev2

Getting Started

Run the following code on the same network that the Simarine device is connected to:

import spymarine

# Print all devices and their latest sensor values every second
async with spymarine.DeviceReader() as reader:
    while True:
        await reader.read_sensors()
        print(reader.devices)
        await asyncio.sleep(1)

Author

Christopher Strack

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

spymarine-0.1.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

spymarine-0.1-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file spymarine-0.1.tar.gz.

File metadata

  • Download URL: spymarine-0.1.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for spymarine-0.1.tar.gz
Algorithm Hash digest
SHA256 f364ab9a46c6f4207a9522f7ad9633190c3d6c385f314505af55f46614d5414c
MD5 cebda8a8471bb963a97d8382b78165c6
BLAKE2b-256 5cf8d53af0fb798c458f7b3fd6a4add77facdd96f2c76226dcb543eff5d7f40b

See more details on using hashes here.

File details

Details for the file spymarine-0.1-py3-none-any.whl.

File metadata

  • Download URL: spymarine-0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for spymarine-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ce306e12226b8cc07a01cf13f6938989768d873fcb43b11397cd1d64d2cfc05
MD5 7cbd6aeaeb3cab1d2a9904d77ae3f0e7
BLAKE2b-256 61d195bf7da8919cb545adb38129a104f8e4e4758084be25936e8b5d4f4e46d5

See more details on using hashes here.

Supported by

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