* Bug fixes and Distinctive aliases
Fixed an exception when a Type was not registered in the dictionary
Added distinctive aliases for hardware and sensors to prevent confusion due to duplicated names
Reviewed units and factors
* Skip null values as per #1979
* On prometheus null value show full tagName if possible
* Using Dictionaries to keep track of hardware and sensor's names
* Fixing some logic errors.
* Bugfix: Typo in message
* Report up to 5 values per sensor.
* Renamed variables for clarity
Modified labels as requested
* Removed unused variables
Fixed error in dictionary key
* Fixed a logic error
* Removed remote debug
* Replaced alilas logic for a simpler `name (id)`
* Bugfix: Prometheus requires a colon here
Specially in strict mode and in victoriametrics.
* Forcing invariant locale conversion of numbers.
* Minor Code formatting
* Bug fixes and Distinctive aliases
Fixed an exception when a Type was not registered in the dictionary
Added distinctive aliases for hardware and sensors to prevent confusion due to duplicated names
Reviewed units and factors
* Skip null values as per #1979
* On prometheus null value show full tagName if possible
* Using Dictionaries to keep track of hardware and sensor's names
* Fixing some logic errors.
* Bugfix: Typo in message
* Report up to 5 values per sensor.
* Renamed variables for clarity
Modified labels as requested
* Removed unused variables
Fixed error in dictionary key
* Fixed a logic error
* Removed remote debug
* Replaced alilas logic for a simpler `name (id)`
* Bugfix: Prometheus requires a colon here
Specially in strict mode and in victoriametrics.
* Forcing invariant locale conversion of numbers.
* Minor Code formatting
* Misc
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Experimental Prometheus support
Refactors text response to accept responseType
Generates a plaintext output in prometheus format using standard units and factors
Only called if and when endpoint (/metrics) is accessed
Exceptions are reported in the text output
This tries to minimize changes and uses no extra dependencies
* Changed strings to interpolation and raw literals to improve readability
* Fixed a typo
* Adding the Async HttpServer from Master
* Added back the http headers to SendResponseAsync
* Adding no-cache to sensor and prometheus
* Remove redundant second null check for sensor value
* Add base formatted raw values to data.json for consistent units
* Update HttpServer.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add Selectable Network Interface in Web Server
Update the Web Server port form to allow for editing the network interface the web server is run on. Added storage of the interface to the settings so it is persisted.
This should resolve issue #1089 .
* Update HttpServer.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>
* Add support for electrical conductivity measurements
* Add Aqua Computer high flow NEXT support
* Expose alarm flags as hidden binary sensors
* Update HighFlowNext.cs
* Update ISensor.cs
---------
Co-authored-by: PhyxionNL <7643972+PhyxionNL@users.noreply.github.com>