feat: Add SNR/RSSI/path data to message binary sensors or logbook

Open
#291 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 11 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
22/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
python
Domain
embedded-iot

Research direction

The payload names no source files. Start with the meshcore_message event and the message binary sensors, and check whether rx_log_data (SNR, RSSI, path) is reachable where those sensors are built. The issue is mainly questions, so first confirm with maintainers whether attributes should be added before writing code. Done means the agreed fields show up as attributes on the message sensors.

Written by the indexing model from the issue text.

Description

enhancement

I'm building a custom message card and trying to display rx_log_data (SNR, RSSI, path info) alongside messages in history view. The data is available in the meshcore_message event, but it's volatile – it's not persisted anywhere in HA (not in logbook, sensor attributes, etc.).

I used localStorage as a workaround, but it only works when the card is open. If the card is closed, the data is lost.

Questions:

  1. Is rx_log_data stored anywhere in HA (logbook, sensor attributes, etc.)?
  2. Any recommended way to persist this data permanently?
  3. Could the MeshCore integration add rx_log_data as attributes to message binary sensors?

This would enable custom cards to show signal quality per message, mesh path visualization, and other cool features similar to meshmonitor.

Thanks for any help! 🙏

Dominant language
Python
Stars
269
Forks
58
Avg merge
10d 17h
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshcore-dev/meshcore-ha

All issues in meshcore-dev/meshcore-ha

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.