2.13.0¶
Remote Logger now meets Platinum, the highest level of the Home Assistant Integration Quality Scale (self-assessed). See quality_scale.yaml for how each rule is met.
✨ Enhancements¶
- Diagnostics can be downloaded from the entry's menu, with the token, headers and client key path redacted
- When the collector can't be reached, one warning is logged, and one info message when it is back, instead of a warning on every send
- The Log Events and Postings sensors are disabled by default for new entries, since they change on most updates. Existing entries keep their sensors as they are
- Icons for the diagnostic sensors and the actions
- New Configuration page describing every setting with its default, and how logs are batched and sent
- New Troubleshooting page, including the known limitations
- The translated READMEs have the same additions as the English one
🐛 Bug fixes¶
- Syslog messages that failed to send were counted as successful postings, so the Posting Errors sensor never showed Syslog failures
- The setup and reconfigure forms gave the default batch size as 100 (it is 20) and the default Syslog facility as
user(it islocal0) - The client timeout field had no label or description on any connection form, nor the batch size field on the Syslog forms
📝 Other changes¶
Internal¶
- Minimum test coverage raised from 90% to 95%
- The sensor platform declares
PARALLEL_UPDATES = 0, since its updates only read counters in memory
2.12.0¶
A security review of the integration and of how it is built and released. See the new Security page for what is exported and how to protect it.
🚨 Breaking changes¶
- The
last_logandflushactions are now for administrators only. Automations, and scripts they start, are not affected last_loggives back log content, which Home Assistant otherwise shows only to administrators- Values of event data and state attributes named
code,pin,password,secret,token,access_token,refresh_token,api_key,client_secretorentity_pictureare now exported as**REDACTED** - Alarm and lock codes in action calls, and camera access tokens in state changes, were previously sent to the collector
- Syslog with TLS selected and UDP as the protocol is now refused in the configuration, since UDP was sent unencrypted regardless
- Existing entries set up this way carry on as before, with a warning in the log
- Syslog
APP-NAME,MSGIDand structured data names now have spaces, and other characters RFC 5424 doesn't allow, replaced with_ - Event names, event data keys and
send_logcould previously add or alter fields, such as a second structured data element - An HTTP redirect from an OTLP collector is now an error instead of being followed, since the token and headers would be sent on to the new address. Configure the final address directly
✨ Enhancements¶
- Syslog over TLS can use a private certificate authority, and a client certificate for mutual TLS
- A Home Assistant repair issue is raised when an OTLP token is sent over plain HTTP
- Records added with
send_logby a user carry that user's id asuser.id last_logmasks the value of every configured header, not onlyAuthorization
🐛 Bug fixes¶
- Syslog over TCP kept every record in memory, without limit, while the server couldn't be reached. Waiting records are now capped at 10,000 for both Syslog and OTLP, dropping the oldest
- A line within a Syslog message or stack trace that started with
<could be read as a new record by receivers that split on newlines. Such lines are now indented by a space - The whole error response of an OTLP collector was kept as a sensor attribute, and so recorded. It is now cut to 200 characters, as it already was in the log
- A failure to format an event wrote all of the event's data to the Home Assistant log, now only the event type
📝 Other changes¶
Internal¶
SECURITY.mdadded, with how to report a vulnerability, what the integration trusts, and known limitations- Releases are published by a new Publish Release workflow, run on a draft release, which attaches the zip with a SHA-256 checksum and a build provenance attestation before publishing
- The tests of a pull request run with a read-only token, and pull requests no longer deploy the documentation or badges
- All GitHub Actions are pinned to a commit, and Bandit and zizmor run in CI
- The page view script on the documentation site is pinned to a version, with a subresource integrity hash
- The example Docker Compose files mount the Docker socket read-only and keep the Vector API to the local host
2.11.1¶
✨ Enhancements¶
- Strict RFC 5424 Syslog mode now defaults to SD-ID
homeassistant@67614, using the IANA Private Enterprise Number assigned to Rhizomatics, instead of the RFC 5612 documentation number 32473 - Enter 32473 as the enterprise number to keep the previous SD-ID, e.g. for testing
2.11.0¶
✨ Enhancements¶
- Optional strict RFC 5424 mode for Syslog, for receivers such as Grafana Alloy that check messages closely
- Structured data uses Home Assistant names (
name,source,exception,event_typeand so on) and event data keys are shortened to fit the 32-character limit, e.g.new.attr.friendly_name MSGIDis cut to 32 characters- The SD-ID is
homeassistant@<number>, using an IANA Private Enterprise Number if one is entered, otherwise the RFC 5612 documentation number 32473 - Off by default, so existing Syslog output, with its OTEL names, is unchanged
🐛 Bug fixes¶
- Syslog messages for Home Assistant events other than
system_log_eventhad an unquotedeventName, which strict RFC 5424 receivers rejected (#113) - Syslog
exception.stacktracevalues weren't escaped, so a stacktrace containing",\or]broke the structured data (#113) - Log records from worker threads at the very end of Home Assistant shutdown no longer try to schedule a flush on the stopped event loop, which left a "coroutine was never awaited" warning and counted as a format error
📝 Other changes¶
Internal¶
- mypy now runs in strict mode, meeting the Home Assistant Integration Quality Scale
strict-typingrule
2.10.0¶
🚨 Breaking changes¶
- Support for Python 3.13, and versions of Home Assistant from 2026.4 and earlier no longer supported. They may continue to work, however there's no automated test assurance any longer, and newer features will start to be introduced
- Tested range is Home Assistant 2026.5.0 to 2026.10.x
✨ Enhancements¶
Home Assistant Alignment¶
- Now declared as Bronze on the Home Assistant Integration Quality Scale, with a
quality_scale.yamltracking all the rules - The
send_log,flushandlast_logactions are available before any entry has loaded, and give a clear error when no suitable entry is loaded - Previously
send_logandflushsilently did nothing, andlast_logreturned an empty result - Sensor unique IDs are now based on the config entry ID, so renaming an entry doesn't orphan its sensors
- Existing sensors are migrated automatically, keeping their entity IDs, history and customizations
- Integration category declared in the manifest, as
computers_network.monitoring
🐛 Bug fixes¶
- Re-authentication would have failed from Home Assistant 2026.12, leaving no way to replace an expired token
- Re-authentication could report success while the old token stayed in use
- Syslog over TLS and the configuration check no longer load the CA store in the event loop, which Home Assistant reported as a blocking call
- Authentication failures (401 or 403) now show "Authentication failed" on the configuration and re-authentication forms, rather than a connection failure
- Added the missing message for the mutually-exclusive state changes error in the options form
📚 Documentation¶
- Added removal instructions and an explanation of Reconfigure and Configure to the README and all its translations
quality_scale.yamladded to document how this meets the Home Assistant standards
📝 Other changes¶
Configuration UI¶
- Connection settings, such as host and token, have moved from Configure to Reconfigure in the integration entry's ⋮ menu. Configure now only covers the log level and event settings
- Existing settings are migrated automatically on upgrade
- Setup now checks the connection, so if the remote service is down when Home Assistant starts, the entry goes to "retrying setup" rather than loading and buffering. Logs from that period are not captured
- An OTLP 401 or 403 response starts re-authentication
- Each start or reload of an OTLP entry posts one validation log record to the remote service
Internal¶
- CI tests against both the oldest and newest supported Home Assistant versions
tyconfiguration aligned with other projects and skipped on pre-commit.ci, though it still runs in the local hook### Internalz
Build Process Security¶
- Shared admin workflows pinned to a commit SHA
certifianduvupdated in the development and CI environment, to pick up fixes for the eMudhra CA compromise
2.0.7¶
🐛 Bug fixes¶
- When you flip "Home Assistant state changes" on while the other, mutually-exclusive "state changes (without attributes)" toggle is already on, the flow correctly rejects it (state_changes_exclusive error) — but then re-renders the form using the old stored config values instead of what you just submitted. Now fixed, to use the newly supplied values.
📚 Documentation¶
- Additional Home Assistant events doc now gets a screenshot of what the full dialog looks like, and text improved.
2.0.6¶
✨ Enhancements¶
- OTLP validation now sends a single real log record, clearly marked as a configuration validation message, instead of an empty payload
- Some backends reject empty payloads (Loki with 422, Snowflake Observe with 400), and treating those codes as success also hid genuine problems such as a wrong encoding
- 400 and 422 responses are now reported as connection failures
- The message text is shown in the OTLP setup, options and reauth forms
2.0.5¶
✨ Enhancements¶
Home Assistant Alignment¶
- Counters now persist properly as stats
- Diagnostic counter sensors (format errors, posting errors, events, postings) use the
total_increasingstate class instead ofmeasurement - Warning: existing long-term statistics for these sensors were recorded as measurements (mean/min/max). After upgrading, Home Assistant may report a state class change under Developer Tools → Statistics; use Fix issue there to delete or keep the old statistics
📝 Other changes¶
Internal¶
- Added
tyas additional type checker and tightened up some types - Migrated
hass.datacalls to useentry.runtime_data
2.0.4¶
🐛 Bug fixes¶
- Ruff checks extended, tightened, and fixes applied
- OTel formatting handles infinity correctly
- Dependencies updated
2.0.3¶
🐛 Bug fixes¶
- Prevent
state_changedevent handling mutating event data and interfering with subsequent handlers
2.0.2¶
🐛 Bug fixes¶
- Fixed test issues on CI, and improve HA async compatibility for log event handler
2.0.1¶
🐛 Bug fixes¶
- Validation could fail with a 422 because of the empty payload when used with Loki, this status code is now taken to reflect remote service is available and authenticated
2.0.0¶
✨ Enhancements¶
Root Log Handler¶
- New way to capture logs at any level
system_log_eventbased logging is clean but limited to WARN and ERROR levels- System Log Event usage requires a YAML change to fire event
- Config now has a choice of using Python root logger
- Configurable to a minimum log level (default
INFOcan beDEBUGif needed) which captures all logging - Reuses same logic as System Log to tie back exceptions to source code
- Configurable to a minimum log level (default
1.6.0¶
✨ Enhancements¶
py3.13 and py3.14¶
- Automated testing and linting is done for both Python 3.13 ( with the corresponding 2026.2 max Home Assistant version) and Python 3.14 with the latest Home Assistant public release
Home Assistant Event improvements¶
- Corrected name of
repairs_issue_registry_updated - Improved description of core changes and serializing JSON
- Automation and script events generate title now only with entity_id for clarity and consistency with other events
- Tidied up ConfigFlow UI for Home Assistant standard events
- Defined message titles for all the device/entity/label/floor etc registries
system_log_eventis usually suppressed as an event name, since its noisy in a purely logging context. It can now optionally be emitted like any other event name, helpful if remote_logger being used more as a HA event store
1.5.5¶
✨ Enhancements¶
- Logging improvements - log each custom event subscribed, and more consistency for log prefix
1.5.4¶
✨ Enhancements¶
- Switch event names to multi value rather than multi-line and remove comma separation
- Use multi-value also for custom header configuration
1.5.3¶
✨ Enhancements¶
- Accept comma separated custom event names
1.5.2¶
✨ Enhancements¶
- Remote Logger devices can be renamed in the UI without being replaced by a new device with default identifier
- Suppress error message when aiohttp session is force closed by HA at shutdown
- Switch off buffer at shutdown so all logs captured
1.5.1¶
✨ Enhancements¶
- For JSON, send integers as strings if they're not representable as signed 32 bit values, to meet limitations of JSON, and align with OTLP spec
- For JSON, suppress empty attributes and NaaN float values
1.5.0¶
✨ Enhancements¶
- Timeout for remote posting now configurable, defaults to old hard-coded value 10
- OLTP JSON now in camel case, to suit strict interpretation by some log aggregators, and corrected handling of float/null values
- Added action to manually trigger log flush
- Added action to return the last posted submission to remote log service
- Fix switch from protobuf to JSON for an existing logger
1.4.9¶
- Flush logs to remote back end on all 3 of the Home Assistant closing events
1.4.8¶
- Translations for Dutch, French, German, Hindi, Italian, Japanese, Polish, Portuguese, Simplified Chinese and Spanish
- Vertalingen voor Nederlands, Traductions en français, Übersetzungen auf Deutsch, हिंदी में अनुवाद, Traduzioni in italiano, 日本語の翻訳, Tłumaczenia po polsku, Traduções em português, 简体中文翻译 en traducciones al español
1.4.7¶
- Prettify flattened HA event json
- Rename component in manifest to match public naming
1.4.6¶
- HA event serialization tuning
1.4.5¶
- Retain
messageandeventfor simplified HA events
1.4.4¶
- Update to translation strings for new event serialization
- French and Italian translations added
- Don't double log events generated via system_log.event
1.4.3¶
- Option to serialize Home Assistant events into a single string, other than entity_id, component, domain to avoid schema pollution on log aggregators
1.4.2¶
- Event generation fixes and more tests
1.4.1¶
- HA event generation more flexible in generating human sensible messages
1.4.0¶
- New action (aka service) to generate events directly
- Logs flushed on Home Assistant shutdown
1.3.1¶
- Improve eventName handling
- Allow state changes to be sent without their attributes
1.3.0¶
- Add any HA event to logging, and use the OTEL
event_namefield for them- Pre-bundled events for HA lifecycle and core changes
- Added float handling to protobuf for event attributes
- Defaults now to expect Python 3.14, in line with Home Assistant from 2026.3 onwards
1.2.0¶
- Choice of Authorization headers for Basic, Basic already encoded and ApiKey
1.1.0¶
- More customization for OTLP, now able to use more platforms, including OpenObserve
- Custom HTTP headers
- Bearer token
- Alternative API endpoint or custom path prefix
1.0.0¶
- Dependencies and docs update for public release
0.4.0¶
- Add Device to bundle entities
0.3.0¶
- Unique names for exporters
0.2.0¶
- Add entities to track incoming events, outgoing postings, errors
- Refactor to common exporter class
0.0.5¶
- Use the OpenTelemetry convention of prefixing Syslog structured data parameters with the non-IANA standard
opentelemetry - Messages retried if connection down