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. child-sensor-id = 255

child-sensor-id = 255

Scheduled Pinned Locked Moved Controllers
child-sensor-id
6 Posts 2 Posters 2.7k Views 1 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.
  • daulagariD Offline
    daulagariD Offline
    daulagari
    Hero Member
    wrote on last edited by
    #1

    Seems like child-sensor-id = 255 is a special value as I see:

    2015/01/24 19:04:18 [MySensors] < 1;255;0;0;17;1.4.1
    2015/01/24 19:04:18 [MySensors] Node 1, sensor 255 is presenting itself as Arduino node device
    2015/01/24 19:04:18 [MySensors] < 1;255;3;0;6;0
    2015/01/24 19:04:18 [MySensors] Providing node 1.255 config: M
    2015/01/24 19:04:18 [MySensors] > 1;255;3;0;1;M
    2015/01/24 19:04:20 [MySensors] < 1;255;3;0;11;Light Lux Sensor
    2015/01/24 19:04:20 [MySensors] No support for I_SKETCH_NAME Internal message yet.
    2015/01/24 19:04:20 [MySensors] < 1;255;3;0;12;1.0
    2015/01/24 19:04:20 [MySensors] No support for I_SKETCH_VERSION Internal message yet.
    2015/01/24 19:04:20 [MySensors] < 1;0;0;0;16;1.4.1
    2015/01/24 19:04:20 [MySensors] Node 1, sensor 0 is presenting itself as Light sensor
    2015/01/24 19:04:20 [MySensors] < 1;0;1;0;23;21
    2015/01/24 19:04:20 [MySensors] Set value '21' for node 1
    

    Would be good to have this documented on http://www.mysensors.org/build/serial_api

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      Sorry, ,mentioned on the api page to only use 0-254.

      http://www.mysensors.org/build/sensor_api

      1 Reply Last reply
      0
      • daulagariD Offline
        daulagariD Offline
        daulagari
        Hero Member
        wrote on last edited by
        #3

        mentioned on the api page to only use 0-254.

        Yes I now see...

        But that does not describe child-sensor-id = 255 ;-)

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #4

          "(child-sensor-id) Each radio node can report data for up to 254 different child sensors. You are free to choose the child id yourself. You should avoid using child-id 255 because it is used for things like sending in battery level and other (protocol internal) node specific information."

          1 Reply Last reply
          0
          • daulagariD Offline
            daulagariD Offline
            daulagari
            Hero Member
            wrote on last edited by
            #5

            Okay, clear, thanks!

            hekH 1 Reply Last reply
            0
            • daulagariD daulagari

              Okay, clear, thanks!

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #6

              @daulagari said:

              Okay, clear, thanks!

              No problemo :)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              27

              Online

              11.7k

              Users

              11.2k

              Topics

              113.1k

              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