Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Log: Platform meshtastic does not generate unique IDs. #17

Open
4 tasks done
asjmcguire opened this issue Dec 25, 2024 · 9 comments
Open
4 tasks done

Error Log: Platform meshtastic does not generate unique IDs. #17

asjmcguire opened this issue Dec 25, 2024 · 9 comments
Labels
help wanted Extra attention is needed

Comments

@asjmcguire
Copy link

System Health details

System Information

version core-2024.12.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.0
os_name Linux
os_version 6.6.66-haos
arch x86_64
timezone Europe/London
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.1
Stage running
Available Repositories 1502
Downloaded Repositories 40
Home Assistant Cloud
logged_in true
subscription_expiration 20 November 2025 at 00:00
relayer_connected true
relayer_region eu-central-1
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled true
cloud_ice_servers_enabled true
remote_server eu-central-1-11.ui.nabu.casa
certificate_status ready
instance_id d74dbc9c9b6b4563b25a3c274331fe7a
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 14.1
update_channel stable
supervisor_version supervisor-2024.12.0
agent_version 1.6.0
docker_version 27.2.0
disk_total 30.8 GB
disk_used 14.3 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization kvm
board ova
supervisor_api ok
version_api ok
installed_addons Matter Server (6.6.1), Home Assistant Google Drive Backup (0.112.1), File editor (5.8.0), Samba share (12.3.2), ESPHome Device Builder (2024.12.2), Terminal & SSH (9.16.0), Whisper (2.4.0), Piper (1.5.2), Auto Guest Login (1.4.0), Node-RED (18.1.1), Music Assistant Server (beta) (2.4.0b8), Govee to MQTT Bridge (2024.07.13-82ddc6e9), OpenThread Border Router (2.12.2), chrony (5.0.0)
Dashboards
dashboards 11
resources 18
views 64
mode storage
Recorder
oldest_recorder_run 13 December 2024 at 14:56
current_recorder_run 24 December 2024 at 10:02
estimated_db_size 3561.48 MiB
database_engine mysql
database_version 10.7.8

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

Error log complaining that Meshtastic platform component does not generate unique IDs

Reproduction steps

  1. Add gateway to meshtastic integration.
  2. Delete gateway (necessary if the IP address changed)
  3. Re-add gateway
    ...

Debug logs

