An open API service indexing awesome lists of open source software.

https://github.com/jkamsker/xsense-extractor

Tool to retreive sensor data from X-Sense
https://github.com/jkamsker/xsense-extractor

cli home-assistant home-automation sensor x-sense xsense

Last synced: 7 months ago
JSON representation

Tool to retreive sensor data from X-Sense

Awesome Lists containing this project

README

          

# XSenseExtractor

`XSenseExtractor` is a .NET Tool to extract data from [XSense](https://de.x-sense.com/products/x-sense-wlan-hygrometer-thermometer-innen-1er-pack-erfordert-basisstation-sbs50) 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

- .NET 8: Make sure you have the .NET 8 installed on your machine. You can download it from [the official .NET website](https://dot.net/download).

### Installing XSenseExtractor

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

```shell
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:

```shell
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.

```shell
xsense login --username --password
```
### List Stations

Display all stations and their devices.

```shell
xsense stations
```

### Monitor Live Data

Monitor real-time data from a specific station.

```shell
xsense monitor --stationId [--houseId ]
```

### Retrieve Historical Data

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

```shell
xsense history --stationId [--houseId ] [--deviceId ] --from --to
```

##


Made with in Austria