Commit Graph
3 Commits
Author SHA1 Message Date
Dejvino 5d60a91964 Allowlist pubkey prefixes only; ignore public and hashtag channels
- is_allowed matches pubkey_prefix only; sender names are never trusted
  (channel senders must be known contacts of the companion for the
  MeshCore integration to include their pubkey_prefix)
- channel messages on channel index 0 (public) and hashtag channels
  ('#name') are ignored unconditionally, before the allowlist check
- config flow validates allowlist entries as 6-64 hex characters
  (invalid_allowlist error) and UI strings/README updated
2026-12-01 19:45:36 +01:00
Dejvino 8eba7fa24c Add MeshCore Agent HACS integration: todo module with reminders
Custom HA integration (domain meshcore_agent) that lets MeshCore nodes
manage a todo list over mesh messages:

- todo / todo list, todo add, todo done, todo uncheck, todo remove
- remind <n> <when> / remind off <n> (relative, clock, weekday, absolute)
- replies via meshcore.send_message / send_channel_message
- reminders scheduled with async_track_point_in_time and delivered to
  the sender who set them
- todo list also exposed as a HA todo entity
- config flow with sender allowlist, allow-all toggle, reply length cap
- pure-Python core (core/) covered by pytest; adapter flow tested with
  stubbed hass
2026-12-01 19:15:05 +01:00
Dejvino 9d759612e0 first commit 2026-12-01 19:02:30 +01:00