Skip to content

Portalum/Portalum.WindSensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Portalum.WindSensor

Gill Instruments WindSonic Sensor

🇩🇪 Portalum WindSensor Webserver -- README (Deutsch)

Voraussetzungen

  • .NET Runtime 8 muss auf dem System installiert sein.

Einstellungen des Windsensors (RS485-Modul)

/*
 * USR CONFIGURATION
 * 
 * GILL Wind Sensor
 * Connector A: Green and Pink Cable
 * Connector B: Yellow and Violet Cable
 *
 * BaudRate: 9600
 * DataSize: 8bit
 * Parity: None
 * StopBits: 1
 * Local Port Number: 8005
 * Work Mode: TCP Server
 * Reset: false
 * Link: true
 * Index: false
 * Similar: RFC2217: true
 */

Konfiguration

  1. Öffne die Datei appsettings.json.
  2. Trage die IP-Adresse und den Port des RS485-Moduls des Windsensors ein:
"WindSensor": {
  "Rs485Module": {
    "IpAddress": "10.15.0.36",
    "Port": 8005
  }
}

Anwendung starten

Starte die Anwendung mit:

Portalum.WindSensor.Webserver.exe

Messwerte abrufen

Nach dem Start können die aktuellen Windsensordaten über folgende URL abgerufen werden:

http://localhost:8023/cgi-bin/CGI_GetMeasurement.cgi?input_id=1

🇬🇧 Portalum WindSensor Webserver -- README (English)

Requirements

  • .NET Runtime 8 must be installed on the system.

Wind Sensor RS485 Module Settings

/*
 * USR CONFIGURATION
 * 
 * GILL Wind Sensor
 * Connector A: Green and Pink Cable
 * Connector B: Yellow and Violet Cable
 *
 * BaudRate: 9600
 * DataSize: 8bit
 * Parity: None
 * StopBits: 1
 * Local Port Number: 8005
 * Work Mode: TCP Server
 * Reset: false
 * Link: true
 * Index: false
 * Similar: RFC2217: true
 */

Configuration

  1. Open the appsettings.json file.
  2. Insert the IP address and port of the RS485 module:
"WindSensor": {
  "Rs485Module": {
    "IpAddress": "10.15.0.36",
    "Port": 8005
  }
}

Start the application

Start the application using:

Portalum.WindSensor.Webserver.exe

Retrieve measurements

After starting the application, the current wind sensor data can be retrieved using:

http://localhost:8023/cgi-bin/CGI_GetMeasurement.cgi?input_id=1

Install WindSensor as a service

sc.exe create WindService binpath=C:\Portalum\Portalum.WindSensor.Webserver.exe

About

Gill Instruments WindSonic Sensor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published