Releases: elad-bar/ha-edgeos
Releases · elad-bar/ha-edgeos
Fix json serialization when saving debug data
v2.0.2 Fix json serialization when saving debug data
Fix missing validation of entry
v2.0.1 Fix missing validation of entry
Component refactored to allow faster future integration for additional features.
New features:
- Enable / Disable interface (Ethernet / Bridge) using a new switch per interface
- Enable / Disable interface monitoring for received and sent data / rate / errors / packets and dropped packets using a switch per interface
- Enable / Disable device monitoring for received and sent data and rate (including device tracker) using a switch per interface
- Enable / Disable store debug data to
./storage
directory of HA for API (edgeos.debug.api.json
) and WS (edgeos.debug.ws.json
) data for faster debugging or just to get more ideas for additional features - Firmware Update binary sensor including link to the new firmware
- Warning when prerequisites of traffic analysis (DPI and Export) are not turned on
- Asynchronous data updates of API and WebSocket to handle disconnection better
- New service:
Update configuration
allows to edit configuration of unit, store debug data, log incoming messages and consider away interval
Breaking Changes!
- Most of the configurations moved to be regular components of HA (Log incoming messages, Unit of measurement, Store debug data)
- Configuration UI will hold EdgeOS URL and credentials only:
- Hostname
- Port
- Username
- Password
System
Entity Name | Type | Description | Additional information |
---|---|---|---|
{Router Name} Unit | Select | Sets whether to monitor device and create all the components below or not | |
{Router Name} Unknown devices | Sensor | Represents number of devices leased by the DHCP server | Attributes holds the leased hostname and IPs |
{Router Name} CPU | Sensor | Represents CPU usage | Attributes holds the leased hostname and IPs |
{Router Name} RAM | Sensor | Represents RAM usage | Attributes holds the leased hostname and IPs |
{Router Name} Last Restart | Sensor | Represents last time the EdgeOS was restarted | Attributes holds the leased hostname and IPs |
{Router Name} Firmware Updates | Binary Sensor | New firmware available indication | Attributes holds the url and new release name |
{Router Name} Log incoming messages | Switch | Sets whether to log WebSocket incoming messages for debugging | |
{Router Name} Store Debug Data | Switch | Sets whether to store API and WebSocket latest data for debugging |
Per device
Entity Name | Type | Description | Additional information |
---|---|---|---|
{Router Name} {Device Name} Monitored | Sensor | Sets whether to monitor device and create all the components below or not | |
{Router Name} {Device Name} Received Rate | Sensor | Received Rate per second | Statistics: Measurement |
{Router Name} {Device Name} Received Traffic | Sensor | Received total traffic | Statistics: Total Increment |
{Router Name} {Device Name} Sent Rate | Sensor | Sent Rate per second | Statistics: Measurement |
{Router Name} {Device Name} Sent Traffic | Sensor | Sent total traffic | Statistics: Total Increment |
{Router Name} {Device Name} | Device Tracker | Indication whether the device is or was connected over the configured timeframe |
Per interface
Entity Name | Type | Description | Additional information |
---|---|---|---|
{Router Name} {Interface Name} Status | Switch | Sets whether to interface is active or not | |
{Router Name} {Interface Name} Monitored | Switch | Sets whether to monitor interface and create all the components below or not | |
{Router Name} {Interface Name} Received Rate | Sensor | Received Rate per second | Statistics: Measurement |
{Router Name} {Interface Name} Received Traffic | Sensor | Received total traffic | Statistics: Total Increment |
{Router Name} {Interface Name} Received Dropped Packets | Sensor | Received packets lost | Statistics: Total Increment |
{Router Name} {Interface Name} Received Errors | Sensor | Received errors | Statistics: Total Increment |
{Router Name} {Interface Name} Received Packets | Sensor | Received packets | Statistics: Total Increment |
{Router Name} {Interface Name} Sent Rate | Sensor | Sent Rate per second | Statistics: Measurement |
{Router Name} {Interface Name} Sent Traffic | Sensor | Sent total traffic | Statistics: Total Increment |
{Router Name} {Interface Name} Sent Dropped Packets | Sensor | Sent packets lost | Statistics: Total Increment |
{Router Name} {Interface Name} Sent Errors | Sensor | Sent errors | Statistics: Total Increment |
{Router Name} {Interface Name} Sent Packets | Sensor | Sent packets | Statistics: Total Increment |
Restore value exception handling for WebSocket
v1.2.6 Update manifest.json
Brazilian Portuguese Translation
Add Brazilian Portuguese Translation #66 by @LeandroIssa
WebSocket error handling and logs
- Add line number to WebSocket error log messages
- Add more log messages for WebSocket
`async_get_registry` is deprecated, change to `async_get`, Update pre-commit-config
- Device and Entity registry -
async_get_registry
is deprecated, change toasync_get
- Update pre-commit-config
Hotfix for `Handled %` before first message is being received (division by zero)
v1.2.2 Fix `Handled %` before first message being received (division by zero)
Fix per device rate value & improved WS message parsing
- Fixed incorrect lookup value for Rate (Sent / Received) per device
- Improved message parsing
- Added web socket messages counters to status binary sensor (Received, Ignored, Handled %)
Better support of Home Assistant Statistics
BREAKING CHANGES!
- Added for each interface multiple statistics sensors instead of attributes under the main binary sensor of the interface
- Added for each device multiple statistics sensors instead of attributes under the main binary sensor of the device
- Removed: Uptime sensor, uptime in seconds will be part of the status binary sensor
- Removed: Store debug file from the integration's options
- New service: Generate Debug File to
.storage/edgeos.debug.json