-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
awaiting feedbackAction - Waiting for response or more informationAction - Waiting for response or more informationtroubleshootingType - TroubleshootingType - Troubleshooting
Description
BUG DESCRIPTION
Get null for both humidity and temperature on AM2302, DS18B20 works fine.
Running on Wemos D1 R2, Tasmota 6.5.0(sensors)
REQUESTED INFORMATION
Make sure these boxes are checked before submitting your issue. Thank you
FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED
- Read the Contributing Guide and Policy and the Code of Conduct
- Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues)
- Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting)
- Searched the problem in the forum (https://groups.google.com/d/forum/sonoffusers)
- Searched the problem in the chat (https://discord.gg/Ks2Kzd4)
- Device used (i.e. Sonoff Basic) : _Sensor works on sonoff Basic but not on Wemos ____
- Tasmota binary firmware version number used : 6.5.0, self compiled____ / (pre-compiled or self-compiled ?)
- Development IDE - Compiler / Upload tools used :platformio ____ / http____
- Provide the output of command
status 0
:
STATUS 0 OUTPUT HERE:
00:53:59 MQT: stat/80/STATUS = {"Status":{"Module":18,"FriendlyName":["Wemos","Wemos2","Wemos3","Wemos4"],"Topic":"80","ButtonTopic":"KNAPP80","Power":0,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"SwitchTopic":"SWITCH80","SwitchMode":[2,0,0,0,0,0,0,0],"ButtonRetain":1,"SwitchRetain":1,"SensorRetain":0,"PowerRetain":1}}
00:53:59 MQT: stat/80/STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://insidan.us.to/sonoff/firmware80.bin","RestartReason":"Software/System restart","Uptime":"0T00:09:47","StartupUTC":"2019-04-10T22:44:12","Sleep":50,"CfgHolder":4617,"BootCount":64,"SaveCount":296,"SaveAddress":"F9000"}}
00:53:59 MQT: stat/80/STATUS2 = {"StatusFWR":{"Version":"6.5.0(sensors)","BuildDateTime":"2019-04-11T00:17:47","Boot":31,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}}
00:53:59 MQT: stat/80/STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["lj3m",""],"TelePeriod":60,"Resolution":"558180C0","SetOption":["000080E9","280500000100000000000000000000000000","00000000"]}}
00:53:59 MQT: stat/80/STATUS4 = {"StatusMEM":{"ProgramSize":547,"Free":456,"Heap":15,"ProgramFlashSize":1024,"FlashSize":4096,"FlashChipId":"164020","FlashMode":3,"Features":["0000041D","0FDEE3B4","0001A004","B7FFBFCC","005ABBC0"]}}
00:53:59 MQT: stat/80/STATUS5 = {"StatusNET":{"Hostname":"80-5893","IPAddress":"192.168.200.220","Gateway":"192.168.200.254","Subnetmask":"255.255.255.0","DNSServer":"192.168.200.1","Mac":"60:01:94:56:D7:05","Webserver":2,"WifiConfig":4}}
00:53:59 MQT: stat/80/STATUS6 = {"StatusMQT":{"MqttHost":"192.168.200.1","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_56D705","MqttUser":"scriptuser","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":15}}
00:53:59 MQT: stat/80/STATUS7 = {"StatusTIM":{"UTC":"Wed Apr 10 22:53:59 2019","Local":"Thu Apr 11 00:53:59 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+02:00","Sunrise":"07:07","Sunset":"20:35"}}
00:53:59 MQT: stat/80/STATUS10 = {"StatusSNS":{"Time":"2019-04-11T00:53:59","ANALOG":{"A0":8},"DS18B20":{"Temperature":1.0},"AM2301":{**"Temperature":null,"Humidity":null},"TempUnit":"C"}}**
00:53:59 MQT: stat/80/STATUS11 = {"StatusSTS":{"Time":"2019-04-11T00:53:59","Uptime":"0T00:09:47","SleepMode":"Dynamic","Sleep":50,"LoadAvg":48,"POWER1":"0","POWER2":"0","POWER3":"0","POWER4":"0","Wifi":{"AP":1,"SSId":"lj3m","BSSId":"E4:F0:42:E6:0A:85","Channel":6,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:06"}}}
- Provide the output of console when you experience your issue if apply :
(Please useweblog 4
for more debug information)
CONSOLE OUTPUT HERE:
under väntan startsignal hög puls = means timeout during wait for start signal high puls
00:57:24 DHT: Timeout under väntan startsignal hög puls
00:57:26 DHT: Timeout under väntan startsignal hög puls
00:57:28 DHT: Timeout under väntan startsignal hög puls
00:57:30 MQT: tele/80/STATE = {"Time":"2019-04-11T00:57:30","Uptime":"0T00:13:18","SleepMode":"Dynamic","Sleep":50,"LoadAvg":30,"POWER1":"0","POWER2":"0","POWER3":"0","POWER4":"0","Wifi":{"AP":1,"SSId":"lj3m","BSSId":"E4:F0:42:E6:0A:85","Channel":6,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:06"}} (bevarad)
00:57:30 MQT: tele/80/SENSOR = {"Time":"2019-04-11T00:57:30","ANALOG":{"A0":8},"DS18B20":{"Temperature":1.0},"AM2301":{"Temperature":null,"Humidity":null},"TempUnit":"C"}
00:57:30 DHT: Timeout under väntan startsignal hög puls
00:57:32 DHT: Timeout under väntan startsignal hög puls
00:57:35 DHT: Timeout under väntan startsignal hög puls
00:57:36 DHT: Timeout under väntan startsignal hög puls
00:57:38 DHT: Timeout under väntan startsignal hög puls
00:57:40 DHT: Timeout under väntan startsignal hög puls
00:57:41 WIF: Kontrollerar anslutning...
00:57:41 WIF: Ansluten
00:57:42 DHT: Timeout under väntan startsignal hög puls
TO REPRODUCE
Nothing it happens all time, works after reboot for a minute then it starts to get null more and more null. After som hour or so only null values.
EXPECTED BEHAVIOR
Get both values.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Not sure if needed but AM2302 is connected to GPIO14 and my DS18B20 is connected to GPIO2.
(Please, remember to close the issue when the problem has been addressed)
Metadata
Metadata
Assignees
Labels
awaiting feedbackAction - Waiting for response or more informationAction - Waiting for response or more informationtroubleshootingType - TroubleshootingType - Troubleshooting