Skip to main content

Command line for Wio Link

Project description

Latest Version

Getting Started

Wio Link Client can be installed from PyPI using pip:

pip install wio-cli

A list of global options and supported, commands is shown with --help:

wio --help

More info, that can be used to get help text for a specific command:

wio <command> --help


Login with your Wiolink account:

wio login

Login state:

wio state

$ wio state
email: xxx@xxx.xx
token: 4LxiwvwFAw3C7LiiUQiZh6qOj44tV6KGsXyjp3jVzxx

Displays a list of your devices and their APIs:

wio list

$ wio list
    |-- home (online)
        |-- sn: e3d0dccd4587f40a5d6ffda236755aa4
        |-- token: ce140e79f24717ed7d6d44bfb5d848b2
        |-- resource url:
        |-- well_known:
            |-- GET /v1/node/GroveTempHumProD0/humidity -> float humidity
            |-- GET /v1/node/GroveTempHumProD0/temperature -> float celsius_degree
            |-- GET /v1/node/GroveTempHumProD0/temperature_f -> float fahrenheit_degree

Request api, return json:

wio call <token> <method> <endpoint>

$ wio call c74a110c2e397823f0ce53ef669d5b7f  GET /v1/node/GroveMoistureA0/moisture
{u'moisture': 0}

Add a new device with USB connect:

wio setup

config your main server:

wio config mserver

Project details

Download files

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

Files for wio-cli, version 0.0.16
Filename, size File type Python version Upload date Hashes
Filename, size wio-cli-0.0.16.tar.gz (8.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page