The wait(100) worked thanks. I`m using an 10uF so far.
Posts made by MrRose
-
RE: Problem with BME280 Hum value
-
RE: Problem with BME280 Hum value
You are right, I solved it. But now it looks like sending failed during presentation? Any idea?
_ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.3.1 16 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1 26 TSM:INIT 27 TSF:WUR:MS=0 33 TSM:INIT:TSP OK 35 TSF:SID:OK,ID=3 37 TSM:FPAR 73 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 587 TSF:MSG:READ,0-0-3,s=255,c=3,t=8,pt=1,l=1,sg=0:0 592 TSF:MSG:FPAR OK,ID=0,D=1 2080 TSM:FPAR:OK 2081 TSM:ID 2082 TSM:ID:OK 2084 TSM:UPL 2087 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2184 TSF:MSG:READ,0-0-3,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2189 TSF:MSG:PONG RECV,HP=1 2192 TSM:UPL:OK 2193 TSM:READY:ID=3,PAR=0,DIS=1 2198 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2322 TSF:MSG:READ,0-0-3,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2329 TSF:MSG:SEND,3-3-0-0,s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=OK:2.3.1 2338 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4346 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=11,pt=0,l=13,sg=0,ft=0,st=OK:BME280 Sensor 4356 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1 4364 TSF:MSG:SEND,3-3-0-0,s=2,c=0,t=8,pt=0,l=0,sg=0,ft=0,st=OK: 4371 TSF:MSG:SEND,3-3-0-0,s=0,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 4412 !TSF:MSG:SEND,3-3-0-0,s=1,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=NACK: 4419 TSF:MSG:SEND,3-3-0-0,s=3,c=0,t=6,pt=0,l=0,sg=0,ft=1,st=OK: 4425 MCO:REG:REQ 4463 !TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=NACK:2 6470 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=1,st=OK:2 6535 TSF:MSG:READ,0-0-3,s=255,c=3,t=27,pt=1,l=1,sg=0:1 6540 MCO:PIM:NODE REG=1 6542 MCO:BGN:STP Hello world, I am a sensor node. 6544 MCO:BGN:INIT OK,TSP=1 BME280 - Requesting new data from sensor module. BME280 - Sensor module has some new values ready: BME280 - Temperature = 25.18 °C BME280 - Humidity = 39.49 % BME280 - Pressure = 1022.52 hPa BME280 - Forecast = unknown BME280 - Sending the new temperature to the gateway. 6616 TSF:MSG:SEND,3-3-0-0,s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:25.2 BME280 - Sending the new humidity to the gateway. 6627 TSF:MSG:SEND,3-3-0-0,s=1,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:39.5 6637 TSF:MSG:SEND,3-3-0-0,s=3,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:1.0 BME280 - Sending the new pressure to the gateway. 6645 TSF:MSG:SEND,3-3-0-0,s=2,c=1,t=4,pt=7,l=5,sg=0,ft=0,st=OK:1022.5 BME280 - Sending the latest forecast to the gateway. 6677 TSF:MSG:SEND,3-3-0-0,s=2,c=1,t=5,pt=0,l=7,sg=0,ft=0,st=OK:unknown BME280 - Measurement complete. Going to wait until next measurement.
-
Problem with BME280 Hum value
Hi,
i try to create a node by the BME280 example and send them to IoBroker.
But then I get by IoBroker just the Temp and the Pressure value.
BME280 - Requesting new data from sensor module. BME280 - Sensor module has some new values ready: BME280 - Temperature = 25.69 °C BME280 - Humidity = 41.13 % BME280 - Pressure = 1023.98 hPa BME280 - Forecast = stable BME280 - Sending the new temperature to the gateway. 330804 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:25.7 BME280 - Sending the new humidity to the gateway. 330816 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:41.1 BME280 - Sending the new pressure to the gateway. 330828 TSF:MSG:SEND,1-1-0-0,s=2,c=1,t=4,pt=7,l=5,sg=0,ft=0,st=OK:1024.0 BME280 - Measurement complete. Going to wait until next measurement.
And the log from IoBroker
mysensors.0 2019-09-05 18:55:48.532 info Add new object: 1.0_TEMP.V_ID - 1.0_TEMP.V_ID mysensors.0 2019-09-05 18:55:48.531 info Add new object: 1.0_TEMP.V_TEMP - 1.0_TEMP.V_TEMP mysensors.0 2019-09-05 18:55:48.530 info Add new object: 1.0_TEMP - 1.0_TEMP mysensors.0 2019-09-05 18:55:48.475 info Add new object: 1.2_BARO.V_FORECAST - 1.2_BARO.V_FORECAST mysensors.0 2019-09-05 18:55:48.475 info Add new object: 1.2_BARO.V_PRESSURE - 1.2_BARO.V_PRESSURE mysensors.0 2019-09-05 18:55:48.474 info Add new object: 1.2_BARO - 1.2_BARO mysensors.0 2019-09-05 18:55:48.416 info Version :1.1 mysensors.0 2019-09-05 18:55:48.356 warn setObject mysensors.0.1 (type=device) property native missing! mysensors.0 2019-09-05 18:55:48.353 info Name :BME280 Sensor
Any idea? Any help is welcome.
-
Serial debug
Hi I try so send debug messages from the gw with (serial.print) to the serial console. For that I activate "#define MY_DEBUG" and include some serial.print commands.
As results it get the Mysensors radio messages logged but so far that i run to the serial.print command it´s just rectangles like i use the wrong baud rate.
Any idea how to log own debug messages to the serial log?
-
RE: First MySensors project with hard start :-)
Channel now: 83
Gw:
⸮⸮⸮=C⸮⸮40 MCO:BGN:INIT GW,CP=RNNGE---,VER=2.2.0 83 TSF:LRT:OK 97 TSM:INIT 110 TSF:WUR:MS=0 134 TSM:INIT:TSP OK 155 TSM:INIT:GW MODE scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 2 cnt 262 TSM:READY:ID=0,PAR=0,DIS=0 295 MCO:REG:NOT NEEDED scandone 819 GWT:TIN:CONNECTING... connected with SevelenKeller, channel 1 dhcp client start... ip:192.168.7.35,mask:255.255.255.0,gw:192.168.7.1 1346 GWT:TIN:CONNECTING... 1374 GWT:TIN:IP=192.168.7.35 1405 MCO:BGN:STP 1422 MCO:BGN:INIT OK,TSP=1 2014 GWT:TSA:C=0,CONNECTED 3006 GWT:RFC:C=0,MSG=0;0;3;0;2; 3041 GWT:RFC:C=0,MSG=0;0;3;0;2;Get Version 3086 GWT:RFC:C=0,MSG=0;0;3;0;18;PING pm open,type:2 0 13056 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 23091 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 33126 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 43059 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 53097 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 63129 GWT:RFC:C=0,MSG=0;0;3;0;18;PING
Node:
__ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.2.0 51 MCO:BGN:INIT NODE,CP=RNNNE---,VER=2.2.0 66 TSM:INIT 67 TSF:WUR:MS=0 75 TSM:INIT:TSP OK 77 TSF:SID:OK,ID=2 78 TSM:FPAR 2323 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: scandone state: 0 -> 2 (b0) state: 2 -> 0 (2) reconnect scandone no Sevelen found, reconnect after 1s reconnect 4333 !TSM:FPAR:NO REPLY 4335 TSM:FPAR Soft WDT reset ctx: cont sp: 3ffef710 end: 3ffefa90 offset: 01b0 >>>stack>>> 3ffef8c0: 00000000 3ffefb68 3ffefb68 402046c3 3ffef8d0: 40106870 00000000 3ffefb68 40106969 3ffef8e0: 00000000 3ffefb68 00000000 402024e6 3ffef8f0: 001e8480 3ffe0001 3ffefaf3 402024e6 3ffef900: 00000000 0000000e 00000000 000000ff 3ffef910: 00000000 00000000 000000ff 00000030 3ffef920: 00000000 0000efd6 0000000e 402025a1 3ffef930: 00000000 3ffefaec 00000000 40202668 3ffef940: 00000007 52415046 3ffe000a 40204850 3ffef950: 3ffefb3c 40237470 3ffefd74 000000ff 3ffef960: 3ffefb3c 3ffefb38 3ffefaec 40203037 3ffef970: 000a594c 3fffc6fc 00000001 00000000 3ffef980: 3ffefb68 3ffefb3c 00000045 00000030 3ffef990: 00000000 3ffefb3c 00000045 00000030 3ffef9a0: 00000002 00000002 000000ff 00000017 3ffef9b0: 00000000 3ffefb68 3ffef9e0 3ffef9d0 3ffef9c0: 00000004 00000000 3ffefb68 40106969 3ffef9d0: 00000000 00000020 00000011 00000045 3ffef9e0: 3ffefb3c 000000ff 3ffefb3c 40203157 3ffef9f0: 00000001 00000000 3ffefb3c 40203310 3ffefa00: 000003f9 00000000 00000000 402029ed 3ffefa10: 3ffefb3c 00000000 3ffefb3c 40202abc 3ffefa20: 00029cc0 00000000 00000000 40202bd9 3ffefa30: 00000750 00a61ac0 00000000 40203d25 3ffefa40: 3fffdad0 3ffefae8 00000000 40203ee3 3ffefa50: 600000ff ff000000 3ffefd54 3ffeea68 3ffefa60: 3fffdad0 3ffefae8 3ffefd54 40203fa8 3ffefa70: feefeffe 00000000 3ffeea18 4020416c 3ffefa80: feefeffe feefeffe 3ffeea70 40100108 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v4ceabea9 ~ld
GW Log did not change by power on the node. Only now i get Ping again and again.
-
RE: First MySensors project with hard start :-)
Ok that will be a good idea in that case a change the nrf24 channel inside the myConfig.h will change the situation right?
-
RE: First MySensors project with hard start :-)
Hi
each nrf24 has as 100uF capacitor.
The log did at the GW did not change during the ask for parent. In remains on the posted log.
-
First MySensors project with hard start :-)
Hey together,
I try my first MySensors Project with two Nodemcu´s and NRF24 radios.
The first Nodemcu working as gateway with a additional NRF24 radio (wired by the manual, sketsh GatewayESP8266 ). And shows after boot the following.
⸮-S⸮⸮40 MCO:BGN:INIT GW,CP=RNNGE---,VER=2.2.0 83 TSF:LRT:OK 98 TSM:INIT 111 TSF:WUR:MS=0 135 TSM:INIT:TSP OK 155 TSM:INIT:GW MODE scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 2 cnt connected with MyWlan, channel 1 dhcp client start... ip:192.168.7.35,mask:255.255.255.0,gw:192.168.7.1 380 TSM:READY:ID=0,PAR=0,DIS=0 412 MCO:REG:NOT NEEDED scandone 937 GWT:TIN:CONNECTING... 964 GWT:TIN:IP=192.168.7.35 993 MCO:BGN:STP 1010 MCO:BGN:INIT OK,TSP=1
The second Nodemcu uses the same NRF24 radio with a simple sketsh BinarySwitchSleepSensor shows the following serial Log:
57 MCO:BGN:INIT NODE,CP=RNNNE---,VER=2.2.0 72 TSM:INIT 73 TSF:WUR:MS=0 80 TSM:INIT:TSP OK 82 TSF:SID:OK,ID=2 84 TSM:FPAR 2329 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4336 !TSM:FPAR:NO REPLY scandone no Sevelen found, reconnect after 1s 4342 TSM:FPAR Soft WDT reset ctx: cont sp: 3ffef720 end: 3ffefa90 offset: 01b0 >>>stack>>> 3ffef8d0: 40106870 00000000 3ffefb68 40106969 3ffef8e0: 00000000 3ffefb68 00000000 40202486 3ffef8f0: 001e8480 3ffe0001 3ffefaf3 402024e6 3ffef900: 00000000 0000000e 00000000 000000ff 3ffef910: 00000000 00000000 000000ff 00000030 3ffef920: 00000000 0000ef8e 0000000e 402025a1 3ffef930: 00000000 3ffefaec 00000000 40202668 3ffef940: 00000007 52415046 3ffe000a 40204850 3ffef950: 3ffefb3c 40237470 3ffefd74 000000ff 3ffef960: 3ffefb3c 3ffefb38 3ffefaec 40203037 3ffef970: 000a594c 3fffc6fc 00000001 00000000 3ffef980: 3ffefb68 3ffefb3c 0000004a 00000030 3ffef990: 00000000 3ffefb3c 0000004a 00000030 3ffef9a0: 00000002 00000002 000000ff 00000017 3ffef9b0: 00000000 3ffefb68 3ffef9e0 3ffef9d0 3ffef9c0: 00000004 00000000 3ffefb68 40106969 3ffef9d0: 00000000 00000020 00000011 0000004a 3ffef9e0: 3ffefb3c 000000ff 3ffefb3c 40203157 3ffef9f0: 00000001 00000000 3ffefb3c 40203310 3ffefa00: 0000001d 00000000 00000000 402029ed 3ffefa10: 3ffefb3c 00000000 3ffefb3c 40202abc 3ffefa20: 00029cc0 00000000 00000000 40202bd9 3ffefa30: 00000525 00a61ac0 00000000 40203d25 3ffefa40: 3fffdad0 3ffefae8 00000000 40203ee3 3ffefa50: 600000ff ff000000 3ffefd54 3ffeea68 3ffefa60: 3fffdad0 3ffefae8 3ffefd54 40203fa8 3ffefa70: feefeffe 00000000 3ffeea18 4020416c 3ffefa80: feefeffe feefeffe 3ffeea70 40100108 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v4ceabea9 ~ld
To me looks not like the GW get any connection to the second node. Due to i put to each radio the explained capacitor (100uF)
As Controller i try FHEM and Domoticz both connect to the gw without problems.
But the result is the same. Any ideas?
Thanks for your help.