DHT11 Example Code on Arduino



  • Hey guys!
    I could really need some help here, for some reason I am not able to get my sensor node to work.

    What I have:
    An Arduino Nano (Also tested with Uno), an NRF24 and a DHT11 sensor.
    Also I have a working OpenHAB install on a RPi and a NodeMCU with another NRF24.

    The Pi is running mosquitto and the NodeMCU is acting as a gateway; I am able to connect to my broker via MQTT.fx and can see messages coming in from the gateway.

    The critical part is the sensor node; I am using the example code (I downloaded the extra examples with the known-working libraries) "DhtTemperatureAndHumiditySensor.ino"; my DHT11 is connected to pin 3.
    When I use a short test-sketch to just read the sensor and print it to the serial console it's working fine, so I am sure the sensors is working fine.

    The output on the serial console is:

     
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.0
    
    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:FPAR
    37 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2046 !TSM:FPAR:NO REPLY
    2049 TSM:FPAR
    2051 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4059 !TSM:FPAR:NO REPLY
    4061 TSM:FPAR
    4063 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6071 !TSM:FPAR:NO REPLY
    6073 TSM:FPAR
    6075 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8083 !TSM:FPAR:FAIL
    8084 TSM:FAIL:CNT=1
    8086 TSM:FAIL:DIS
    8088 TSF:TDI:TSL
    18091 TSM:FAIL:RE-INIT
    18093 TSM:INIT
    18100 TSM:INIT:TSP OK
    18102 TSM:FPAR
    18104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20112 !TSM:FPAR:NO REPLY
    20114 TSM:FPAR
    20116 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    22124 !TSM:FPAR:NO REPLY
    22126 TSM:FPAR
    22128 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    24136 !TSM:FPAR:NO REPLY
    24138 TSM:FPAR
    24140 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    26148 !TSM:FPAR:FAIL
    26149 TSM:FAIL:CNT=2
    26151 TSM:FAIL:DIS
    26153 TSF:TDI:TSL
    36157 TSM:FAIL:RE-INIT
    36159 TSM:INIT
    36166 TSM:INIT:TSP OK
    36168 TSM:FPAR
    36170 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38178 !TSM:FPAR:NO REPLY
    38180 TSM:FPAR
    38182 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    40192 !TSM:FPAR:NO REPLY
    40194 TSM:FPAR
    40196 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    42204 !TSM:FPAR:NO REPLY
    42206 TSM:FPAR
    42208 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    44216 !TSM:FPAR:FAIL
    44217 TSM:FAIL:CNT=3
    44219 TSM:FAIL:DIS
    44221 TSF:TDI:TSL
    54224 TSM:FAIL:RE-INIT
    54226 TSM:INIT
    54234 TSM:INIT:TSP OK
    54236 TSM:FPAR
    54238 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56246 !TSM:FPAR:NO REPLY
    56248 TSM:FPAR
    56250 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58258 !TSM:FPAR:NO REPLY
    58260 TSM:FPAR
    58262 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    60270 !TSM:FPAR:NO REPLY
    60272 TSM:FPAR
    60274 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    62282 !TSM:FPAR:FAIL
    62283 TSM:FAIL:CNT=4
    62285 TSM:FAIL:DIS
    62287 TSF:TDI:TSL
    72290 TSM:FAIL:RE-INIT
    72292 TSM:INIT
    72299 TSM:INIT:TSP OK
    72301 TSM:FPAR
    72303 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    74311 !TSM:FPAR:NO REPLY
    74313 TSM:FPAR
    74315 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    76323 !TSM:FPAR:NO REPLY
    76325 TSM:FPAR
    76327 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    78336 !TSM:FPAR:NO REPLY
    78338 TSM:FPAR
    78340 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    80348 !TSM:FPAR:FAIL
    80349 TSM:FAIL:CNT=5
    80351 TSM:FAIL:DIS
    80353 TSF:TDI:TSL
    90356 TSM:FAIL:RE-INIT
    90358 TSM:INIT
    90365 TSM:INIT:TSP OK
    90368 TSM:FPAR
    90370 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    92378 !TSM:FPAR:NO REPLY
    92380 TSM:FPAR
    92382 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    94390 !TSM:FPAR:NO REPLY
    94392 TSM:FPAR
    94394 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    96402 !TSM:FPAR:NO REPLY
    96404 TSM:FPAR
    96406 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    98414 !TSM:FPAR:FAIL
    98415 TSM:FAIL:CNT=6
    98417 TSM:FAIL:DIS
    98419 TSF:TDI:TSL
    108422 TSM:FAIL:RE-INIT
    108424 TSM:INIT
    108431 TSM:INIT:TSP OK
    108433 TSM:FPAR
    108436 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    110443 !TSM:FPAR:NO REPLY
    110445 TSM:FPAR
    110448 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    112455 !TSM:FPAR:NO REPLY
    112457 TSM:FPAR
    112460 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    114467 !TSM:FPAR:NO REPLY
    114469 TSM:FPAR
    114472 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    116480 !TSM:FPAR:FAIL
    116482 TSM:FAIL:CNT=7
    116484 TSM:FAIL:DIS
    116486 TSF:TDI:TSL
    176488 TSM:FAIL:RE-INIT
    176490 TSM:INIT
    176497 TSM:INIT:TSP OK
    176499 TSM:FPAR
    176502 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    178509 !TSM:FPAR:NO REPLY
    178511 TSM:FPAR
    178514 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    180523 !TSM:FPAR:NO REPLY
    180525 TSM:FPAR
    180528 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    182535 !TSM:FPAR:NO REPLY
    182537 TSM:FPAR
    182540 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    184547 !TSM:FPAR:FAIL
    184549 TSM:FAIL:CNT=7
    184551 TSM:FAIL:DIS
    184553 TSF:TDI:TSL
    244555 TSM:FAIL:RE-INIT
    244557 TSM:INIT
    244564 TSM:INIT:TSP OK
    244567 TSM:FPAR
    244570 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    246577 !TSM:FPAR:NO REPLY
    246579 TSM:FPAR
    246582 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    248589 !TSM:FPAR:NO REPLY
    248591 TSM:FPAR
    248594 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    250601 !TSM:FPAR:NO REPLY
    250603 TSM:FPAR
    250606 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    252613 !TSM:FPAR:FAIL
    252615 TSM:FAIL:CNT=7
    252617 TSM:FAIL:DIS
    252619 TSF:TDI:TSL
    312621 TSM:FAIL:RE-INIT
    312623 TSM:INIT
    312630 TSM:INIT:TSP OK
    312632 TSM:FPAR
    312635 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    314642 !TSM:FPAR:NO REPLY
    314644 TSM:FPAR
    314647 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    316654 !TSM:FPAR:NO REPLY
    316656 TSM:FPAR
    316659 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    318666 !TSM:FPAR:NO REPLY
    318668 TSM:FPAR
    318671 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    320679 !TSM:FPAR:FAIL
    320681 TSM:FAIL:CNT=7
    320684 TSM:FAIL:DIS
    320686 TSF:TDI:TSL
    380688 TSM:FAIL:RE-INIT
    380690 TSM:INIT
    380697 TSM:INIT:TSP OK
    380699 TSM:FPAR
    380702 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    382709 !TSM:FPAR:NO REPLY
    382711 TSM:FPAR
    382714 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    384722 !TSM:FPAR:NO REPLY
    384724 TSM:FPAR
    384728 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    386735 !TSM:FPAR:NO REPLY
    386737 TSM:FPAR
    386740 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    388747 !TSM:FPAR:FAIL
    388749 TSM:FAIL:CNT=7
    388751 TSM:FAIL:DIS
    388753 TSF:TDI:TSL
    448755 TSM:FAIL:RE-INIT
    448757 TSM:INIT
    448764 TSM:INIT:TSP OK
    448766 TSM:FPAR
    448770 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    450777 !TSM:FPAR:NO REPLY
    450779 TSM:FPAR
    450782 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    452789 !TSM:FPAR:NO REPLY
    452791 TSM:FPAR
    452794 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    454801 !TSM:FPAR:NO REPLY
    454803 TSM:FPAR
    454806 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    456813 !TSM:FPAR:FAIL
    456815 TSM:FAIL:CNT=7
    456817 TSM:FAIL:DIS
    456819 TSF:TDI:TSL
    516822 TSM:FAIL:RE-INIT
    516824 TSM:INIT
    516831 TSM:INIT:TSP OK
    516833 TSM:FPAR
    516836 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    518843 !TSM:FPAR:NO REPLY
    518845 TSM:FPAR
    518848 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    520855 !TSM:FPAR:NO REPLY
    520857 TSM:FPAR
    520860 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    522867 !TSM:FPAR:NO REPLY
    522869 TSM:FPAR
    522872 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    524879 !TSM:FPAR:FAIL
    524881 TSM:FAIL:CNT=7
    524883 TSM:FAIL:DIS
    524886 TSF:TDI:TSL
    584888 TSM:FAIL:RE-INIT
    584890 TSM:INIT
    584897 TSM:INIT:TSP OK
    584899 TSM:FPAR
    584902 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    586909 !TSM:FPAR:NO REPLY
    586911 TSM:FPAR
    586914 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    588921 !TSM:FPAR:NO REPLY
    588923 TSM:FPAR
    588926 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    590934 !TSM:FPAR:NO REPLY
    590936 TSM:FPAR
    590939 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    592946 !TSM:FPAR:FAIL
    592948 TSM:FAIL:CNT=7
    592950 TSM:FAIL:DIS
    592952 TSF:TDI:TSL
    652954 TSM:FAIL:RE-INIT
    652956 TSM:INIT
    652963 TSM:INIT:TSP OK
    652965 TSM:FPAR
    652968 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    654976 !TSM:FPAR:NO REPLY
    654978 TSM:FPAR
    654981 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    656988 !TSM:FPAR:NO REPLY
    656990 TSM:FPAR
    656993 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    659000 !TSM:FPAR:NO REPLY
    659002 TSM:FPAR
    659005 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    661012 !TSM:FPAR:FAIL
    661014 TSM:FAIL:CNT=7
    661016 TSM:FAIL:DIS
    661018 TSF:TDI:TSL
    721020 TSM:FAIL:RE-INIT
    721022 TSM:INIT
    721030 TSM:INIT:TSP OK
    721032 TSM:FPAR
    721035 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    723042 !TSM:FPAR:NO REPLY
    723044 TSM:FPAR
    723047 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    725054 !TSM:FPAR:NO REPLY
    725056 TSM:FPAR
    725059 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    727066 !TSM:FPAR:NO REPLY
    727068 TSM:FPAR
    727071 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    729078 !TSM:FPAR:FAIL
    729080 TSM:FAIL:CNT=7
    729082 TSM:FAIL:DIS
    729084 TSF:TDI:TSL
    789086 TSM:FAIL:RE-INIT
    789088 TSM:INIT
    789095 TSM:INIT:TSP OK
    789097 TSM:FPAR
    789100 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    791107 !TSM:FPAR:NO REPLY
    791109 TSM:FPAR
    791112 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    793119 !TSM:FPAR:NO REPLY
    793121 TSM:FPAR
    793124 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    795132 !TSM:FPAR:NO REPLY
    795134 TSM:FPAR
    795138 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    797145 !TSM:FPAR:FAIL
    797147 TSM:FAIL:CNT=7
    797149 TSM:FAIL:DIS
    797151 TSF:TDI:TSL
    857153 TSM:FAIL:RE-INIT
    857155 TSM:INIT
    857162 TSM:INIT:TSP OK
    857164 TSM:FPAR
    857167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    859175 !TSM:FPAR:NO REPLY
    859177 TSM:FPAR
    859181 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    861188 !TSM:FPAR:NO REPLY
    861190 TSM:FPAR
    861193 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    863200 !TSM:FPAR:NO REPLY
    863202 TSM:FPAR
    863205 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    865212 !TSM:FPAR:FAIL
    865214 TSM:FAIL:CNT=7
    865216 TSM:FAIL:DIS
    865218 TSF:TDI:TSL
    925220 TSM:FAIL:RE-INIT
    925222 TSM:INIT
    925230 TSM:INIT:TSP OK
    925232 TSM:FPAR
    925235 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    927242 !TSM:FPAR:NO REPLY
    927244 TSM:FPAR
    927247 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    929254 !TSM:FPAR:NO REPLY
    929256 TSM:FPAR
    929259 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    931266 !TSM:FPAR:NO REPLY
    931268 TSM:FPAR
    931271 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    933278 !TSM:FPAR:FAIL
    933280 TSM:FAIL:CNT=7
    933282 TSM:FAIL:DIS
    933284 TSF:TDI:TSL
    993286 TSM:FAIL:RE-INIT
    993288 TSM:INIT
    993295 TSM:INIT:TSP OK
    993297 TSM:FPAR
    993300 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    995307 !TSM:FPAR:NO REPLY
    995309 TSM:FPAR
    995312 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    997319 !TSM:FPAR:NO REPLY
    997321 TSM:FPAR
    997324 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    999331 !TSM:FPAR:NO REPLY
    999333 TSM:FPAR
    999336 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1001344 !TSM:FPAR:FAIL
    1001346 TSM:FAIL:CNT=7
    1001348 TSM:FAIL:DIS
    1001350 TSF:TDI:TSL
    1061353 TSM:FAIL:RE-INIT
    1061355 TSM:INIT
    1061362 TSM:INIT:TSP OK
    1061364 TSM:FPAR
    1061367 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1063375 !TSM:FPAR:NO REPLY
    1063377 TSM:FPAR
    1063380 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1065389 !TSM:FPAR:NO REPLY
    1065391 TSM:FPAR
    1065394 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1067402 !TSM:FPAR:NO REPLY
    1067404 TSM:FPAR
    1067407 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1069415 !TSM:FPAR:FAIL
    1069417 TSM:FAIL:CNT=7
    1069419 TSM:FAIL:DIS
    1069421 TSF:TDI:TSL
    1129424 TSM:FAIL:RE-INIT
    1129426 TSM:INIT
    1129434 TSM:INIT:TSP OK
    1129436 TSM:FPAR
    1129439 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1131447 !TSM:FPAR:NO REPLY
    1131449 TSM:FPAR
    1131452 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1133460 !TSM:FPAR:NO REPLY
    1133462 TSM:FPAR
    1133465 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1135473 !TSM:FPAR:NO REPLY
    1135475 TSM:FPAR
    1135478 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1137486 !TSM:FPAR:FAIL
    1137488 TSM:FAIL:CNT=7
    1137490 TSM:FAIL:DIS
    1137492 TSF:TDI:TSL
    1197496 TSM:FAIL:RE-INIT
    1197498 TSM:INIT
    1197505 TSM:INIT:TSP OK
    1197507 TSM:FPAR
    1197510 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1199518 !TSM:FPAR:NO REPLY
    1199520 TSM:FPAR
    1199523 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1201532 !TSM:FPAR:NO REPLY
    1201534 TSM:FPAR
    1201538 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1203546 !TSM:FPAR:NO REPLY
    1203548 TSM:FPAR
    1203551 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1205559 !TSM:FPAR:FAIL
    1205561 TSM:FAIL:CNT=7
    1205563 TSM:FAIL:DIS
    1205565 TSF:TDI:TSL
    1265568 TSM:FAIL:RE-INIT
    1265570 TSM:INIT
    1265577 TSM:INIT:TSP OK
    1265580 TSM:FPAR
    1265583 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1267591 !TSM:FPAR:NO REPLY
    1267593 TSM:FPAR
    1267596 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1269604 !TSM:FPAR:NO REPLY
    1269606 TSM:FPAR
    1269609 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1271617 !TSM:FPAR:NO REPLY
    1271619 TSM:FPAR
    1271622 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1273630 !TSM:FPAR:FAIL
    1273632 TSM:FAIL:CNT=7
    1273634 TSM:FAIL:DIS
    1273636 TSF:TDI:TSL
    1333639 TSM:FAIL:RE-INIT
    1333641 TSM:INIT
    1333648 TSM:INIT:TSP OK
    1333650 TSM:FPAR
    1333653 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1335661 !TSM:FPAR:NO REPLY
    1335663 TSM:FPAR
    1335666 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1337674 !TSM:FPAR:NO REPLY
    1337676 TSM:FPAR
    1337679 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1339688 !TSM:FPAR:NO REPLY
    1339691 TSM:FPAR
    1339694 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1341702 !TSM:FPAR:FAIL
    1341704 TSM:FAIL:CNT=7
    1341706 TSM:FAIL:DIS
    1341708 TSF:TDI:TSL
    1401711 TSM:FAIL:RE-INIT
    1401713 TSM:INIT
    1401720 TSM:INIT:TSP OK
    1401722 TSM:FPAR
    1401725 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1403734 !TSM:FPAR:NO REPLY
    1403736 TSM:FPAR
    1403739 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1405747 !TSM:FPAR:NO REPLY
    1405749 TSM:FPAR
    1405752 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1407760 !TSM:FPAR:NO REPLY
    1407762 TSM:FPAR
    1407765 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1409773 !TSM:FPAR:FAIL
    1409775 TSM:FAIL:CNT=7
    1409777 TSM:FAIL:DIS
    1409779 TSF:TDI:TSL
    1469782 TSM:FAIL:RE-INIT
    1469784 TSM:INIT
    1469791 TSM:INIT:TSP OK
    1469793 TSM:FPAR
    1469796 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1471804 !TSM:FPAR:NO REPLY
    1471806 TSM:FPAR
    1471809 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1473817 !TSM:FPAR:NO REPLY
    1473819 TSM:FPAR
    1473822 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1475830 !TSM:FPAR:NO REPLY
    1475832 TSM:FPAR
    1475835 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1477844 !TSM:FPAR:FAIL
    1477847 TSM:FAIL:CNT=7
    1477849 TSM:FAIL:DIS
    1477851 TSF:TDI:TSL
    1537854 TSM:FAIL:RE-INIT
    1537856 TSM:INIT
    1537863 TSM:INIT:TSP OK
    1537865 TSM:FPAR
    1537868 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1539876 !TSM:FPAR:NO REPLY
    1539878 TSM:FPAR
    1539881 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1541890 !TSM:FPAR:NO REPLY
    1541892 TSM:FPAR
    1541895 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1543903 !TSM:FPAR:NO REPLY
    1543905 TSM:FPAR
    1543908 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1545916 !TSM:FPAR:FAIL
    1545918 TSM:FAIL:CNT=7
    1545920 TSM:FAIL:DIS
    1545922 TSF:TDI:TSL
    1605925 TSM:FAIL:RE-INIT
    1605927 TSM:INIT
    1605935 TSM:INIT:TSP OK
    1605937 TSM:FPAR
    1605940 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1607948 !TSM:FPAR:NO REPLY
    1607950 TSM:FPAR
    1607953 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1609961 !TSM:FPAR:NO REPLY
    1609963 TSM:FPAR
    1609966 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1611974 !TSM:FPAR:NO REPLY
    1611976 TSM:FPAR
    1611979 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1613987 !TSM:FPAR:FAIL
    1613989 TSM:FAIL:CNT=7
    1613991 TSM:FAIL:DIS
    1613993 TSF:TDI:TSL
    1673997 TSM:FAIL:RE-INIT
    1673999 TSM:INIT
    1674006 TSM:INIT:TSP OK
    1674008 TSM:FPAR
    1674011 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1676019 !TSM:FPAR:NO REPLY
    1676021 TSM:FPAR
    1676024 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1678033 !TSM:FPAR:NO REPLY
    1678035 TSM:FPAR
    1678039 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1680047 !TSM:FPAR:NO REPLY
    1680049 TSM:FPAR
    1680052 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1682060 !TSM:FPAR:FAIL
    1682062 TSM:FAIL:CNT=7
    1682064 TSM:FAIL:DIS
    1682066 TSF:TDI:TSL
    1742069 TSM:FAIL:RE-INIT
    1742071 TSM:INIT
    1742078 TSM:INIT:TSP OK
    1742081 TSM:FPAR
    1742084 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1744092 !TSM:FPAR:NO REPLY
    1744094 TSM:FPAR
    1744097 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1746105 !TSM:FPAR:NO REPLY
    1746107 TSM:FPAR
    1746110 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1748118 !TSM:FPAR:NO REPLY
    1748120 TSM:FPAR
    1748123 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1750131 !TSM:FPAR:FAIL
    1750133 TSM:FAIL:CNT=7
    1750135 TSM:FAIL:DIS
    1750137 TSF:TDI:TSL
    1810140 TSM:FAIL:RE-INIT
    1810142 TSM:INIT
    1810149 TSM:INIT:TSP OK
    1810151 TSM:FPAR
    1810154 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1812162 !TSM:FPAR:NO REPLY
    1812164 TSM:FPAR
    1812167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1814175 !TSM:FPAR:NO REPLY
    1814177 TSM:FPAR
    1814180 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1816189 !TSM:FPAR:NO REPLY
    1816192 TSM:FPAR
    1816195 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1818203 !TSM:FPAR:FAIL
    1818205 TSM:FAIL:CNT=7
    1818207 TSM:FAIL:DIS
    1818209 TSF:TDI:TSL
    1878212 TSM:FAIL:RE-INIT
    1878214 TSM:INIT
    1878221 TSM:INIT:TSP OK
    1878223 TSM:FPAR
    

    MQTT.fx shows messages without content every ~5 Minutes going to "Gateway1-out/255/188/3/0/3", where the 188 seems to change at random.

    Also, as far as I understand the debug-mode of the sketch should be enabled (since #define MY_DEBUG is set in the beginning), however I'm not seeing any of the printed lines which should print the temperature and the humidity.

    I'm probably dumb here since I'm getting into this stuff since yesterday morning, so I would really appreciate someone helping me. I read something about having to define a sensor ID, but as far as I can tell it's already defined.

    My full code is literally the same as here: https://www.mysensors.org/build/humidity

    /**
     * The MySensors Arduino library handles the wireless radio link and protocol
     * between your home built sensors/actuators and HA controller of choice.
     * The sensors forms a self healing radio network with optional repeaters. Each
     * repeater and gateway builds a routing tables in EEPROM which keeps track of the
     * network topology allowing messages to be routed to nodes.
     *
     * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
     * Copyright (C) 2013-2015 Sensnology AB
     * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
     *
     * Documentation: http://www.mysensors.org
     * Support Forum: http://forum.mysensors.org
     *
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public License
     * version 2 as published by the Free Software Foundation.
     *
     *******************************
     *
     * REVISION HISTORY
     * Version 1.0: Henrik EKblad
     * Version 1.1 - 2016-07-20: Converted to MySensors v2.0 and added various improvements - Torben Woltjen (mozzbozz)
     * 
     * DESCRIPTION
     * This sketch provides an example of how to implement a humidity/temperature
     * sensor using a DHT11/DHT-22.
     *  
     * For more information, please visit:
     * http://www.mysensors.org/build/humidity
     * 
     */
    
    // Enable debug prints
    #define MY_DEBUG
    
    // Enable and select radio type attached 
    #define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69
    //#define MY_RS485
     
    #include <SPI.h>
    #include <MySensors.h>  
    #include <DHT.h>
    
    // Set this to the pin you connected the DHT's data pin to
    #define DHT_DATA_PIN 3
    
    // Set this offset if the sensor has a permanent small offset to the real temperatures.
    // In Celsius degrees (as measured by the device)
    #define SENSOR_TEMP_OFFSET 0
    
    // Sleep time between sensor updates (in milliseconds)
    // Must be >1000ms for DHT22 and >2000ms for DHT11
    static const uint64_t UPDATE_INTERVAL = 60000;
    
    // Force sending an update of the temperature after n sensor reads, so a controller showing the
    // timestamp of the last update doesn't show something like 3 hours in the unlikely case, that
    // the value didn't change since;
    // i.e. the sensor would force sending an update every UPDATE_INTERVAL*FORCE_UPDATE_N_READS [ms]
    static const uint8_t FORCE_UPDATE_N_READS = 10;
    
    #define CHILD_ID_HUM 0
    #define CHILD_ID_TEMP 1
    
    float lastTemp;
    float lastHum;
    uint8_t nNoUpdatesTemp;
    uint8_t nNoUpdatesHum;
    bool metric = true;
    
    MyMessage msgHum(CHILD_ID_HUM, V_HUM);
    MyMessage msgTemp(CHILD_ID_TEMP, V_TEMP);
    DHT dht;
    
    
    void presentation()  
    { 
      // Send the sketch version information to the gateway
      sendSketchInfo("TemperatureAndHumidity", "1.1");
      
      // Register all sensors to gw (they will be created as child devices)
      present(CHILD_ID_HUM, S_HUM);
      present(CHILD_ID_TEMP, S_TEMP);
      
      metric = getControllerConfig().isMetric;
    }
    
    
    void setup()
    {
      dht.setup(DHT_DATA_PIN); // set data pin of DHT sensor
      if (UPDATE_INTERVAL <= dht.getMinimumSamplingPeriod()) {
        Serial.println("Warning: UPDATE_INTERVAL is smaller than supported by the sensor!");
      }
      // Sleep for the time of the minimum sampling period to give the sensor time to power up
      // (otherwise, timeout errors might occure for the first reading)
      sleep(dht.getMinimumSamplingPeriod());
    }
    
    
    void loop()      
    {  
      // Force reading sensor, so it works also after sleep()
      dht.readSensor(true);
      
      // Get temperature from DHT library
      float temperature = dht.getTemperature();
      if (isnan(temperature)) {
        Serial.println("Failed reading temperature from DHT!");
      } else if (temperature != lastTemp || nNoUpdatesTemp == FORCE_UPDATE_N_READS) {
        // Only send temperature if it changed since the last measurement or if we didn't send an update for n times
        lastTemp = temperature;
    
        // apply the offset before converting to something different than Celsius degrees
        temperature += SENSOR_TEMP_OFFSET;
    
        if (!metric) {
          temperature = dht.toFahrenheit(temperature);
        }
        // Reset no updates counter
        nNoUpdatesTemp = 0;
        send(msgTemp.set(temperature, 1));
    
        #ifdef MY_DEBUG
        Serial.print("T: ");
        Serial.println(temperature);
        #endif
      } else {
        // Increase no update counter if the temperature stayed the same
        nNoUpdatesTemp++;
      }
    
      // Get humidity from DHT library
      float humidity = dht.getHumidity();
      if (isnan(humidity)) {
        Serial.println("Failed reading humidity from DHT");
      } else if (humidity != lastHum || nNoUpdatesHum == FORCE_UPDATE_N_READS) {
        // Only send humidity if it changed since the last measurement or if we didn't send an update for n times
        lastHum = humidity;
        // Reset no updates counter
        nNoUpdatesHum = 0;
        send(msgHum.set(humidity, 1));
        
        #ifdef MY_DEBUG
        Serial.print("H: ");
        Serial.println(humidity);
        #endif
      } else {
        // Increase no update counter if the humidity stayed the same
        nNoUpdatesHum++;
      }
    
      // Sleep for a while to save energy
      sleep(UPDATE_INTERVAL); 
    }
    

    Thank you in advance.


  • Mod

    @zerosquared welcome to the MySensors forum! The reason you don't see any debug messages about temperature is that the node is stuck trying to find a parent, and therefore never runs presentation() and loop().

    The debug log from the gateway would be useful too se why the node never sees a reply to the gind parent request.

    The most common cause is power problem. Which capacitor(s) are you using on the gw and the node? How are they powered? If you haven't already, see https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ for the most common problems and how to quickly troubleshoot them.



  • I think the reason is that you have not set a node ID. At least this is not visible in the sketch.
    OpenHab does not hand out node IDs. I have good experience.
    You should try setting
    #define MY_NODE_ID 1
    In the beginning of your sketch where you define Child ID.



  • @mfalkvidd
    Thank you very much for your answer! Below there are two logs from the serial console; I started them simultaneously, so the timestamps should be at least somewhat compareable. For this I did not include #define MY_NODE_ID 1 like @bgunnarb suggested.

    Gateway:

    connected with Flamingos for sale, channel 11
    dhcp client start...
    ip:192.168.178.66,mask:255.255.255.0,gw:192.168.178.1
    398 TSM:READY:ID=0,PAR=0,DIS=0
    431 MCO:REG:NOT NEEDED
    STUB: dhcp_stop
    ip:192.168.178.22,mask:255.255.255.0,gw:192.168.178.1
    scandone
    957 GWT:TPC:CONNECTING...
    984 GWT:TPC:IP=192.168.178.22
    1016 MCO:BGN:STP
    1033 MCO:BGN:INIT OK,TSP=1
    1062 GWT:TPC:IP=192.168.178.22
    1094 GWT:RMQ:MQTT RECONNECT
    1148 GWT:RMQ:MQTT CONNECTED
    1177 GWT:TPS:TOPIC=Gateway1-out/0/255/0/0/18,MSG SENT
    1447 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    1509 TSF:MSG:BC
    1525 TSF:MSG:FPAR REQ,ID=255
    1556 TSF:CKU:OK,FCTRL
    1579 TSF:MSG:GWL OK
    2212 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    3459 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    3521 TSF:MSG:BC
    3538 TSF:MSG:FPAR REQ,ID=255
    3568 TSF:CKU:OK,FCTRL
    3591 TSF:MSG:GWL OK
    4188 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    5471 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    5532 TSF:MSG:BC
    5549 TSF:MSG:FPAR REQ,ID=255
    5579 TSF:CKU:OK,FCTRL
    5603 TSF:MSG:GWL OK
    6162 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    7482 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    7544 TSF:MSG:BC
    7560 TSF:MSG:FPAR REQ,ID=255
    7591 TSF:CKU:OK,FCTRL
    7614 TSF:MSG:GWL OK
    8138 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    pm open,type:2 0
    19506 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    19569 TSF:MSG:BC
    19586 TSF:MSG:FPAR REQ,ID=255
    19618 TSF:PNG:SEND,TO=0
    19643 TSF:CKU:OK
    19661 TSF:MSG:GWL OK
    19946 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    21517 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    21580 TSF:MSG:BC
    21598 TSF:MSG:FPAR REQ,ID=255
    21629 TSF:CKU:OK,FCTRL
    21653 TSF:MSG:GWL OK
    21882 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    23529 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    23591 TSF:MSG:BC
    23609 TSF:MSG:FPAR REQ,ID=255
    23641 TSF:CKU:OK,FCTRL
    23665 TSF:MSG:GWL OK
    23858 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    25540 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    25603 TSF:MSG:BC
    25621 TSF:MSG:FPAR REQ,ID=255
    25652 TSF:CKU:OK,FCTRL
    25676 TSF:MSG:GWL OK
    25832 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    37565 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    37627 TSF:MSG:BC
    37645 TSF:MSG:FPAR REQ,ID=255
    37677 TSF:PNG:SEND,TO=0
    37702 TSF:CKU:OK
    37720 TSF:MSG:GWL OK
    38656 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    39576 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    39639 TSF:MSG:BC
    39657 TSF:MSG:FPAR REQ,ID=255
    39688 TSF:CKU:OK,FCTRL
    39712 TSF:MSG:GWL OK
    40593 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    41589 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    41651 TSF:MSG:BC
    41669 TSF:MSG:FPAR REQ,ID=255
    41700 TSF:CKU:OK,FCTRL
    41725 TSF:MSG:GWL OK
    42570 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    43600 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    43663 TSF:MSG:BC
    43680 TSF:MSG:FPAR REQ,ID=255
    43712 TSF:CKU:OK,FCTRL
    43736 TSF:MSG:GWL OK
    44544 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    55624 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    55687 TSF:MSG:BC
    55705 TSF:MSG:FPAR REQ,ID=255
    55736 TSF:PNG:SEND,TO=0
    55762 TSF:CKU:OK
    55779 TSF:MSG:GWL OK
    56343 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    57636 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    57699 TSF:MSG:BC
    57717 TSF:MSG:FPAR REQ,ID=255
    57748 TSF:CKU:OK,FCTRL
    57772 TSF:MSG:GWL OK
    58280 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    59647 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    59710 TSF:MSG:BC
    59728 TSF:MSG:FPAR REQ,ID=255
    59759 TSF:CKU:OK,FCTRL
    59783 TSF:MSG:GWL OK
    60254 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    61659 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    61721 TSF:MSG:BC
    61739 TSF:MSG:FPAR REQ,ID=255
    61771 TSF:CKU:OK,FCTRL
    61795 TSF:MSG:GWL OK
    62230 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    73682 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    73745 TSF:MSG:BC
    73763 TSF:MSG:FPAR REQ,ID=255
    73794 TSF:PNG:SEND,TO=0
    73819 TSF:CKU:OK
    73837 TSF:MSG:GWL OK
    74026 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    75694 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    75757 TSF:MSG:BC
    75774 TSF:MSG:FPAR REQ,ID=255
    75806 TSF:CKU:OK,FCTRL
    75830 TSF:MSG:GWL OK
    75964 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    77705 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    77768 TSF:MSG:BC
    77786 TSF:MSG:FPAR REQ,ID=255
    77817 TSF:CKU:OK,FCTRL
    77841 TSF:MSG:GWL OK
    77938 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    79716 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    79779 TSF:MSG:BC
    79797 TSF:MSG:FPAR REQ,ID=255
    79828 TSF:CKU:OK,FCTRL
    79852 TSF:MSG:GWL OK
    79913 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    91741 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    91804 TSF:MSG:BC
    91822 TSF:MSG:FPAR REQ,ID=255
    91853 TSF:PNG:SEND,TO=0
    91878 TSF:CKU:OK
    91896 TSF:MSG:GWL OK
    92736 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    93754 TSF:MSG:READ,255-255-0,s=221,c=3,t=3,pt=0,l=0,sg=0:
    93814 GWT:TPS:TOPIC=Gateway1-out/255/221/3/0/3,MSG SENT
    95764 TSF:MSG:READ,255-255-0,s=184,c=3,t=3,pt=0,l=0,sg=0:
    95825 GWT:TPS:TOPIC=Gateway1-out/255/184/3/0/3,MSG SENT
    97774 TSF:MSG:READ,255-255-0,s=147,c=3,t=3,pt=0,l=0,sg=0:
    97835 GWT:TPS:TOPIC=Gateway1-out/255/147/3/0/3,MSG SENT
    99785 TSF:MSG:READ,255-255-0,s=110,c=3,t=3,pt=0,l=0,sg=0:
    99846 GWT:TPS:TOPIC=Gateway1-out/255/110/3/0/3,MSG SENT
    111809 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    111872 TSF:MSG:BC
    111891 TSF:MSG:FPAR REQ,ID=255
    111924 TSF:PNG:SEND,TO=0
    111950 TSF:CKU:OK
    111969 TSF:MSG:GWL OK
    112404 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    113820 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    113884 TSF:MSG:BC
    113903 TSF:MSG:FPAR REQ,ID=255
    113935 TSF:CKU:OK,FCTRL
    113960 TSF:MSG:GWL OK
    114338 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    115831 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    115895 TSF:MSG:BC
    115914 TSF:MSG:FPAR REQ,ID=255
    115946 TSF:CKU:OK,FCTRL
    115971 TSF:MSG:GWL OK
    116312 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    117844 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    117907 TSF:MSG:BC
    117926 TSF:MSG:FPAR REQ,ID=255
    117959 TSF:CKU:OK,FCTRL
    117984 TSF:MSG:GWL OK
    118290 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    179847 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    179911 TSF:MSG:BC
    179930 TSF:MSG:FPAR REQ,ID=255
    179963 TSF:PNG:SEND,TO=0
    179989 TSF:CKU:OK
    180008 TSF:MSG:GWL OK
    180898 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    181860 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    181923 TSF:MSG:BC
    181942 TSF:MSG:FPAR REQ,ID=255
    181975 TSF:CKU:OK,FCTRL
    182000 TSF:MSG:GWL OK
    182834 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    183872 TSF:MSG:READ,255-255-0,s=9,c=3,t=3,pt=0,l=0,sg=0:
    183932 GWT:TPS:TOPIC=Gateway1-out/255/9/3/0/3,MSG SENT
    185882 TSF:MSG:READ,255-255-0,s=228,c=3,t=3,pt=0,l=0,sg=0:
    185944 GWT:TPS:TOPIC=Gateway1-out/255/228/3/0/3,MSG SENT
    187893 TSF:MSG:READ,255-255-0,s=191,c=3,t=3,pt=0,l=0,sg=0:
    187955 GWT:TPS:TOPIC=Gateway1-out/255/191/3/0/3,MSG SENT
    189903 TSF:MSG:READ,255-255-0,s=154,c=3,t=3,pt=0,l=0,sg=0:
    189965 GWT:TPS:TOPIC=Gateway1-out/255/154/3/0/3,MSG SENT
    

    Node:

     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.0
    
    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:FPAR
    37 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2046 !TSM:FPAR:NO REPLY
    2049 TSM:FPAR
    2051 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4059 !TSM:FPAR:NO REPLY
    4061 TSM:FPAR
    4063 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6071 !TSM:FPAR:NO REPLY
    6073 TSM:FPAR
    6075 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8083 !TSM:FPAR:FAIL
    8084 TSM:FAIL:CNT=1
    8086 TSM:FAIL:DIS
    8088 TSF:TDI:TSL
    18091 TSM:FAIL:RE-INIT
    18093 TSM:INIT
    18100 TSM:INIT:TSP OK
    18102 TSM:FPAR
    18104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20112 !TSM:FPAR:NO REPLY
    20114 TSM:FPAR
    20116 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    22124 !TSM:FPAR:NO REPLY
    22126 TSM:FPAR
    22128 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    24136 !TSM:FPAR:NO REPLY
    24138 TSM:FPAR
    24140 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    26148 !TSM:FPAR:FAIL
    26149 TSM:FAIL:CNT=2
    26151 TSM:FAIL:DIS
    26153 TSF:TDI:TSL
    36157 TSM:FAIL:RE-INIT
    36159 TSM:INIT
    36166 TSM:INIT:TSP OK
    36168 TSM:FPAR
    36170 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38178 !TSM:FPAR:NO REPLY
    38180 TSM:FPAR
    38182 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    40192 !TSM:FPAR:NO REPLY
    40194 TSM:FPAR
    40196 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    42204 !TSM:FPAR:NO REPLY
    42206 TSM:FPAR
    42208 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    44216 !TSM:FPAR:FAIL
    44217 TSM:FAIL:CNT=3
    44219 TSM:FAIL:DIS
    44221 TSF:TDI:TSL
    54224 TSM:FAIL:RE-INIT
    54226 TSM:INIT
    54234 TSM:INIT:TSP OK
    54236 TSM:FPAR
    54238 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56246 !TSM:FPAR:NO REPLY
    56248 TSM:FPAR
    56250 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58258 !TSM:FPAR:NO REPLY
    58260 TSM:FPAR
    58262 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    60270 !TSM:FPAR:NO REPLY
    60272 TSM:FPAR
    60274 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    62282 !TSM:FPAR:FAIL
    62283 TSM:FAIL:CNT=4
    62285 TSM:FAIL:DIS
    62287 TSF:TDI:TSL
    72290 TSM:FAIL:RE-INIT
    72292 TSM:INIT
    72299 TSM:INIT:TSP OK
    72301 TSM:FPAR
    72303 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    74311 !TSM:FPAR:NO REPLY
    74313 TSM:FPAR
    74315 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    76323 !TSM:FPAR:NO REPLY
    76325 TSM:FPAR
    76327 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    78336 !TSM:FPAR:NO REPLY
    78338 TSM:FPAR
    78340 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    80348 !TSM:FPAR:FAIL
    80349 TSM:FAIL:CNT=5
    80351 TSM:FAIL:DIS
    80353 TSF:TDI:TSL
    90356 TSM:FAIL:RE-INIT
    90358 TSM:INIT
    90365 TSM:INIT:TSP OK
    90368 TSM:FPAR
    90370 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    91358 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    91363 TSF:MSG:FPAR OK,ID=0,D=1
    92378 TSM:FPAR:OK
    92379 TSM:ID
    92381 TSM:ID:REQ
    92383 TSF:MSG:SEND,255-255-0-0,s=221,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    94391 TSM:ID
    94392 TSM:ID:REQ
    94395 TSF:MSG:SEND,255-255-0-0,s=184,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    96402 TSM:ID
    96403 TSM:ID:REQ
    96406 TSF:MSG:SEND,255-255-0-0,s=147,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    98413 TSM:ID
    98414 TSM:ID:REQ
    98417 TSF:MSG:SEND,255-255-0-0,s=110,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    100424 !TSM:ID:FAIL
    100425 TSM:FAIL:CNT=6
    100428 TSM:FAIL:DIS
    100429 TSF:TDI:TSL
    110432 TSM:FAIL:RE-INIT
    110434 TSM:INIT
    110441 TSM:INIT:TSP OK
    110443 TSM:FPAR
    110446 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    112453 !TSM:FPAR:NO REPLY
    112455 TSM:FPAR
    112458 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    114465 !TSM:FPAR:NO REPLY
    114467 TSM:FPAR
    114470 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    116478 !TSM:FPAR:NO REPLY
    116481 TSM:FPAR
    116484 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    118491 !TSM:FPAR:FAIL
    118493 TSM:FAIL:CNT=7
    118495 TSM:FAIL:DIS
    118497 TSF:TDI:TSL
    178499 TSM:FAIL:RE-INIT
    178501 TSM:INIT
    178508 TSM:INIT:TSP OK
    178510 TSM:FPAR
    178513 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    180521 !TSM:FPAR:NO REPLY
    180524 TSM:FPAR
    180527 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    181482 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    181487 TSF:MSG:FPAR OK,ID=0,D=1
    182534 TSM:FPAR:OK
    182535 TSM:ID
    182537 TSM:ID:REQ
    182540 TSF:MSG:SEND,255-255-0-0,s=9,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    184547 TSM:ID
    184548 TSM:ID:REQ
    184551 TSF:MSG:SEND,255-255-0-0,s=228,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    186558 TSM:ID
    186559 TSM:ID:REQ
    186562 TSF:MSG:SEND,255-255-0-0,s=191,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    188569 TSM:ID
    188570 TSM:ID:REQ
    188573 TSF:MSG:SEND,255-255-0-0,s=154,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    190580 !TSM:ID:FAIL
    190581 TSM:FAIL:CNT=7
    190584 TSM:FAIL:DIS
    190585 TSF:TDI:TSL
    

    My current power-configuration:
    On the node I'm using a seperate AM1117 with a 100µF cap just for the RF24 and on the gateway I'm powering the RF24 straight from the 3V3 rail of the NodeMCU, also with a 100µF cap.

    Tomorrow I'll try hooking up my bench supply for a more stable voltage, but I measured no drops and the RF24 examples worked with this configuration in high power mode, but maybe just because it were much shorter bursts..?

    @bgunnarb Thank you also very much for the suggestion; I added the #define to the sketch, right above the defintion of the Child IDs, but I experienced the same results as far as I can tell.
    Here are some logs, too (also started at around the same time for comparability):

    Gateway:

    0⸮~?⸮4⸮Ҷ⸮⸮OCAM⸮⸮47 MCO:BGN:INIT GW,CP=RNNGE---,VER=2.3.0
    90 TSF:LRT:OK
    105 TSM:INIT
    118 TSF:WUR:MS=0
    142 TSM:INIT:TSP OK
    163 TSM:INIT:GW MODE
    scandone
    state: 0 -> 2 (b0)
    state: 2 -> 3 (0)
    state: 3 -> 5 (10)
    add 0
    aid 3
    cnt 
    
    connected with Flamingos for sale, channel 11
    dhcp client start...
    ip:192.168.178.66,mask:255.255.255.0,gw:192.168.178.1
    398 TSM:READY:ID=0,PAR=0,DIS=0
    431 MCO:REG:NOT NEEDED
    STUB: dhcp_stop
    ip:192.168.178.22,mask:255.255.255.0,gw:192.168.178.1
    scandone
    958 GWT:TPC:CONNECTING...
    985 GWT:TPC:IP=192.168.178.22
    1017 MCO:BGN:STP
    1034 MCO:BGN:INIT OK,TSP=1
    1063 GWT:TPC:IP=192.168.178.22
    1095 GWT:RMQ:MQTT RECONNECT
    1146 GWT:RMQ:MQTT CONNECTED
    1175 GWT:TPS:TOPIC=Gateway1-out/0/255/0/0/18,MSG SENT
    1443 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    1505 TSF:MSG:BC
    1522 TSF:MSG:FPAR REQ,ID=255
    1552 TSF:CKU:OK,FCTRL
    1575 TSF:MSG:GWL OK
    2204 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    3456 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    3517 TSF:MSG:BC
    3534 TSF:MSG:FPAR REQ,ID=255
    3564 TSF:CKU:OK,FCTRL
    3588 TSF:MSG:GWL OK
    4180 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    5467 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    5529 TSF:MSG:BC
    5545 TSF:MSG:FPAR REQ,ID=255
    5576 TSF:CKU:OK,FCTRL
    5599 TSF:MSG:GWL OK
    6156 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    7478 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    7540 TSF:MSG:BC
    7557 TSF:MSG:FPAR REQ,ID=255
    7587 TSF:CKU:OK,FCTRL
    7610 TSF:MSG:GWL OK
    8130 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    pm open,type:2 0
    19502 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    19565 TSF:MSG:BC
    19583 TSF:MSG:FPAR REQ,ID=255
    19614 TSF:PNG:SEND,TO=0
    19639 TSF:CKU:OK
    19657 TSF:MSG:GWL OK
    19938 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    21514 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    21577 TSF:MSG:BC
    21595 TSF:MSG:FPAR REQ,ID=255
    21626 TSF:CKU:OK,FCTRL
    21650 TSF:MSG:GWL OK
    21876 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    23525 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    23588 TSF:MSG:BC
    23606 TSF:MSG:FPAR REQ,ID=255
    23637 TSF:CKU:OK,FCTRL
    23661 TSF:MSG:GWL OK
    23850 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    25537 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    25599 TSF:MSG:BC
    25617 TSF:MSG:FPAR REQ,ID=255
    25649 TSF:CKU:OK,FCTRL
    25673 TSF:MSG:GWL OK
    25826 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    37561 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    37624 TSF:MSG:BC
    37642 TSF:MSG:FPAR REQ,ID=255
    37673 TSF:PNG:SEND,TO=0
    37699 TSF:CKU:OK
    37716 TSF:MSG:GWL OK
    38648 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    39573 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    39636 TSF:MSG:BC
    39654 TSF:MSG:FPAR REQ,ID=255
    39685 TSF:CKU:OK,FCTRL
    39709 TSF:MSG:GWL OK
    40586 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    41585 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    41648 TSF:MSG:BC
    41666 TSF:MSG:FPAR REQ,ID=255
    41697 TSF:CKU:OK,FCTRL
    41721 TSF:MSG:GWL OK
    42563 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    43597 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    43659 TSF:MSG:BC
    43677 TSF:MSG:FPAR REQ,ID=255
    43709 TSF:CKU:OK,FCTRL
    43733 TSF:MSG:GWL OK
    44538 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    55621 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    55684 TSF:MSG:BC
    55702 TSF:MSG:FPAR REQ,ID=255
    55733 TSF:PNG:SEND,TO=0
    55759 TSF:CKU:OK
    55776 TSF:MSG:GWL OK
    56337 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    57633 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    57696 TSF:MSG:BC
    57714 TSF:MSG:FPAR REQ,ID=255
    57745 TSF:CKU:OK,FCTRL
    57769 TSF:MSG:GWL OK
    58274 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    59644 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    59707 TSF:MSG:BC
    59725 TSF:MSG:FPAR REQ,ID=255
    59756 TSF:CKU:OK,FCTRL
    59780 TSF:MSG:GWL OK
    60249 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    61656 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    61718 TSF:MSG:BC
    61736 TSF:MSG:FPAR REQ,ID=255
    61768 TSF:CKU:OK,FCTRL
    61792 TSF:MSG:GWL OK
    62225 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    73680 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    73742 TSF:MSG:BC
    73760 TSF:MSG:FPAR REQ,ID=255
    73792 TSF:PNG:SEND,TO=0
    73817 TSF:CKU:OK
    73835 TSF:MSG:GWL OK
    74021 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    75691 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    75754 TSF:MSG:BC
    75772 TSF:MSG:FPAR REQ,ID=255
    75803 TSF:CKU:OK,FCTRL
    75827 TSF:MSG:GWL OK
    75958 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    77703 TSF:MSG:READ,255-255-0,s=38,c=3,t=3,pt=0,l=0,sg=0:
    77763 GWT:TPS:TOPIC=Gateway1-out/255/38/3/0/3,MSG SENT
    79714 TSF:MSG:READ,255-255-0,s=2,c=3,t=3,pt=0,l=0,sg=0:
    79773 GWT:TPS:TOPIC=Gateway1-out/255/2/3/0/3,MSG SENT
    81724 TSF:MSG:READ,255-255-0,s=221,c=3,t=3,pt=0,l=0,sg=0:
    81785 GWT:TPS:TOPIC=Gateway1-out/255/221/3/0/3,MSG SENT
    83735 TSF:MSG:READ,255-255-0,s=184,c=3,t=3,pt=0,l=0,sg=0:
    83795 GWT:TPS:TOPIC=Gateway1-out/255/184/3/0/3,MSG SENT
    
    

    Node:

     
     __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.0
    
    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:FPAR
    37 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2046 !TSM:FPAR:NO REPLY
    2049 TSM:FPAR
    2051 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4059 !TSM:FPAR:NO REPLY
    4061 TSM:FPAR
    4063 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6071 !TSM:FPAR:NO REPLY
    6073 TSM:FPAR
    6075 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8083 !TSM:FPAR:FAIL
    8084 TSM:FAIL:CNT=1
    8086 TSM:FAIL:DIS
    8088 TSF:TDI:TSL
    18091 TSM:FAIL:RE-INIT
    18093 TSM:INIT
    18100 TSM:INIT:TSP OK
    18102 TSM:FPAR
    18104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20112 !TSM:FPAR:NO REPLY
    20114 TSM:FPAR
    20116 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    22124 !TSM:FPAR:NO REPLY
    22126 TSM:FPAR
    22128 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    24136 !TSM:FPAR:NO REPLY
    24138 TSM:FPAR
    24140 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    26148 !TSM:FPAR:FAIL
    26149 TSM:FAIL:CNT=2
    26151 TSM:FAIL:DIS
    26153 TSF:TDI:TSL
    36157 TSM:FAIL:RE-INIT
    36159 TSM:INIT
    36166 TSM:INIT:TSP OK
    36168 TSM:FPAR
    36170 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    38178 !TSM:FPAR:NO REPLY
    38180 TSM:FPAR
    38182 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    40192 !TSM:FPAR:NO REPLY
    40194 TSM:FPAR
    40196 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    42204 !TSM:FPAR:NO REPLY
    42206 TSM:FPAR
    42208 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    44216 !TSM:FPAR:FAIL
    44217 TSM:FAIL:CNT=3
    44219 TSM:FAIL:DIS
    44221 TSF:TDI:TSL
    54224 TSM:FAIL:RE-INIT
    54226 TSM:INIT
    54234 TSM:INIT:TSP OK
    54236 TSM:FPAR
    54238 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    56246 !TSM:FPAR:NO REPLY
    56248 TSM:FPAR
    56250 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58258 !TSM:FPAR:NO REPLY
    58260 TSM:FPAR
    58262 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    60270 !TSM:FPAR:NO REPLY
    60272 TSM:FPAR
    60274 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    62282 !TSM:FPAR:FAIL
    62283 TSM:FAIL:CNT=4
    62285 TSM:FAIL:DIS
    62287 TSF:TDI:TSL
    72290 TSM:FAIL:RE-INIT
    72292 TSM:INIT
    72299 TSM:INIT:TSP OK
    72301 TSM:FPAR
    72303 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    74311 !TSM:FPAR:NO REPLY
    74313 TSM:FPAR
    74315 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    74566 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    74571 TSF:MSG:FPAR OK,ID=0,D=1
    76323 TSM:FPAR:OK
    76324 TSM:ID
    76326 TSM:ID:REQ
    76328 TSF:MSG:SEND,255-255-0-0,s=38,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    78337 TSM:ID
    78338 TSM:ID:REQ
    78341 TSF:MSG:SEND,255-255-0-0,s=2,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    80348 TSM:ID
    80349 TSM:ID:REQ
    80352 TSF:MSG:SEND,255-255-0-0,s=221,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    82359 TSM:ID
    82360 TSM:ID:REQ
    82363 TSF:MSG:SEND,255-255-0-0,s=184,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    84370 !TSM:ID:FAIL
    84371 TSM:FAIL:CNT=5
    84373 TSM:FAIL:DIS
    84375 TSF:TDI:TSL
    

    I also noticed in MQTT.fx that some (maybe 1 out of 10) messages are not empty but contain "2.3.0".

    Thank you so much for your help, really appreciating it.


  • Mod

    This part from the gateway log

    TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    

    indicates that the gateway sends a reply to the find parent request, and the reply is acknowledged by the next hop.
    This part from the node log

    !TSM:FPAR:NO REPLY
    

    indicates that the dht11 node did not receive a reply to the find parent request.

    Do you have any MySensors repeater nodes in your MySensors network?

    This part from the dht11 node shows when the node is able to receive the find parent response

    74566 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    74571 TSF:MSG:FPAR OK,ID=0,D=1
    76323 TSM:FPAR:OK
    

    This part shows that the dht11node does not receive a node id (due to openhab not having the dynamic id feature as mentioned by bgunnarb)

    76324 TSM:ID
    76326 TSM:ID:REQ
    76328 TSF:MSG:SEND,255-255-0-0,s=38,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    78337 TSM:ID
    78338 TSM:ID:REQ
    78341 TSF:MSG:SEND,255-255-0-0,s=2,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    80348 TSM:ID
    80349 TSM:ID:REQ
    80352 TSF:MSG:SEND,255-255-0-0,s=221,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    82359 TSM:ID
    82360 TSM:ID:REQ
    82363 TSF:MSG:SEND,255-255-0-0,s=184,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    84370 !TSM:ID:FAIL
    


  • @mfalkvidd said in DHT11 Example Code on Arduino:

    Do you have any MySensors repeater nodes in your MySensors network?

    No, in fact I have just two RF24 Modules at all, so my whole setup consists of:

    Raspberry Pi -> NodeMCU (Gateway) -> Arduino Nano as node.

    When I get back home I'll try again with better power-sources, maybe it will help.
    Thanks again for your time.



  • Oops! I may have misled you.
    The #define MY_NODE_ID 1 has to go into the sketch before you call #include <MySensors.h>

    as pointed out in the description of the Library API definitions:
    "Remember to set configuration defines before including the MySensors.h."
    In my sketches I always do all the #define (s) first like below:

    // Enable debug prints to serial monitor
    #define MY_DEBUG
    #define MY_NODE_ID 23
    #define BATTERY_SENSE_PIN A0  // Input pin for battery sense
    #define VMIN 1.0  // (Min input voltage to regulator according to datasheet or guessing. (?) )
    #define VMAX 3.22 // (Known or desired voltage of full batteries. If not, set to Vlim.)
    #define CHILD_ID_HUM 0
    #define CHILD_ID_TEMP 1
     
    
    // Enable and select radio type attached
    #define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69
    
    #include <SPI.h>
    #include <AM2320.h>
    #include <Wire.h>
    #include <MySensors.h>
    // Rest of code goes here...  
    


  • @bgunnarb Yes! Thank you so much, this was the problem; it is working now, I can see the messages in MQTT.fx and they contain the temperature and the humidity.

    I'm feeling pretty stupid right now, seems like something I should have been able to figure out myself, but you know how this goes sometimes.
    A big thank you from germany to both of you. @mfalkvidd @bgunnarb



  • Don't feel stupid! If I had gotten 10 cents for each stupid mistake I have done over the years I would be a millionaire now. 😀



  • where do i find mysensor library


  • Mod

    @yakcrac try the download link in the top menu


Log in to reply
 

Suggested Topics

20
Online

11.4k
Users

11.1k
Topics

112.7k
Posts