Closed broth-itk closed 1 year ago
WARNING: Set TempRes 1
and watch the horrific temp changes at every GUI update.
The temp sensor is INSIDE the power plug measuring internal temperature raised and lowered by ESP8266 activity and mostly wifi connection power usage.
Do not expect a stable temperature as the internals is heated by extra power needed for the relay too.
In short, this is not an issue but a result of internal temperature sensor location. I'll move this issue to discussions for anyone wanting to shine a different light over this.
PROBLEM DESCRIPTION
A clear and concise description of what the problem is.
Tasmota 13.1.0 on Refoss-P11: Internal Temperature makes jumps +- 1°C when switching ON/OFF
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:11:12:05.449 CMD: Backlog Template; Module; GPIO 255 11:12:05.471 RSL: RESULT = {"NAME":"Refoss-P11","GPIO":[0,0,0,3104,576,32,0,0,320,224,0,0,0,4736],"FLAG":0,"BASE":1} 11:12:05.673 RSL: RESULT = {"Module":{"0":"Refoss-P11"}} 11:12:05.881 RSL: RESULT = {"GPIO0":{"0":"None"},"GPIO1":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"3104":"CSE7766 Rx"},"GPIO4":{"576":"LedLink_i"},"GPIO5":{"32":"Button1"},"GPIO9":{"0":"None"},"GPIO10":{"0":"None"},"GPIO12":{"320":"Led_i1"},"GPIO13":{"224":"Relay1"},"GPIO14":{"0":"None"},"GPIO15":{"0":"None"},"GPIO16":{"0":"None"},"GPIO17":{"4736":"ADC Temp"}}
Status 0
:11:12:35.435 CMD: status 0 11:12:35.442 RSL: STATUS = {"Status":{"Module":0,"DeviceName":"Tasmota","FriendlyName":["Tasmota"],"Topic":"tasmota_91E3E2","ButtonTopic":"0","Power":0,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0,"InfoRetain":0,"StateRetain":0,"StatusRetain":0}} 11:12:35.448 RSL: STATUS1 = {"StatusPRM":{"Baudrate":4800,"SerialConfig":"8E1","GroupTopic":"tasmotas","OtaUrl":"http://ota.tasmota.com/tasmota/release/tasmota-4M.bin.gz","RestartReason":"Software/System restart","Uptime":"0T00:10:13","StartupUTC":"2023-08-16T10:02:22","Sleep":50,"CfgHolder":4617,"BootCount":8,"BCResetTime":"2023-08-14T11:39:38","SaveCount":57,"SaveAddress":"F8000"}} 11:12:35.452 RSL: STATUS2 = {"StatusFWR":{"Version":"13.1.0(tasmota-4M)","BuildDateTime":"2023-08-15T07:58:57","Boot":31,"Core":"2_7_4_9","SDK":"2.2.2-dev(38a443e)","CpuFrequency":80,"Hardware":"ESP8266EX","CR":"416/699"}} 11:12:35.457 RSL: STATUS3 = {"StatusLOG":{"SerialLog":0,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["Umbrella IoT",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C80001000680003C5A0A192800000000","00000080","00006000","00004000","00000000"]}} 11:12:35.469 RSL: STATUS4 = {"StatusMEM":{"ProgramSize":706,"Free":1340,"Heap":21,"ProgramFlashSize":4096,"FlashSize":4096,"FlashChipId":"164068","FlashFrequency":40,"FlashMode":"DOUT","Features":["00000809","8F9AC78F","04368001","000000CF","010013C0","C000F981","00004084","00201000","54000020","00000080"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,27,29,30,35,37,38,45,50,62,68","Sensors":"1,2,3,4,5,6","I2CDriver":"7"}} 11:12:35.476 RSL: STATUS5 = {"StatusNET":{"Hostname":"tasmota-91E3E2-0994","IPAddress":"192.168.202.102","Gateway":"192.168.202.1","Subnetmask":"255.255.255.0","DNSServer1":"192.168.202.1","DNSServer2":"0.0.0.0","Mac":"34:94:54:91:E3:E2","Webserver":2,"HTTPAPI":1,"WifiConfig":4,"WifiPower":17.0}} 11:12:35.481 RSL: STATUS6 = {"StatusMQT":{"MqttHost":"","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_91E3E2","MqttUser":"DVES_USER","MqttCount":0,"MAX_PACKET_SIZE":1200,"KEEPALIVE":30,"SOCKET_TIMEOUT":4}} 11:12:35.488 RSL: STATUS7 = {"StatusTIM":{"UTC":"2023-08-16T10:12:35","Local":"2023-08-16T11:12:35","StartDST":"2023-03-26T02:00:00","EndDST":"2023-10-29T03:00:00","Timezone":"+01:00","Sunrise":"05:44","Sunset":"20:04"}} 11:12:35.491 RSL: STATUS9 = {"StatusPTH":{"PowerDelta":[0,0,0],"PowerLow":0,"PowerHigh":0,"VoltageLow":0,"VoltageHigh":0,"CurrentLow":0,"CurrentHigh":0}} 11:12:35.499 RSL: STATUS10 = {"StatusSNS":{"Time":"2023-08-16T11:12:35","ANALOG":{"Temperature":27.0},"ENERGY":{"TotalStartTime":"2023-08-14T11:39:38","Total":0.000,"Yesterday":0.000,"Today":0.000,"Power":0,"ApparentPower":0,"ReactivePower":0,"Factor":0.00,"Voltage":0,"Current":0.000},"TempUnit":"C"}} 11:12:35.505 RSL: STATUS11 = {"StatusSTS":{"Time":"2023-08-16T11:12:35","Uptime":"0T00:10:13","UptimeSec":613,"Heap":21,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"MqttCount":0,"POWER":"OFF","Wifi":{"AP":1,"SSId":"Umbrella IoT","BSSId":"E8:ED:D6:88:B4:31","Channel":6,"Mode":"11n","RSSI":76,"Signal":-62,"LinkCount":1,"Downtime":"0T00:00:04"}}}
TO REPRODUCE
Steps to reproduce the behavior:
TOGGLE ON/OFF and watch temperature value carefully.
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
Temperature measurement should be stable. The issue is independent of load. It happens with and without load.
Possibly the ADC is experiencing interference due to the switching of relay coil. Or maybe the additional load of the coil has an effect on the ADCs reference voltage.
As a hardware fix is not practicable, I propose to generate a moving mean value and show that on the web interface. Temperature changes are slow and this should not cause any sideeffects.
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
n/a
ADDITIONAL CONTEXT
Add any other context about the problem here.
n/a
(Please, remember to close the issue when the problem has been addressed)