Skip to content

juangpc/fieldline-opm-client

Repository files navigation

Fieldline OPM Client

Installation

We recommend using the Anaconda package library for system-independent installation.

Next, create a virtual environment:

conda create -n opm_virtual_env python=3.8
conda activate opm_virtual_env

Once you have Python3.8 virtual environment, do the following:

python -m pip install git+https://github.com/juangpc/fieldline-opm-client.git#egg=fieldline_client -r https://raw.githubusercontent.com/juangpc/fieldline-opm-client/main/requirements.txt

Finally, to start the Fieldline client, type:

fieldline_client

Dependencies

  • Python (>=3.8)
  • appdirs==1.4.3
  • ifaddr==0.1.6
  • netifaces==0.10.9
  • numpy==1.18.2
  • protobuf==3.11.3
  • six==1.14.0
  • zeroconf==0.24.5
  • fieldline_api (bundled)

FieldLine API README

Prerequisits:

  • Python 3.8 needs to be installed - due to an issue in the shared memory library that was fixed
  • Download api-example.zip and fieldline_api_XXX.whl
  1. Download and extract api-example.zip
  2. cd api-example
  3. python3.8 -m venv venv
  4. . venv/bin/activate
  5. pip install -r requirements-api.txt
  6. pip install
  7. python main.py

Release Notes

  • 0.0.13 - add SENSOR_READY state
  • 0.0.12 - fix wrong file include
  • 0.0.11 - Add sensor status call
  • 0.0.10 - Few API cleanup items
  • 0.0.2 - add start_adc and stop_adc calls
  • 0.0.1 - initial release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages