Skip to content

JKamsker/XSense-Extractor

Repository files navigation

XSenseExtractor

XSenseExtractor is a .NET Tool to extract data from XSense sensors.
It provides a command-line interface to interact with XSense, allowing you to retrieve data from the sensors and display it in human and machine-readable formats.

Installation and Usage

XSenseExtractor can be easily installed and updated as a .NET Global Tool, allowing you to run it from anywhere on your system. Below are the instructions for installation, updating, and basic usage.

Prerequisites

Installing XSenseExtractor

To install XSenseExtractor as a global tool, open your terminal and run the following command:

dotnet tool install --global XSense-Extractor

This command will download and install the latest version of XSenseExtractor, making it globally available from the command line.

Updating XSenseExtractor

If you already have XSenseExtractor installed and want to update it to the latest version, use the following command:

dotnet tool update XSense-Extractor -g

This will check for the latest version of the tool and update it accordingly.

Usage

Login

Authenticate a user with a username and password.

xsense login --username <USERNAME> --password <PASSWORD>

List Stations

Display all stations and their devices.

xsense stations

Monitor Live Data

Monitor real-time data from a specific station.

xsense monitor --stationId <STATION_ID> [--houseId <HOUSE_ID>]

Retrieve Historical Data

Get historical data for a station or device within a date range.

xsense history --stationId <STATION_ID> [--houseId <HOUSE_ID>] [--deviceId <DEVICE_ID>] --from <START_DATE> --to <END_DATE>


Made with in Austria