Skip to content

Homematic BidCos Device HM-Sec-SC-2 becomes unavailable but Battery Notes does not notice it #3378

Open
@jabdoa2

Description

@jabdoa2

Checklist

  • I have added battery_notes: to my configuration.yaml and restarted.
  • I have read the FAQ's.
  • 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..

Battery Notes Version

2.9.10

Describe the issue

My Homematic Bidcos HM-Sec-SC-2 ran out of battery before reporting battery low state. All entities of the device became unavailable in Home Assistant. However, binary_sensor.my_device_battery_plus_low did not become unavailable and reported the battery as normal.

Reproduction steps

  1. Add HM-Sec-SC-2 to HA and install Battery Notes
  2. Take battery out of HM-Sec-SC-2
  3. Wait x days
  4. Run https://github.com/andrew-codechimp/HA-Battery-Notes/blob/main/docs/community.md#check-battery-last-reported-daily automation
  5. It should trigger report battery_notes_battery_not_reported but it does not currently do that
  6. If would also assume that binary_sensor.my_device_battery_plus_low should become unavailable (but not sure it I am right about that)
  7. Automation https://github.com/andrew-codechimp/HA-Battery-Notes/blob/main/docs/community.md#battery-not-reported should trigger

System Health details

System Information

version core-2025.4.4
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.13.2
os_name Linux
os_version 6.6.74-haos-raspi
arch aarch64
timezone Europe/Berlin
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 1698
Downloaded Repositories 15
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.04.1
agent_version 1.7.2
docker_version 28.0.4
disk_total 28.5 GB
disk_used 14.8 GB
healthy true
supported true
host_connectivity true
supervisor_connectivity true
ntp_synchronized true
virtualization
board rpi4-64
supervisor_api ok
version_api ok
installed_addons Terminal & SSH (9.17.0), File editor (5.8.0), eBUSd (25.1.0), Mosquitto broker (6.5.0), RaspberryMatic CCU (3.81.5.20250326), Piper (1.5.2), Whisper (2.5.0), ESPHome Device Builder (2025.4.1), Grocy (0.24.0), Nextcloud Backup (0.17.7), Speech-to-Phrase (1.3.0)
Dashboards
dashboards 9
resources 6
views 14
mode storage
Network Configuration
adapters lo (disabled), end0 (enabled, default, auto), hassio (disabled), docker0 (disabled), vethd2774b6 (disabled), vethed94587 (disabled), veth8f234b8 (disabled), veth69269c5 (disabled), vethcf46ee1 (disabled), veth89bd1d0 (disabled), vethd874d5e (disabled), veth6254dff (disabled), veth6d961c7 (disabled), veth3fe36ec (disabled), veth910aa7d (disabled), vethfe15bbc (disabled), veth99d1392 (disabled)
xxxx
Recorder
oldest_recorder_run 20. April 2025 um 19:02
current_recorder_run 28. April 2025 um 00:46
estimated_db_size 334.70 MiB
database_engine sqlite
database_version 3.48.0
Spotify
api_endpoint_reachable ok

Debug logs

Not really helpful unfortunately. Let me know if I should add it anyway.

