Skip to content

Exception response 129 / 0 while reading switches #78

@Doorshifter

Description

@Doorshifter

System Health details

System Information

version core-2025.6.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.3
os_name Linux
os_version 6.12.23-haos
arch aarch64
timezone Europe/Amsterdam
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
HACS Data ok
GitHub API Calls Remaining 5000
Installed Version 2.0.5
Stage running
Available Repositories 2022
Downloaded Repositories 7
Solcast Solar
can_reach_server ok
Home Assistant Cloud
logged_in false
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 15.2
update_channel stable
supervisor_version supervisor-2025.05.5
agent_version 1.7.2
docker_version 28.0.4
disk_total 916.9 GB
disk_used 28.3 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board odroid-m1
supervisor_api ok
version_api ok
installed_addons Advanced SSH & Web Terminal (20.0.2), File editor (5.8.0), UniFi Network Application (4.1.0), WireGuard (0.11.0), AdGuard Home (5.2.10), Samba share (12.5.1), MariaDB (2.7.2), Glances (0.21.1), Mosquitto broker (6.5.1), Music Assistant Server (2.5.4), Squeezelite (0.0.21), phpMyAdmin (0.11.1)
Dashboards
dashboards 4
resources 2
views 12
mode storage
Network Configuration
adapters lo (disabled), end0 (enabled, default, auto), docker0 (disabled), hassio (disabled), vethb0b1a13 (disabled), vetha17cbdc (disabled), vethd6e45c9 (disabled), veth9e14190 (disabled), veth0c1141e (disabled), veth8866026 (disabled), veth1640f8c (disabled), veth8ac8b13 (disabled), vethdfee3f2 (disabled), veth7b068c9 (disabled), vethce47b24 (disabled), veth29c88c3 (disabled)
ipv4_addresses lo (127.0.0.1/8), end0 (192.168.2.222/24), docker0 (172.30.232.1/23), hassio (172.30.32.1/23), vethb0b1a13 (), vetha17cbdc (), vethd6e45c9 (), veth9e14190 (), veth0c1141e (), veth8866026 (), veth1640f8c (), veth8ac8b13 (), vethdfee3f2 (), veth7b068c9 (), vethce47b24 (), veth29c88c3 ()
ipv6_addresses lo (::1/128), end0 (fe80::65f9:9b71:4ca8:60a3/64), docker0 (fe80::6ce0:11ff:fe75:7090/64), hassio (fe80::c34:abff:feb1:1736/64), vethb0b1a13 (fe80::9cdf:29ff:feba:7463/64), vetha17cbdc (fe80::209c:72ff:fe43:672a/64), vethd6e45c9 (fe80::b4e6:d2ff:fed0:a329/64), veth9e14190 (fe80::90bf:7fff:fe24:198c/64), veth0c1141e (fe80::3041:2cff:feb2:4266/64), veth8866026 (fe80::e05b:1eff:fe2a:6a03/64), veth1640f8c (fe80::dc54:18ff:fe36:b90e/64), veth8ac8b13 (fe80::b0a8:9cff:fe8e:bca9/64), vethdfee3f2 (fe80::543f:82ff:fe0b:295d/64), veth7b068c9 (fe80::3417:eeff:fe79:a496/64), vethce47b24 (fe80::802f:aff:fe9c:e303/64), veth29c88c3 (fe80::7883:cff:fef2:8e94/64)
announce_addresses 192.168.2.222, fe80::65f9:9b71:4ca8:60a3
Recorder
oldest_recorder_run March 17, 2025 at 14:54
current_recorder_run June 14, 2025 at 15:51
database_engine mysql
database_version 10.11.6

Checklist

  • I have enabled debug logging for my installation.
  • I have filled out the issue template to the best of my ability.
  • This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
  • This issue is not a duplicate issue of any previous issues..

Describe the issue

I have defined quite a few switches in my definitions config like this example:

nibe_holding_register_19:
name: Holiday function status
address: 19
control: switch
switch:
"on": 1
"off": 0
entity_category: config
entity_registry_enabled_default: True

without exception they generate the reading error like this:

This error originated from a custom integration.

Logger: pymodbus.logging
Source: custom_components/modbus_local_gateway/transaction.py:16
integration: Modbus Local Gateway (documentation, issues)
First occurred: 15:52:32 (1596 occurrences)
Last logged: 16:00:37

Exception response 129 / 0

The occurrence counter increases over time. Their state is and stays 'Unknown".

Reproduction steps

define a switch in this fashion with all the fields I used, which I think are syntactically correct:

nibe_holding_register_19:
name: Holiday function status
address: 19
control: switch
switch:
"on": 1
"off": 0
entity_category: config
entity_registry_enabled_default: True

save the device config file and restart the HA system. check the system log for error thrown.

home-assistant_modbus_local_gateway_2025-06-14T13-54-42.033Z.log

Debug logs

see attached debug file is too large for debug log box.

Diagnostics dump

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions