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. Announcements
  3. 💬 Air Humidity Sensor - DHT

💬 Air Humidity Sensor - DHT

Scheduled Pinned Locked Moved Announcements
149 Posts 48 Posters 47.9k Views 38 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.
  • G Offline
    G Offline
    godwinguru
    wrote on last edited by sundberg84
    #105

    Thank you @sundberg84
    I just handled it and this is what i saw at the gateway

    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    IP: 192.168.178.66
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:PNG:SEND,TO=0
    0;255;3;0;9;TSF:CKU:OK
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:CKU:OK,FCTRL
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    IP: 192.168.178.66
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    IP: 192.168.178.66
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:PNG:SEND,TO=0
    0;255;3;0;9;TSF:CKU:OK
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:CKU:OK,FCTRL
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    IP: 192.168.178.66
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;TSM:INIT:TSP OK
    0;255;3;0;9;TSM:INIT:GW MODE
    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
    0;255;3;0;9;MCO:REG:NOT NEEDED
    IP: 192.168.178.66
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:CKU:OK,FCTRL
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:CKU:OK,FCTRL
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    
    while on the sensor i saw this:
    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    3 TSM:INIT
    4 TSF:WUR:MS=0
    11 TSM:INIT:TSP OK
    13 TSM:FPAR
    15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2022 !TSM:FPAR:NO REPLY
    2024 TSM:FPAR
    2026 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4034 !TSM:FPAR:NO REPLY
    4036 TSM:FPAR
    4038 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    5029 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    5035 TSF:MSG:FPAR OK,ID=0,D=1
    6046 TSM:FPAR:OK
    6047 TSM:ID
    6048 TSM:ID:REQ
    6081 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    8089 TSM:ID
    8090 TSM:ID:REQ
    9690 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    11698 TSM:ID
    11699 TSM:ID:REQ
    11702 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
    13709 TSM:ID
    13710 TSM:ID:REQ
    13713 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    15720 !TSM:ID:FAIL
    15721 TSM:FAIL:CNT=1
    15723 TSM:FAIL:PDT
    25726 TSM:FAIL:RE-INIT
    25729 TSM:INIT
    25736 TSM:INIT:TSP OK
    25738 TSM:FPAR
    25740 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    27748 !TSM:FPAR:NO REPLY
    27750 TSM:FPAR
    27760 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    29768 !TSM:FPAR:NO REPLY
    29770 TSM:FPAR
    29779 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    30552 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    30557 TSF:MSG:FPAR OK,ID=0,D=1
    31788 TSM:FPAR:OK
    31789 TSM:ID
    31790 TSM:ID:REQ
    31793 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    33801 TSM:ID
    33802 TSM:ID:REQ
    35401 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    37409 TSM:ID
    37410 TSM:ID:REQ
    37413 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
    39421 TSM:ID
    39422 TSM:ID:REQ
    41022 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    43030 !TSM:ID:FAIL
    43031 TSM:FAIL:CNT=2
    43033 TSM:FAIL:PDT
    53036 TSM:FAIL:RE-INIT
    53038 TSM:INIT
    53045 TSM:INIT:TSP OK
    53047 TSM:FPAR
    53049 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
    55057 !TSM:FPAR:NO REPLY
    55059 TSM:FPAR
    55061 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    57069 !TSM:FPAR:NO REPLY
    57071 TSM:FPAR
    57073 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    58068 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    58074 TSF:MSG:FPAR OK,ID=0,D=1
    59081 TSM:FPAR:OK
    59082 TSM:ID
    59084 TSM:ID:REQ
    60684 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    62692 TSM:ID
    62693 TSM:ID:REQ
    64292 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=NACK:
    66301 TSM:ID
    66302 TSM:ID:REQ
    66306 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=2,st=OK:
    68313 TSM:ID
    68314 TSM:ID:REQ
    69913 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    71921 !TSM:ID:FAIL
    71922 TSM:FAIL:CNT=3
    71924 TSM:FAIL:PDT
    81927 TSM:FAIL:RE-INIT
    81929 TSM:INIT
    81936 TSM:INIT:TSP OK
    81938 TSM:FPAR
    81940 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
    83948 !TSM:FPAR:NO REPLY
    83950 TSM:FPAR
    83952 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    84979 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    84984 TSF:MSG:FPAR OK,ID=0,D=1
    85960 TSM:FPAR:OK
    85961 TSM:ID
    85963 TSM:ID:REQ
    85965 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    87973 TSM:ID
    87974 TSM:ID:REQ
    89574 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    91582 TSM:ID
    91583 TSM:ID:REQ
    91586 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
    93593 TSM:ID
    93594 TSM:ID:REQ
    95194 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    97202 !TSM:ID:FAIL
    97203 TSM:FAIL:CNT=4
    97205 TSM:FAIL:PDT
    107208 TSM:FAIL:RE-INIT
    107210 TSM:INIT
    107217 TSM:INIT:TSP OK
    107219 TSM:FPAR
    107223 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
    109230 !TSM:FPAR:NO REPLY
    109232 TSM:FPAR
    109235 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    111242 !TSM:FPAR:NO REPLY
    111244 TSM:FPAR
    112843 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    114851 !TSM:FPAR:NO REPLY
    114853 TSM:FPAR
    116453 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    118461 !TSM:FPAR:FAIL
    118463 TSM:FAIL:CNT=5
    118465 TSM:FAIL:PDT
    128468 TSM:FAIL:RE-INIT
    128471 TSM:INIT
    128478 TSM:INIT:TSP OK
    128480 TSM:FPAR
    128483 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    129348 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    129353 TSF:MSG:FPAR OK,ID=0,D=1
    130109 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    130490 TSM:FPAR:OK
    130491 TSM:ID
    130493 TSM:ID:REQ
    130496 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    132503 TSM:ID
    132504 TSM:ID:REQ
    134105 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    136112 TSM:ID
    136113 TSM:ID:REQ
    136116 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
    138123 TSM:ID
    138124 TSM:ID:REQ
    138127 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    140134 !TSM:ID:FAIL
    140135 TSM:FAIL:CNT=6
    140138 TSM:FAIL:PDT
    150140 TSM:FAIL:RE-INIT
    150142 TSM:INIT
    150150 TSM:INIT:TSP OK
    150152 TSM:FPAR
    150155 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    152162 !TSM:FPAR:NO REPLY
    152164 TSM:FPAR
    152167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    154174 !TSM:FPAR:NO REPLY
    154176 TSM:FPAR
    154179 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    154945 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    154950 TSF:MSG:FPAR OK,ID=0,D=1
    156186 TSM:FPAR:OK
    156187 TSM:ID
    156189 TSM:ID:REQ
    157789 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    159797 TSM:ID
    159798 TSM:ID:REQ
    161398 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=NACK:
    163405 TSM:ID
    163406 TSM:ID:REQ
    163409 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=2,st=OK:
    165417 TSM:ID
    165419 TSM:ID:REQ
    167019 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    169026 !TSM:ID:FAIL
    169027 TSM:FAIL:CNT=7
    169030 TSM:FAIL:PDT
    229032 TSM:FAIL:RE-INIT
    229035 TSM:INIT
    229042 TSM:INIT:TSP OK
    229044 TSM:FPAR
    229047 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
    231054 !TSM:FPAR:NO REPLY
    231056 TSM:FPAR
    231065 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    232098 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    232103 TSF:MSG:FPAR OK,ID=0,D=1
    233073 TSM:FPAR:OK
    233074 TSM:ID
    233076 TSM:ID:REQ
    233079 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    235086 TSM:ID
    235087 TSM:ID:REQ
    236688 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    238695 TSM:ID
    238696 TSM:ID:REQ
    238699 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
    240706 TSM:ID
    240707 TSM:ID:REQ
    242308 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
    244315 !TSM:ID:FAIL
    244316 TSM:FAIL:CNT=7
    244318 TSM:FAIL:PDT
    

    Is it now ok, how can i get my data at the gatewa?

    sundberg84S 1 Reply Last reply
    0
    • G godwinguru

      Thank you @sundberg84
      I just handled it and this is what i saw at the gateway

      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      IP: 192.168.178.66
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSF:MSG:BC
      0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
      0;255;3;0;9;TSF:PNG:SEND,TO=0
      0;255;3;0;9;TSF:CKU:OK
      0;255;3;0;9;TSF:MSG:GWL OK
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSF:MSG:BC
      0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
      0;255;3;0;9;TSF:CKU:OK,FCTRL
      0;255;3;0;9;TSF:MSG:GWL OK
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      IP: 192.168.178.66
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      IP: 192.168.178.66
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSF:MSG:BC
      0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
      0;255;3;0;9;TSF:PNG:SEND,TO=0
      0;255;3;0;9;TSF:CKU:OK
      0;255;3;0;9;TSF:MSG:GWL OK
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSF:MSG:BC
      0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
      0;255;3;0;9;TSF:CKU:OK,FCTRL
      0;255;3;0;9;TSF:MSG:GWL OK
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      IP: 192.168.178.66
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSF:WUR:MS=0
      0;255;3;0;9;TSM:INIT:TSP OK
      0;255;3;0;9;TSM:INIT:GW MODE
      0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
      0;255;3;0;9;MCO:REG:NOT NEEDED
      IP: 192.168.178.66
      0;255;3;0;9;MCO:BGN:STP
      0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
      0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSF:MSG:BC
      0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
      0;255;3;0;9;TSF:CKU:OK,FCTRL
      0;255;3;0;9;TSF:MSG:GWL OK
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSF:MSG:BC
      0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
      0;255;3;0;9;TSF:CKU:OK,FCTRL
      0;255;3;0;9;TSF:MSG:GWL OK
      0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      
      while on the sensor i saw this:
      0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
      3 TSM:INIT
      4 TSF:WUR:MS=0
      11 TSM:INIT:TSP OK
      13 TSM:FPAR
      15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2022 !TSM:FPAR:NO REPLY
      2024 TSM:FPAR
      2026 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4034 !TSM:FPAR:NO REPLY
      4036 TSM:FPAR
      4038 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      5029 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      5035 TSF:MSG:FPAR OK,ID=0,D=1
      6046 TSM:FPAR:OK
      6047 TSM:ID
      6048 TSM:ID:REQ
      6081 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      8089 TSM:ID
      8090 TSM:ID:REQ
      9690 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      11698 TSM:ID
      11699 TSM:ID:REQ
      11702 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
      13709 TSM:ID
      13710 TSM:ID:REQ
      13713 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      15720 !TSM:ID:FAIL
      15721 TSM:FAIL:CNT=1
      15723 TSM:FAIL:PDT
      25726 TSM:FAIL:RE-INIT
      25729 TSM:INIT
      25736 TSM:INIT:TSP OK
      25738 TSM:FPAR
      25740 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      27748 !TSM:FPAR:NO REPLY
      27750 TSM:FPAR
      27760 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      29768 !TSM:FPAR:NO REPLY
      29770 TSM:FPAR
      29779 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      30552 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      30557 TSF:MSG:FPAR OK,ID=0,D=1
      31788 TSM:FPAR:OK
      31789 TSM:ID
      31790 TSM:ID:REQ
      31793 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      33801 TSM:ID
      33802 TSM:ID:REQ
      35401 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      37409 TSM:ID
      37410 TSM:ID:REQ
      37413 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
      39421 TSM:ID
      39422 TSM:ID:REQ
      41022 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      43030 !TSM:ID:FAIL
      43031 TSM:FAIL:CNT=2
      43033 TSM:FAIL:PDT
      53036 TSM:FAIL:RE-INIT
      53038 TSM:INIT
      53045 TSM:INIT:TSP OK
      53047 TSM:FPAR
      53049 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
      55057 !TSM:FPAR:NO REPLY
      55059 TSM:FPAR
      55061 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      57069 !TSM:FPAR:NO REPLY
      57071 TSM:FPAR
      57073 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      58068 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      58074 TSF:MSG:FPAR OK,ID=0,D=1
      59081 TSM:FPAR:OK
      59082 TSM:ID
      59084 TSM:ID:REQ
      60684 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      62692 TSM:ID
      62693 TSM:ID:REQ
      64292 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=NACK:
      66301 TSM:ID
      66302 TSM:ID:REQ
      66306 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=2,st=OK:
      68313 TSM:ID
      68314 TSM:ID:REQ
      69913 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      71921 !TSM:ID:FAIL
      71922 TSM:FAIL:CNT=3
      71924 TSM:FAIL:PDT
      81927 TSM:FAIL:RE-INIT
      81929 TSM:INIT
      81936 TSM:INIT:TSP OK
      81938 TSM:FPAR
      81940 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
      83948 !TSM:FPAR:NO REPLY
      83950 TSM:FPAR
      83952 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      84979 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      84984 TSF:MSG:FPAR OK,ID=0,D=1
      85960 TSM:FPAR:OK
      85961 TSM:ID
      85963 TSM:ID:REQ
      85965 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      87973 TSM:ID
      87974 TSM:ID:REQ
      89574 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      91582 TSM:ID
      91583 TSM:ID:REQ
      91586 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
      93593 TSM:ID
      93594 TSM:ID:REQ
      95194 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      97202 !TSM:ID:FAIL
      97203 TSM:FAIL:CNT=4
      97205 TSM:FAIL:PDT
      107208 TSM:FAIL:RE-INIT
      107210 TSM:INIT
      107217 TSM:INIT:TSP OK
      107219 TSM:FPAR
      107223 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
      109230 !TSM:FPAR:NO REPLY
      109232 TSM:FPAR
      109235 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      111242 !TSM:FPAR:NO REPLY
      111244 TSM:FPAR
      112843 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      114851 !TSM:FPAR:NO REPLY
      114853 TSM:FPAR
      116453 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      118461 !TSM:FPAR:FAIL
      118463 TSM:FAIL:CNT=5
      118465 TSM:FAIL:PDT
      128468 TSM:FAIL:RE-INIT
      128471 TSM:INIT
      128478 TSM:INIT:TSP OK
      128480 TSM:FPAR
      128483 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      129348 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      129353 TSF:MSG:FPAR OK,ID=0,D=1
      130109 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      130490 TSM:FPAR:OK
      130491 TSM:ID
      130493 TSM:ID:REQ
      130496 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      132503 TSM:ID
      132504 TSM:ID:REQ
      134105 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      136112 TSM:ID
      136113 TSM:ID:REQ
      136116 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
      138123 TSM:ID
      138124 TSM:ID:REQ
      138127 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      140134 !TSM:ID:FAIL
      140135 TSM:FAIL:CNT=6
      140138 TSM:FAIL:PDT
      150140 TSM:FAIL:RE-INIT
      150142 TSM:INIT
      150150 TSM:INIT:TSP OK
      150152 TSM:FPAR
      150155 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      152162 !TSM:FPAR:NO REPLY
      152164 TSM:FPAR
      152167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      154174 !TSM:FPAR:NO REPLY
      154176 TSM:FPAR
      154179 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      154945 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      154950 TSF:MSG:FPAR OK,ID=0,D=1
      156186 TSM:FPAR:OK
      156187 TSM:ID
      156189 TSM:ID:REQ
      157789 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      159797 TSM:ID
      159798 TSM:ID:REQ
      161398 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=NACK:
      163405 TSM:ID
      163406 TSM:ID:REQ
      163409 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=2,st=OK:
      165417 TSM:ID
      165419 TSM:ID:REQ
      167019 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      169026 !TSM:ID:FAIL
      169027 TSM:FAIL:CNT=7
      169030 TSM:FAIL:PDT
      229032 TSM:FAIL:RE-INIT
      229035 TSM:INIT
      229042 TSM:INIT:TSP OK
      229044 TSM:FPAR
      229047 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=1,st=OK:
      231054 !TSM:FPAR:NO REPLY
      231056 TSM:FPAR
      231065 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      232098 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
      232103 TSF:MSG:FPAR OK,ID=0,D=1
      233073 TSM:FPAR:OK
      233074 TSM:ID
      233076 TSM:ID:REQ
      233079 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
      235086 TSM:ID
      235087 TSM:ID:REQ
      236688 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      238695 TSM:ID
      238696 TSM:ID:REQ
      238699 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=1,st=OK:
      240706 TSM:ID
      240707 TSM:ID:REQ
      242308 !TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=NACK:
      244315 !TSM:ID:FAIL
      244316 TSM:FAIL:CNT=7
      244318 TSM:FAIL:PDT
      

      Is it now ok, how can i get my data at the gatewa?

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #106

      @godwinguru - I dont know why but it seems like your gw is restarting. I dont know anything about a Raspberry GW so you need to wait for someone else to answer.

      Top of my mind is a power issue.

      Also I added ``` around your code which makes it easier for others to read. Please use this when you post logs.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • G Offline
        G Offline
        godwinguru
        wrote on last edited by
        #107

        @sundberg84, thank you for your reply, my gateway is Ethernet with arduino, am not using rhaspberry pi., thanks once again.

        sundberg84S 1 Reply Last reply
        0
        • G godwinguru

          @sundberg84, thank you for your reply, my gateway is Ethernet with arduino, am not using rhaspberry pi., thanks once again.

          sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #108

          @godwinguru - then I would say you have a power issue. As something is using power the gw restarts due to this. What controller do you use? Do you see any connection status there? How do you power the gw? This is crucial that you use a capacitor on the radio and have a stable power supply för the radio.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • G Offline
            G Offline
            godwinguru
            wrote on last edited by
            #109

            @sundberg84, as i said, am new to mysensors, i dont know where and how to select a controller, it is in my mind to use homegenie, but i still dont know how to integrate it with the gateway, am using adapter to power it, it may not be power problem, i think i still to know a lot about how mysensors works. This is because i used this code (/mysensors/MySensors/examples/GatewayW5100/GatewayW5100.ino) on the gateway without changing anything. i doubt if that is okay, because i never added any other thing to the code.

            sundberg84S 1 Reply Last reply
            0
            • G godwinguru

              @sundberg84, as i said, am new to mysensors, i dont know where and how to select a controller, it is in my mind to use homegenie, but i still dont know how to integrate it with the gateway, am using adapter to power it, it may not be power problem, i think i still to know a lot about how mysensors works. This is because i used this code (/mysensors/MySensors/examples/GatewayW5100/GatewayW5100.ino) on the gateway without changing anything. i doubt if that is okay, because i never added any other thing to the code.

              sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by sundberg84
              #110

              @godwinguru - ok, then thats your problem. The GW cant be used on its own - it require a controller to work. The controller hand out ID and collect all the data. The controller can be used on a raspberry pi for example.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              1 Reply Last reply
              0
              • DigdoggerD Offline
                DigdoggerD Offline
                Digdogger
                wrote on last edited by Digdogger
                #111

                Hello,
                problem, after each restart of gateway or restore database, all my temp/humity sensors are seen as 2 sensors.
                Seen like that:
                2017-07-15 15:23:53.758 (Mysensor) Temp (Temp)
                2017-07-15 15:23:53.763 (Mysensor) Humidity (Hum)
                Should be (on another sensor):
                2017-07-15 15:26:45.610 (Mysensor) Temp + Humidity (Salon)

                After 3 hours one sensor is still doing the same. I restarted it, no change.
                Restarted the gateway again, no change. There is still one sensor which has this behaviour and it's never the same sensor...

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #112

                  It's a Domoticz problem, sometimes just rebooting everything can solve but try to search on domoticz forum too.

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    cristi
                    wrote on last edited by
                    #113

                    2 issues I see with the example:
                    a) I'm not a native english speaker, but to me, on top of the page, "sampling rate" of "2 times/sec" for dht-22 is wrong. From code and pdf you can see that you can't ask for data faster than at 2 seconds.
                    As such, I would change the top of the page to read either "0.5 times/sec" or "1 time at 2 seconds".

                    b) use of SENSOR_TEMP_OFFSET is wrong. Because depending on how the controller wants this sensor's data (Celsius | Fahrenheit), the offset will be different. If you happen to change the metric system value in the controller and ask for the data (after sensor restart let's say), you'll get a different value than expected).
                    I would do:

                      • add to the comment for SENSOR_TEMP_OFFSET that we're talking about a Celsius offset
                      • and move the statement "temperature += SENSOR_TEMP_OFFSET;" before the conversion to Fahrenheit.

                    Regards.

                    mfalkviddM 1 Reply Last reply
                    1
                    • C cristi

                      2 issues I see with the example:
                      a) I'm not a native english speaker, but to me, on top of the page, "sampling rate" of "2 times/sec" for dht-22 is wrong. From code and pdf you can see that you can't ask for data faster than at 2 seconds.
                      As such, I would change the top of the page to read either "0.5 times/sec" or "1 time at 2 seconds".

                      b) use of SENSOR_TEMP_OFFSET is wrong. Because depending on how the controller wants this sensor's data (Celsius | Fahrenheit), the offset will be different. If you happen to change the metric system value in the controller and ask for the data (after sensor restart let's say), you'll get a different value than expected).
                      I would do:

                        • add to the comment for SENSOR_TEMP_OFFSET that we're talking about a Celsius offset
                        • and move the statement "temperature += SENSOR_TEMP_OFFSET;" before the conversion to Fahrenheit.

                      Regards.

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by
                      #114

                      Thanks @cristi
                      I have updated the table with the sample rate. Could you check if it looks good?

                      For the code change a pull request will be needed. Could you do one? If you can't I'll add it to my todo but it might take a while.

                      C 1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        Thanks @cristi
                        I have updated the table with the sample rate. Could you check if it looks good?

                        For the code change a pull request will be needed. Could you do one? If you can't I'll add it to my todo but it might take a while.

                        C Offline
                        C Offline
                        cristi
                        wrote on last edited by
                        #115

                        @mfalkvidd

                        • there's a typo in the table for DHT-11: it should be '1s per sample' instead of '10s per sample'
                        • I created a pull request
                        mfalkviddM 1 Reply Last reply
                        0
                        • C cristi

                          @mfalkvidd

                          • there's a typo in the table for DHT-11: it should be '1s per sample' instead of '10s per sample'
                          • I created a pull request
                          mfalkviddM Offline
                          mfalkviddM Offline
                          mfalkvidd
                          Mod
                          wrote on last edited by
                          #116

                          @cristi according to http://www.micropik.com/PDF/dht11.pdf typical response time is 10s. Am I looking at the wrong number?

                          Great work on the pull request. I'm adding a link in case someone needs it in the future. https://github.com/mysensors/MySensorsArduinoExamples/pull/29/

                          C 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            @cristi according to http://www.micropik.com/PDF/dht11.pdf typical response time is 10s. Am I looking at the wrong number?

                            Great work on the pull request. I'm adding a link in case someone needs it in the future. https://github.com/mysensors/MySensorsArduinoExamples/pull/29/

                            C Offline
                            C Offline
                            cristi
                            wrote on last edited by
                            #117

                            @mfalkvidd Indeed, I see that 10 seconds in pdf, but it looks strange. I'd have to re-read to see if I can get what it is supposed to be for.
                            But, meanwhile, in the same pdf, you get this note (chapter 6): "Note: Sampling period at intervals should be no less than 1 second.". Also, DHT library is using 1second sampling period.

                            mfalkviddM 1 Reply Last reply
                            0
                            • C cristi

                              @mfalkvidd Indeed, I see that 10 seconds in pdf, but it looks strange. I'd have to re-read to see if I can get what it is supposed to be for.
                              But, meanwhile, in the same pdf, you get this note (chapter 6): "Note: Sampling period at intervals should be no less than 1 second.". Also, DHT library is using 1second sampling period.

                              mfalkviddM Offline
                              mfalkviddM Offline
                              mfalkvidd
                              Mod
                              wrote on last edited by
                              #118

                              @cristi thanks. I have updated the table.

                              1 Reply Last reply
                              0
                              • R Offline
                                R Offline
                                ricmail85
                                wrote on last edited by
                                #119

                                I've created a DHT11 sensor based on this sketch. However the temperatures (and humidities) are reported as integer numbers in domoticz (either by looking at the devices and setup tabs). In the sketch I've specified the number of decimals like send(msgHum.set(temperatire, 2)). Even if I try larger decimal numbers, nothing change when the value is received in domoticz. What can I do?
                                Thanks in advance.

                                mfalkviddM 1 Reply Last reply
                                0
                                • gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by gohan
                                  #120

                                  What kind of variable did you set for your "temperature"? If you can post your code it would help

                                  1 Reply Last reply
                                  0
                                  • R ricmail85

                                    I've created a DHT11 sensor based on this sketch. However the temperatures (and humidities) are reported as integer numbers in domoticz (either by looking at the devices and setup tabs). In the sketch I've specified the number of decimals like send(msgHum.set(temperatire, 2)). Even if I try larger decimal numbers, nothing change when the value is received in domoticz. What can I do?
                                    Thanks in advance.

                                    mfalkviddM Offline
                                    mfalkviddM Offline
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by
                                    #121

                                    @ricmail85 you mean you're only getting integers here?
                                    0_1516118501351_97c9afbc-5d93-4fc1-8886-2d8e6fd7c22c-image.png

                                    1 Reply Last reply
                                    0
                                    • R Offline
                                      R Offline
                                      ricmail85
                                      wrote on last edited by
                                      #122

                                      @mfalkvidd yes I see only integer numbers here and in devices.

                                      @gohan I've declared the variable temperature as float. However after I bit of debugging I found that it seems to be related to the dht lib included in the mysensors examples. If the model is dht11 the library is set for 0 decimals. For the dht22 it would be 1 decimal.

                                      Am I right? Thanks in advance

                                      1 Reply Last reply
                                      0
                                      • S Offline
                                        S Offline
                                        scottdube
                                        wrote on last edited by
                                        #123

                                        NEWBIE ALERT -- Has anyone else had trouble getting the code above to compile? I'm getting the following error.

                                        ysensors_Humidity:91: error: 'class DHT' has no member named 'setup'
                                        dht.setup(DHT_DATA_PIN); // set data pin of DHT sensor
                                        ^
                                        Mysensors_Humidity:92: error: 'class DHT' has no member named 'getMinimumSamplingPeriod'
                                        if (UPDATE_INTERVAL <= dht.getMinimumSamplingPeriod()) {
                                        ^
                                        Mysensors_Humidity:97: error: 'class DHT' has no member named 'getMinimumSamplingPeriod'
                                        sleep(dht.getMinimumSamplingPeriod());
                                        ^
                                        /Users/scottdube/Documents/Arduino/Mysensors_Humidity/Mysensors_Humidity.ino: In function 'void loop()':
                                        Mysensors_Humidity:104: error: 'class DHT' has no member named 'readSensor'
                                        dht.readSensor(true);
                                        ^
                                        Mysensors_Humidity:107: error: 'class DHT' has no member named 'getTemperature'
                                        float temperature = dht.getTemperature();
                                        ^
                                        Mysensors_Humidity:114: error: 'class DHT' has no member named 'toFahrenheit'
                                        temperature = dht.toFahrenheit(temperature);
                                        ^
                                        Mysensors_Humidity:131: error: 'class DHT' has no member named 'getHumidity'
                                        float humidity = dht.getHumidity();
                                        ^
                                        exit status 1
                                        no matching function for call to 'DHT::DHT()'

                                        Thanks

                                        1 Reply Last reply
                                        0
                                        • gohanG Offline
                                          gohanG Offline
                                          gohan
                                          Mod
                                          wrote on last edited by
                                          #124

                                          I guess you are using a different dht library version

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


                                          11

                                          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