child-sensor-id = 255


  • Hero Member

    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


  • Admin

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

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


  • Hero Member

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

    Yes I now see...

    But that does not describe child-sensor-id = 255 😉


  • Admin

    "(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."


  • Hero Member

    Okay, clear, thanks!


  • Admin

    @daulagari said:

    Okay, clear, thanks!

    No problemo 🙂


Log in to reply
 

Suggested Topics

23
Online

11.2k
Users

11.1k
Topics

112.5k
Posts