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.
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.
- .NET 8: Make sure you have the .NET 8 installed on your machine. You can download it from the official .NET website.
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.
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.
Authenticate a user with a username and password.
xsense login --username <USERNAME> --password <PASSWORD>
Display all stations and their devices.
xsense stations
Monitor real-time data from a specific station.
xsense monitor --stationId <STATION_ID> [--houseId <HOUSE_ID>]
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>