Diagnostics dump

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2025.4.4",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.13.2",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "6.6.74-haos-raspi",
"supervisor": "2025.04.1",
"host_os": "Home Assistant OS 15.2",
"docker_version": "28.0.4",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"powercalc": {
"documentation": "https://docs.powercalc.nl",
"version": "v1.17.11",
"requirements": [
"numpy>=1.21.1"
]
},
"battery_notes": {
"documentation": "https://andrew-codechimp.github.io/HA-Battery-Notes/",
"version": "2.9.10",
"requirements": []
},
"zha_toolkit": {
"documentation": "https://github.com/mdeweerd/zha-toolkit",
"version": "v1.1.27",
"requirements": [
"aiofiles>=0.4.0",
"pytz>=2016.10"
]
},
"grocy": {
"documentation": "https://github.com/custom-components/grocy",
"version": "2025.2.2",
"requirements": [
"pygrocy2==2.4.0"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/use/",
"version": "2.0.5",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"adaptive_lighting": {
"documentation": "https://github.com/basnijholt/adaptive-lighting#readme",
"version": "1.25.0",
"requirements": [
"ulid-transform"
]
},
"openwrt": {
"documentation": "https://github.com/kvj/hass_openwrt",
"version": "0.2.1",
"requirements": []
},
"homematicip_local": {
"documentation": "https://github.com/sukramj/custom_homematic",
"version": "1.83.0",
"requirements": [
"hahomematic==2025.4.1"
]
},
"waste_collection_schedule": {
"documentation": "https://github.com/mampfes/hacs_waste_collection_schedule#readme",
"version": "2.7.0",
"requirements": [
"icalendar",
"icalevents>=0.1.26,!=0.1.28",
"beautifulsoup4",
"lxml",
"pycryptodome",
"pypdf"
]
}
},
"integration_manifest": {
"domain": "battery_notes",
"name": "Battery Notes",
"codeowners": [
"andrew-codechimp"
],
"config_flow": true,
"documentation": "https://andrew-codechimp.github.io/HA-Battery-Notes/",
"integration_type": "device",
"iot_class": "calculated",
"issue_tracker": "https://github.com/andrew-codechimp/ha-battery-notes/issues",
"version": "2.9.10",
"is_built_in": false,
"overwrites_built_in": false
},
"setup_times": {
"null": {
"setup": 0.39192929200362414
},
"01JHAE7BK6CEFAQAYNKSBCVTH7": {
"wait_import_platforms": -18.091405198909342,
"wait_base_component": -0.000993354944512248,
"config_entry_setup": 18.10307420603931
},
"01JHAE8J41C44JSCWAZG9DPP90": {
"wait_import_platforms": -18.10068770602811,
"config_entry_setup": 18.107580897049047
},
"01JHAE96SGT57M9D05NR6NDD2Z": {
"wait_import_platforms": -18.10526669200044,
"config_entry_setup": 18.11162661295384
},
"01JHAE9GVZ20WV425K91P7FK98": {
"wait_import_platforms": -18.109454535064287,
"config_entry_setup": 18.11652609403245
},
"01JHAE9QHS5NBJ321J5VWV0ABD": {
"wait_import_platforms": -18.114623976056464,
"config_entry_setup": 18.130194459925406
},
"01JHAE9Y3P3H4DYYSZ0JASQBK6": {
"wait_import_platforms": -18.128284155973233,
"config_entry_setup": 18.136136702960357
},
"01JHAEADAWTQSX7G80V48Y9MXR": {
"wait_import_platforms": -18.134468505973928,
"config_entry_setup": 18.14409158192575
},
"01JHAEANJ5ADWDZ77K35TW5CDT": {
"wait_import_platforms": -18.14201646496076,
"config_entry_setup": 18.14976642106194
},
"01JHAEAXG7SQN1WNKTQAN24279": {
"wait_import_platforms": -18.14769858296495,
"config_entry_setup": 18.156936054001562
},
"01JHAEB3PANEMR1G5ZDHK4NPRR": {
"wait_import_platforms": -18.155301225953735,
"config_entry_setup": 18.165034392965026
},
"01JHAEBA4CYHJBE2JYZ4ZFHJAS": {
"wait_import_platforms": -18.16320047597401,
"config_entry_setup": 18.169559397967532
},
"01JHAEBHMG7NQAY03227YB4VNF": {
"wait_import_platforms": -18.167808108963072,
"config_entry_setup": 18.174489655997604
},
"01JHAEBX0R1A2NZ78BBEP37AKV": {
"wait_import_platforms": -18.17244163202122,
"config_entry_setup": 18.18195185798686
},
"01JHAEC1MMQQFCJ3K6JJNG1QR8": {
"wait_import_platforms": -18.179251194931567,
"config_entry_setup": 18.186076498008333
},
"01JHAEC8X57VQPT91BC62NC4BR": {
"wait_import_platforms": -18.1841423609294,
"config_entry_setup": 18.19348523800727
},
"01JHAECCSYKHHXHYY761KA2EEV": {
"wait_import_platforms": -18.192119813989848,
"config_entry_setup": 18.198427903000265
},
"01JHAECR0N1FXQ6XMC1TN5X9FK": {
"wait_import_platforms": -18.196658096974716,
"config_entry_setup": 18.20290711207781
},
"01JHAECWW25980CV5TDKKF6FGQ": {
"wait_import_platforms": -18.200466779060662,
"config_entry_setup": 18.207494765054435
},
"01JHAED3G17B0Q5A4RFMKTAH6E": {
"wait_import_platforms": -18.20523383608088,
"config_entry_setup": 18.215512939030305
},
"01JHAED7ZKTWTYCRV2DAG4M8CA": {
"wait_import_platforms": -18.213652523001656,
"config_entry_setup": 18.22275181103032
},
"01JHAEDCDFYXB7KERJYWFSBGAV": {
"wait_import_platforms": -18.22042677202262,
"config_entry_setup": 18.231521676992998
},
"01JHAEDQAS1M5F2D4VYYD9MFW9": {
"wait_import_platforms": -18.229849666007794,
"config_entry_setup": 18.23893534205854
},
"01JHBP6NRNQ2V8JHVV4638BQBR": {
"wait_import_platforms": -18.237056388985366,
"config_entry_setup": 18.245643499074504
},
"01JHD2W4FEH8Q8R1PY1649JT16": {
"wait_import_platforms": -18.243926950963214,
"config_entry_setup": 18.253589932923205
},
"01JHD2WJQ6PZNB211M8ZAEXX33": {
"wait_import_platforms": -18.25225219503045,
"config_entry_setup": 18.262746627093293
},
"01JHD2X2YPB4TQD4NHJGH6FPP5": {
"wait_import_platforms": -18.26129709405359,
"config_entry_setup": 18.27056521200575
},
"01JHD2XKYJ0GK20FE1T051Y4Y0": {
"wait_import_platforms": -18.268668647971936,
"config_entry_setup": 18.278954231995158
},
"01JHD2YFD7AWP17H3Q2XTNC4M7": {
"wait_import_platforms": -18.275004329974763,
"config_entry_setup": 18.28441203793045
},
"01JHDCQ3A7RP9DGR5A11R3CGVB": {
"wait_import_platforms": -18.282406975980848,
"config_entry_setup": 18.289452776079997
},
"01JHK8JFNQTGH1A7RJ4RZK3V5B": {
"wait_import_platforms": -18.28744247299619,
"config_entry_setup": 18.30234098690562
},
"01JHQQBF38KNWF1WFWAEZ4WKVP": {
"wait_import_platforms": -18.300705290050246,
"config_entry_setup": 18.310552491922863
},
"01JHTB5H5D6BSQTAFVWMP5KVQA": {
"wait_import_platforms": -18.30938828701619,
"config_entry_setup": 18.317485941923223
},
"01JHZBF64Z82TVA2T9P54PZF6K": {
"wait_import_platforms": -18.316381088923663,
"config_entry_setup": 18.325013160938397
}
},
"data": {
"entry": {
"created_at": "2025-01-11T10:26:00.126999+00:00",
"data": {
"battery_low_template": "{{ states('binary_sensor.my_device_battery') == "on" }}",
"battery_low_threshold": 0,
"battery_quantity": 2,
"battery_type": "LR44",
"device_id": "0d6a0b8aa1bee3cf3f14f6385e1da14a",
"device_name": "my_device",
"manufacturer": "eQ-3",
"model": "HM-Sec-SC-2",
"model_id": [
null
]
},
"discovery_keys": {},
"disabled_by": null,
"domain": "battery_notes",
"entry_id": "01JHAECCSYKHHXHYY761KA2EEV",
"minor_version": 1,
"modified_at": "2025-04-30T16:37:24.689757+00:00",
"options": {},
"pref_disable_new_entities": false,
"pref_disable_polling": false,
"source": "integration_discovery",
"subentries": [],
"title": "xxxx",
"unique_id": "bn_0d6a0b8aa1bee3cf3f14f6385e1da14a",
"version": 2
},
"device": {
"manufacturer": "eQ-3",
"model": "HM-Sec-SC-2",
"model_id": null,
"hw_version": null
}
}
}

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions