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. pymysensors specific forum?

pymysensors specific forum?

Scheduled Pinned Locked Moved Home Assistant
2 Posts 2 Posters 1.3k 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.
  • A Offline
    A Offline
    afeno
    wrote on last edited by afeno
    #1

    Hello,

    There is any specific forum to talk about pymysensors?

    I have some doubts that I would like to clarify before proposing some changes on it.

    For example: Is it possible to send internal messages to the gateway? like sending an I_VERSION request. I only saw the option to send regular messages to sensors with set_child_vale.

    Thanks,
    Alfredo.

    martinhjelmareM 1 Reply Last reply
    0
    • A afeno

      Hello,

      There is any specific forum to talk about pymysensors?

      I have some doubts that I would like to clarify before proposing some changes on it.

      For example: Is it possible to send internal messages to the gateway? like sending an I_VERSION request. I only saw the option to send regular messages to sensors with set_child_vale.

      Thanks,
      Alfredo.

      martinhjelmareM Offline
      martinhjelmareM Offline
      martinhjelmare
      Plugin Developer
      wrote on last edited by martinhjelmare
      #2

      @afeno

      There's no specific forum for pymysensors that I know. Home Assistant uses pymysensors, so maybe that's the closest?

      Regarding sending an internal message: Create a Message instance and use the copy method to set the types and child, internal, I_VERSION, 255 etc. You can look at other places in the code for how that is done, eg:
      https://github.com/theolind/pymysensors/blob/master/mysensors/mysensors.py#L83-L85

      Then you want to encode the message and add it to the Gateway queue, for subsequent sending to gateway. There's the Gateway.fill_queue method for this. But you actually have to add a function with optional arguments/keyword arguments, where the return value of the function is the encoded message, to the queue. So you can add a reference to the encode method of the Message instance. See for example:
      https://github.com/theolind/pymysensors/blob/master/mysensors/mysensors.py#L325

      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


      9

      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