💬 Advanced Gateway Options


  • Admin

    This thread contains comments for the article "Advanced Gateway Options" posted on MySensors.org.



  • MY_LEDS_BLINKING_FEATURE is now obsolete in the latest 2.1



  • Is there a new way to get the radio status LEDs?


  • Admin


  • Mod

    @Paul-Derbyshire thanks for noticing. I have removed MY_LEDS_BLINKING_FEATURE from the instructions.



  • Got the LEDs working now, after some issues relating to the weird GPIO mapping on the NodeMCU.

    However, they are always on, and only blink off when receiving or transmitting. Is this intended? Can it be inverted (so they are off normally but only on when there is activity).

    Also, under what circumstances will the ERR led blink?


  • Hardware Contributor

    @maghac said in 💬 Advanced Gateway Options:

    However, they are always on, and only blink off when receiving or transmitting. Is this intended? Can it be inverted (so they are off normally but only on when there is activity).
    You should be able to use

    #define MY_WITH_LEDS_BLINKING_INVERSE
    

    But because of the weird wiring on esp8266 based boards it's always a hit or miss, some LEDs should be inversed, some other not. You may have to play with pull-ups or pull-downs resistors on some pins.



  • What would be needed to make this work with the MQTT gateway?



  • Hello Builders,

    i am building a arduino 2560 node and i would like to activate radio blinking LED.

    I have tested to insert lines regarding Blinking for pins 4,5,6 but there is a issue :

    0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    3 MCO:BGN:BFR
    203 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    208 !MCO:SLP:REP
    1 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    5 MCO:BGN:BFR
    205 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    209 !MCO:SLP:REP
    0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    4 MCO:BGN:BFR
    204 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    209 !MCO:SLP:REP
    1 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    5 MCO:BGN:BFR
    204 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    209 !MCO:SLP:REP
    0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    4 MCO:BGN:BFR
    204 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    209 !MCO:SLP:REP
    1 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    5 MCO:BGN:BFR
    204 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    209 !MCO:SLP:REP
    0 MCO:BGN:INIT REPEATER,CP=RNNRA--,VER=2.1.1
    4 MCO:BGN:BFR
    204 MCO:SLP:MS=5000,SMS=0,I1=255,M1=255,I2=255,M2=255
    209 !MCO:SLP:REP

    Radio don't want initialized and probably the 2560 pinout don't work for blinking with pins 4,5,6.

    Are there a specific pinout for 2560 for radio blinking ?


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.