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.
-
Check the variable type you are sending with the humidity. The log parser indicates you are sending a V_TEMP for the humidity reading instead of a V_HUM
You can find the log parser here: https://www.mysensors.org/build/parser
Much easier than trying to read the log output directly.
-
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.
-
@mrrose sending multiple messages in rapid succession strains the power supply. How is the node powered? What capacitors do you use near the nrf24? See if adding an additional capacitor helps, and/or add wait(100) after each call to presentation and send.
-
The wait(100) worked thanks. I`m using an 10uF so far.