Make the 12 hour node staleness threshold configurable

Open
#203 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 11 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
embedded-iot

Research direction

The payload names no files, so start by finding where the 12-hour node staleness check is implemented in the Python integration and how options are exposed to users. Add a configurable threshold with 12 hours as the default and check that a node stays fresh for a 24-hour advertisement interval once it is set. No maintainer has replied in 184 days, so confirm the desired config approach before coding.

Written by the indexing model from the issue text.

Description

enhancement

Currently, meshcore-ha will mark a node as stale if there has been no advertisement for more than 12 hours.
However, many repeaters will only send an advertisement every 24 hours, so they keep flickering between stale and fresh in meshcore-ha.
It would be nice, if the 12h threshold would be configurable, to avoid this flickering.

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.