2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_last_heard is already used by sensor.meshtastic_3663091472_node_last_heard - ignoring sensor.meshtastic_⛅_3663091472_node_last_heard
2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_last_heard is already used by sensor.meshtastic_3663101144_node_last_heard - ignoring sensor.meshtastic_⛅_3663101144_node_last_heard
2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_snr is already used by sensor.meshtastic_3663091472_node_snr - ignoring sensor.meshtastic_⛅_3663091472_node_snr
2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_snr is already used by sensor.meshtastic_3663101144_node_snr - ignoring sensor.meshtastic_⛅_3663101144_node_snr
2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_hops_away is already used by sensor.meshtastic_3663091472_node_hops_away - ignoring sensor.meshtastic_⛅_3663091472_node_hops_away
2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_hops_away is already used by sensor.meshtastic_3663101144_node_hops_away - ignoring sensor.meshtastic_⛅_3663101144_node_hops_away
2024-12-23 11:42:33.919 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_role is already used by sensor.meshtastic_3663091472_node_role - ignoring sensor.meshtastic_⛅_3663091472_node_role
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_role is already used by sensor.meshtastic_3663101144_node_role - ignoring sensor.meshtastic_⛅_3663101144_node_role
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_node_short_name is already used by sensor.meshtastic_3662959096_node_short_name - ignoring sensor.meshtastic_⛅_3662959096_node_short_name
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_short_name is already used by sensor.meshtastic_3663091472_node_short_name - ignoring sensor.meshtastic_⛅_3663091472_node_short_name
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_short_name is already used by sensor.meshtastic_3663101144_node_short_name - ignoring sensor.meshtastic_⛅_3663101144_node_short_name
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_node_long_name is already used by sensor.meshtastic_3662959096_node_long_name - ignoring sensor.meshtastic_⛅_3662959096_node_long_name
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_long_name is already used by sensor.meshtastic_3663091472_node_long_name - ignoring sensor.meshtastic_⛅_3663091472_node_long_name
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_long_name is already used by sensor.meshtastic_3663101144_node_long_name - ignoring sensor.meshtastic_⛅_3663101144_node_long_name
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_uptime is already used by sensor.meshtastic_3662959096_device_uptime - ignoring sensor.meshtastic_⛅_3662959096_device_uptime
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_uptime is already used by sensor.meshtastic_3663091472_device_uptime - ignoring sensor.meshtastic_⛅_3663091472_device_uptime
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_uptime is already used by sensor.meshtastic_3663101144_device_uptime - ignoring sensor.meshtastic_⛅_3663101144_device_uptime
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_battery_level is already used by sensor.meshtastic_3662959096_device_battery_level - ignoring sensor.meshtastic_⛅_3662959096_device_battery_level
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_battery_level is already used by sensor.meshtastic_3663091472_device_battery_level - ignoring sensor.meshtastic_⛅_3663091472_device_battery_level
2024-12-23 11:42:33.920 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_battery_level is already used by sensor.meshtastic_3663101144_device_battery_level - ignoring sensor.meshtastic_⛅_3663101144_device_battery_level
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_voltage is already used by sensor.meshtastic_3662959096_device_voltage - ignoring sensor.meshtastic_⛅_3662959096_device_voltage
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_voltage is already used by sensor.meshtastic_3663091472_device_voltage - ignoring sensor.meshtastic_⛅_3663091472_device_voltage
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_voltage is already used by sensor.meshtastic_3663101144_device_voltage - ignoring sensor.meshtastic_⛅_3663101144_device_voltage
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_channel_utilization is already used by sensor.meshtastic_3662959096_device_channel_utilization - ignoring sensor.meshtastic_⛅_3662959096_device_channel_utilization
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_channel_utilization is already used by sensor.meshtastic_3663091472_device_channel_utilization - ignoring sensor.meshtastic_⛅_3663091472_device_channel_utilization
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_channel_utilization is already used by sensor.meshtastic_3663101144_device_channel_utilization - ignoring sensor.meshtastic_⛅_3663101144_device_channel_utilization
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_airtime is already used by sensor.meshtastic_3662959096_device_airtime - ignoring sensor.meshtastic_⛅_3662959096_device_airtime
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_airtime is already used by sensor.meshtastic_3663091472_device_airtime - ignoring sensor.meshtastic_⛅_3663091472_device_airtime
2024-12-23 11:42:33.921 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_airtime is already used by sensor.meshtastic_3663101144_device_airtime - ignoring sensor.meshtastic_⛅_3663101144_device_airtime
2024-12-23 11:42:33.922 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_binary_sensor_3662959096_device_powered is already used by binary_sensor.meshtastic_3662959096_device_powered - ignoring binary_sensor.meshtastic_⛅_3662959096_device_powered
2024-12-23 11:42:33.922 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_binary_sensor_3663091472_device_powered is already used by binary_sensor.meshtastic_3663091472_device_powered - ignoring binary_sensor.meshtastic_⛅_3663091472_device_powered
2024-12-23 11:42:33.922 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_binary_sensor_3663101144_device_powered is already used by binary_sensor.meshtastic_3663101144_device_powered - ignoring binary_sensor.meshtastic_⛅_3663101144_device_powered
2024-12-23 11:42:33.923 ERROR (MainThread) [homeassistant.components.device_tracker] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_device_tracker_3662959096_node_position is already used by device_tracker.meshtastic_3662959096_node_position - ignoring device_tracker.meshtastic_⛅_3662959096_node_position
2024-12-23 11:42:33.923 ERROR (MainThread) [homeassistant.components.device_tracker] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_device_tracker_3663091472_node_position is already used by device_tracker.meshtastic_3663091472_node_position - ignoring device_tracker.meshtastic_⛅_3663091472_node_position
2024-12-23 11:42:33.923 ERROR (MainThread) [homeassistant.components.device_tracker] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_device_tracker_3663101144_node_position is already used by device_tracker.meshtastic_3663101144_node_position - ignoring device_tracker.meshtastic_⛅_3663101144_node_position
2024-12-23 11:42:34.391 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_last_heard is already used by sensor.meshtastic_3663091472_node_last_heard - ignoring sensor.meshtastic_⛅_3663091472_node_last_heard
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_last_heard is already used by sensor.meshtastic_3663101144_node_last_heard - ignoring sensor.meshtastic_⛅_3663101144_node_last_heard
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_snr is already used by sensor.meshtastic_3663091472_node_snr - ignoring sensor.meshtastic_⛅_3663091472_node_snr
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_snr is already used by sensor.meshtastic_3663101144_node_snr - ignoring sensor.meshtastic_⛅_3663101144_node_snr
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_hops_away is already used by sensor.meshtastic_3663091472_node_hops_away - ignoring sensor.meshtastic_⛅_3663091472_node_hops_away
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_hops_away is already used by sensor.meshtastic_3663101144_node_hops_away - ignoring sensor.meshtastic_⛅_3663101144_node_hops_away
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_role is already used by sensor.meshtastic_3663091472_node_role - ignoring sensor.meshtastic_⛅_3663091472_node_role
2024-12-23 11:42:34.392 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_role is already used by sensor.meshtastic_3663101144_node_role - ignoring sensor.meshtastic_⛅_3663101144_node_role
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_node_short_name is already used by sensor.meshtastic_3662959096_node_short_name - ignoring sensor.meshtastic_⛅_3662959096_node_short_name
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_short_name is already used by sensor.meshtastic_3663091472_node_short_name - ignoring sensor.meshtastic_⛅_3663091472_node_short_name
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_short_name is already used by sensor.meshtastic_3663101144_node_short_name - ignoring sensor.meshtastic_⛅_3663101144_node_short_name
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_node_long_name is already used by sensor.meshtastic_3662959096_node_long_name - ignoring sensor.meshtastic_⛅_3662959096_node_long_name
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_node_long_name is already used by sensor.meshtastic_3663091472_node_long_name - ignoring sensor.meshtastic_⛅_3663091472_node_long_name
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_node_long_name is already used by sensor.meshtastic_3663101144_node_long_name - ignoring sensor.meshtastic_⛅_3663101144_node_long_name
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_uptime is already used by sensor.meshtastic_3662959096_device_uptime - ignoring sensor.meshtastic_⛅_3662959096_device_uptime
2024-12-23 11:42:34.393 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_uptime is already used by sensor.meshtastic_3663091472_device_uptime - ignoring sensor.meshtastic_⛅_3663091472_device_uptime
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_uptime is already used by sensor.meshtastic_3663101144_device_uptime - ignoring sensor.meshtastic_⛅_3663101144_device_uptime
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_battery_level is already used by sensor.meshtastic_3662959096_device_battery_level - ignoring sensor.meshtastic_⛅_3662959096_device_battery_level
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_battery_level is already used by sensor.meshtastic_3663091472_device_battery_level - ignoring sensor.meshtastic_⛅_3663091472_device_battery_level
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_battery_level is already used by sensor.meshtastic_3663101144_device_battery_level - ignoring sensor.meshtastic_⛅_3663101144_device_battery_level
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_voltage is already used by sensor.meshtastic_3662959096_device_voltage - ignoring sensor.meshtastic_⛅_3662959096_device_voltage
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_voltage is already used by sensor.meshtastic_3663091472_device_voltage - ignoring sensor.meshtastic_⛅_3663091472_device_voltage
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_voltage is already used by sensor.meshtastic_3663101144_device_voltage - ignoring sensor.meshtastic_⛅_3663101144_device_voltage
2024-12-23 11:42:34.394 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_channel_utilization is already used by sensor.meshtastic_3662959096_device_channel_utilization - ignoring sensor.meshtastic_⛅_3662959096_device_channel_utilization
2024-12-23 11:42:34.395 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_channel_utilization is already used by sensor.meshtastic_3663091472_device_channel_utilization - ignoring sensor.meshtastic_⛅_3663091472_device_channel_utilization
2024-12-23 11:42:34.395 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_channel_utilization is already used by sensor.meshtastic_3663101144_device_channel_utilization - ignoring sensor.meshtastic_⛅_3663101144_device_channel_utilization
2024-12-23 11:42:34.395 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3662959096_device_airtime is already used by sensor.meshtastic_3662959096_device_airtime - ignoring sensor.meshtastic_⛅_3662959096_device_airtime
2024-12-23 11:42:34.395 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663091472_device_airtime is already used by sensor.meshtastic_3663091472_device_airtime - ignoring sensor.meshtastic_⛅_3663091472_device_airtime
2024-12-23 11:42:34.395 ERROR (MainThread) [homeassistant.components.sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_sensor_3663101144_device_airtime is already used by sensor.meshtastic_3663101144_device_airtime - ignoring sensor.meshtastic_⛅_3663101144_device_airtime
2024-12-23 11:42:34.396 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_binary_sensor_3662959096_device_powered is already used by binary_sensor.meshtastic_3662959096_device_powered - ignoring binary_sensor.meshtastic_⛅_3662959096_device_powered
2024-12-23 11:42:34.396 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_binary_sensor_3663091472_device_powered is already used by binary_sensor.meshtastic_3663091472_device_powered - ignoring binary_sensor.meshtastic_⛅_3663091472_device_powered
2024-12-23 11:42:34.396 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_binary_sensor_3663101144_device_powered is already used by binary_sensor.meshtastic_3663101144_device_powered - ignoring binary_sensor.meshtastic_⛅_3663101144_device_powered
2024-12-23 11:42:34.397 ERROR (MainThread) [homeassistant.components.device_tracker] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_device_tracker_3662959096_node_position is already used by device_tracker.meshtastic_3662959096_node_position - ignoring device_tracker.meshtastic_⛅_3662959096_node_position
2024-12-23 11:42:34.397 ERROR (MainThread) [homeassistant.components.device_tracker] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_device_tracker_3663091472_node_position is already used by device_tracker.meshtastic_3663091472_node_position - ignoring device_tracker.meshtastic_⛅_3663091472_node_position
2024-12-23 11:42:34.398 ERROR (MainThread) [homeassistant.components.device_tracker] Platform meshtastic does not generate unique IDs. ID 01JFR7ZBZXTW266P45XX2M4CS3_device_tracker_3663101144_node_position is already used by device_tracker.meshtastic_3663101144_node_position - ignoring device_tracker.meshtastic_⛅_3663101144_node_position


### Diagnostics dump

_No response_
@broglep
Copy link
Owner

broglep commented Dec 25, 2024

Thank for reporting. It is kind of a known issue and can happen in certain circumstances, it can also happen for notify entities. I think in your case the issue is the old entities still lying around.

You probably can workaround that issue when you reconfigure the config entry. You don't need to delete and re-add a gateway when the IP address changes. For the entry in question, use the three dots next to configure and select reconfigure.

@broglep
Copy link
Owner

broglep commented Dec 28, 2024

Another new instance when this can happen: If the gateway node loses its name, we fallback to default short name, and thus get different entity ids. Will also happen when short name of the gateway node is changed

01JEVQ89HNDB8YYM4AAQJA91TY_sensor_627830047_device_airtime is already used by sensor.meshtastic_brig_627830047_device_airtime - ignoring sensor.meshtastic_e668_627830047_device_airtime

@asjmcguire
Copy link
Author

asjmcguire commented Dec 28, 2024

I did notice that the shortname is being used in the entityid, and in my case that shortname is an emoji (which is encouraged in meshtastic). But I don't think we should be using an emoji in entityids inside homeassistant? It feels like the nodeid should be enough, and that generally speaking doesn't change because it's tied to the BT MAC of the device.

@broglep
Copy link
Owner

broglep commented Dec 28, 2024

Did notice that as well in your logs and was surprised. But nice that it actually seems to work perfectly fine in home assistant. I think there is nothing that forbids emojis in entity ids (probably the allow all unicode except some reserved characters)

Using short name was an attempt to get some more meaningful entity ids. At least the gateway is expected to have rather static short name. Otherwise you end up with sensor.meshtastic_3771721320_627830047_device_airtime, not that easy to work for humans, in particular if you import a node via two different gateways. A user can still rename the entity ids to their liking, but that is probably not that feasible with that many entities this integration produces

It is still unclear to me what the best strategy is for entity ids.

@broglep broglep added the help wanted Extra attention is needed label Jan 2, 2025
@timniklas
Copy link

Im am having the same issue, the log is full of this errors

@broglep
Copy link
Owner

broglep commented Jan 3, 2025

Im am having the same issue, the log is full of this errors

I suspect in your case it is caused by adding the same gateway via two different interfaces (TCP and serial)

@timniklas
Copy link

timniklas commented Jan 3, 2025

Im am having the same issue, the log is full of this errors

I suspect in your case it is caused by adding the same gateway via two different interfaces (TCP and serial)

Im only using one TCP connection, another node arrives tomorrow for the (hopefully) more stable serial connection.

@djoris
Copy link

djoris commented Jan 14, 2025

I get the same messages in my debug log, and a whole bunch of other issues.
Is there a way to reset/remove all previous configuration? I tried removing and re-downloading via HACS, but previous config seems to remain.
In the directory /config/custom_components/meshtastic I can't find a YAML or comparable to modify,

@broglep
Copy link
Owner

broglep commented Jan 15, 2025

Can you share some of the log message so that we know what instance of this problem yo have?

I don't know exact details when and how home assistant cleans old data. You will for need to remove the configuration in Home assistant and then restart. Removing the integration beforehand might prevent from cleaning up the old data.
If this does not help, you can remove the old data in /config/.storage/core.entity_registry while home assistant is not running and then start again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants