Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Controllers
  3. Home Assistant
  4. How to repeat presentation when using home-assistant with persistance false

How to repeat presentation when using home-assistant with persistance false

Scheduled Pinned Locked Moved Home Assistant
3 Posts 3 Posters 1.1k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    leonard
    wrote on last edited by
    #1

    I'am using home-assistant for a while and build some temperature sensors with mysensors.

    With the default settings, home-assistant is caching the presentation and sensor values in a pickle file. This has the following downsides:

    • when restarting home-assistant, old sensor values are beeing shown as new (just received)
    • when changing a sketch, some added information does not update (or partly).

    So I decided to turn off the persistence. Now I do have the problem, that nodes have to repeat their presentation when restarting home-assistant. I haven't got this working properly. Resetting the nodes fixes this issue, but that is not an solution.

    I see two solutions

    • repeat presentation (if necessary, nodes are battery powered)
    • tweak home-assistant to do a more clever persistence

    The more clever persistance would involve:

    • discard old sensor values (or do not show them as new values...)
    • allow sketch updates without limitations (details would have to be investigated)
    • Allow to remove nodes that are not present any more (pickle file can not be edited easily).

    Has anyone suggestions to solve this issues?

    Regards
    Leonard

    1 Reply Last reply
    0
    • simboS Offline
      simboS Offline
      simbo
      wrote on last edited by
      #2

      A related thread: https://forum.mysensors.org/topic/6843/re-request-presentation

      How can we send a I_PRESENT or I_REBOOT command using the HA / MySensors API? If there's a way, then an automation be be hard-coded to request each node to reboot.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jmg138
        wrote on last edited by
        #3

        Hello,

        is someone find a way to send a I_PRESENT or I_REBOOT command using HA? or an other workaround to force node presentation when the persistant file is desactivated? (usefull after a HA reboot for instance)

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        18

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular