Closed dannybloe closed 2 years ago
There have been more reports about his. It is a known (and not yet fixed) issue, at this moment.
I thought this was "on purpose" to push updated values in case the connection wasn't ok or with really low RSSI values.
well.. I hope not :) You could always check the response value of the http-request but I surely don't want a zillion request being made. Then perhaps make a setting or so.
This is what happens during a 90s "awake time" from deepsleep:
`
NetworkError when attempting to fetch resource. << 9637: EVENT: TSL2561_14#Broadband=27151.00 10428: ADC : Analog value: 1015 10429: EVENT: ANA_14#Analog=1015.00 11654: WIFI : DHCP IP: 192.168.1.49 (Keuken-test-14) GW: 192.168.1.1 SN: 255.255.255.0 duration: 5983 ms 11665: EVENT: WiFi#Connected 11670: Webserver: start 11672: MQTT : Intentional reconnect 11713: MQTT : Connected to broker with client ID: ESPClient_5C:CF:7F:10:4D:C9 11715: Subscribed to: /Keuken_test/# 11717: EVENT: MQTT#Connected 11727: WD : Uptime 1 ConnectFailures 0 FreeMem 17944 11732: SYS : -84.00 11733: EVENT: RSSI_14#=-84.00 13733: Timeout while reading input data! 14170: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 3072.16: Infrared: 14589.00: Broadband: 28762.00 14172: EVENT: TSL2561_14#Lux=3072.16 14175: EVENT: TSL2561_14#Infrared=14589.00 14176: EVENT: TSL2561_14#Broadband=28762.00 15854: Timeout while reading input data! 15890: ADC : Analog value: 1009 15891: EVENT: ANA_14#Analog=1009.00 18091: SYS : -84.00 18093: EVENT: RSSI_14#=-84.00 20105: Timeout while reading input data! 20540: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2796.09: Infrared: 13949.00: Broadband: 27106.00 20542: EVENT: TSL2561_14#Lux=2796.09 20545: EVENT: TSL2561_14#Infrared=13949.00 20546: EVENT: TSL2561_14#Broadband=27106.00 22227: Timeout while reading input data! 22262: ADC : Analog value: 1016 22264: EVENT: ANA_14#Analog=1016.00 24365: Timeout while reading input data! 24433: SYS : -84.00 24434: EVENT: RSSI_14#=-84.00 26483: Timeout while reading input data! 26921: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2793.49: Infrared: 13947.00: Broadband: 27096.00 26923: EVENT: TSL2561_14#Lux=2793.49 26926: EVENT: TSL2561_14#Infrared=13947.00 26928: EVENT: TSL2561_14#Broadband=27096.00 28613: Timeout while reading input data! 28648: ADC : Analog value: 1011 28650: EVENT: ANA_14#Analog=1011.00 30743: Timeout while reading input data! 30806: SYS : -84.00 30808: EVENT: RSSI_14#=-84.00 32862: Timeout while reading input data! 33300: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2795.15: Infrared: 13948.00: Broadband: 27102.00 33302: EVENT: TSL2561_14#Lux=2795.15 33305: EVENT: TSL2561_14#Infrared=13948.00 33307: EVENT: TSL2561_14#Broadband=27102.00 34991: Timeout while reading input data! 35022: ADC : Analog value: 1013 35024: EVENT: ANA_14#Analog=1013.00 37113: Timeout while reading input data! 37177: SYS : -84.00 37179: EVENT: RSSI_14#=-84.00 39233: Timeout while reading input data! 39671: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2802.02: Infrared: 13958.00: Broadband: 27135.00 39673: EVENT: TSL2561_14#Lux=2802.02 39676: EVENT: TSL2561_14#Infrared=13958.00 39678: EVENT: TSL2561_14#Broadband=27135.00 41355: Timeout while reading input data! 41389: ADC : Analog value: 1009 41391: EVENT: ANA_14#Analog=1009.00 43479: Timeout while reading input data! 43550: WD : Uptime 1 ConnectFailures 0 FreeMem 14112 43554: SYS : -84.00 43556: EVENT: RSSI_14#=-84.00 45632: Timeout while reading input data! 46071: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2805.11: Infrared: 13972.00: Broadband: 27163.00 46073: EVENT: TSL2561_14#Lux=2805.11 46076: EVENT: TSL2561_14#Infrared=13972.00 46078: EVENT: TSL2561_14#Broadband=27163.00 47763: Timeout while reading input data! 47797: ADC : Analog value: 1012 47799: EVENT: ANA_14#Analog=1012.00 49939: Timeout while reading input data! 49978: EVENT: Clock#Time=Wed,11:51 50013: SYS : -84.00 50015: EVENT: RSSI_14#=-84.00 52175: Timeout while reading input data! 52614: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2818.49: Infrared: 14005.00: Broadband: 27246.00 52616: EVENT: TSL2561_14#Lux=2818.49 52619: EVENT: TSL2561_14#Infrared=14005.00 52621: EVENT: TSL2561_14#Broadband=27246.00 54387: Timeout while reading input data! 54418: ADC : Analog value: 1012 54420: EVENT: ANA_14#Analog=1012.00 56504: Timeout while reading input data! 56538: BMx280 : Detected BME280 58126: BME280: dew point 11.99C 58126: BME280 : Address: 0x77 58126: BME280 : Temperature: 24.74 58126: BME280 : Humidity: 45.01 58126: BME280 : Barometric Pressure: 1025.19 58129: EVENT: BME280_14#Temperature=24.74 58131: EVENT: BME280_14#Humidity=45.01 58133: EVENT: BME280_14#Pressure=1025.19 59233: Timeout while reading input data! 59311: SYS : -85.00 59313: EVENT: RSSI_14#=-85.00 61359: Timeout while reading input data! 61798: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2810.15: Infrared: 13977.00: Broadband: 27184.00 61800: EVENT: TSL2561_14#Lux=2810.15 61803: EVENT: TSL2561_14#Infrared=13977.00 61805: EVENT: TSL2561_14#Broadband=27184.00 63488: Timeout while reading input data! 63524: ADC : Analog value: 1005 63527: EVENT: ANA_14#Analog=1005.00 65616: Timeout while reading input data! 65680: SYS : -85.00 65682: EVENT: RSSI_14#=-85.00 67733: Timeout while reading input data! 68168: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2809.35: Infrared: 13850.00: Broadband: 27006.00 68170: EVENT: TSL2561_14#Lux=2809.35 68173: EVENT: TSL2561_14#Infrared=13850.00 68175: EVENT: TSL2561_14#Broadband=27006.00 69863: Timeout while reading input data! 69895: ADC : Analog value: 1010 69897: EVENT: ANA_14#Analog=1010.00 71994: Timeout while reading input data! 72058: SYS : -85.00 72060: EVENT: RSSI_14#=-85.00 74146: Timeout while reading input data! 74581: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2811.84: Infrared: 13983.00: Broadband: 27197.00 74583: EVENT: TSL2561_14#Lux=2811.84 74586: EVENT: TSL2561_14#Infrared=13983.00 74588: EVENT: TSL2561_14#Broadband=27197.00 76265: Timeout while reading input data! 76296: ADC : Analog value: 1020 76298: EVENT: ANA_14#Analog=1020.00 78395: Timeout while reading input data! 78456: WD : Uptime 2 ConnectFailures 0 FreeMem 12416 78460: SYS : -85.00 78462: EVENT: RSSI_14#=-85.00 80512: Timeout while reading input data! 80947: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2822.73: Infrared: 13995.00: Broadband: 27244.00 80949: EVENT: TSL2561_14#Lux=2822.73 80952: EVENT: TSL2561_14#Infrared=13995.00 80954: EVENT: TSL2561_14#Broadband=27244.00 82645: Timeout while reading input data! 82679: ADC : Analog value: 1010 82681: EVENT: ANA_14#Analog=1010.00 84765: Timeout while reading input data! 84829: SYS : -85.00 84831: EVENT: RSSI_14#=-85.00 86882: Timeout while reading input data! 87317: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2877.20: Infrared: 14206.00: Broadband: 27688.00 87319: EVENT: TSL2561_14#Lux=2877.20 87322: EVENT: TSL2561_14#Infrared=14206.00 87324: EVENT: TSL2561_14#Broadband=27688.00 89001: Timeout while reading input data! 89032: ADC : Analog value: 1013 89034: EVENT: ANA_14#Analog=1013.00 91122: Timeout while reading input data! 91187: SYS : -85.00 91189: EVENT: RSSI_14#=-85.00 93250: Timeout while reading input data! 93685: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2866.94: Infrared: 14179.00: Broadband: 27622.00 93687: EVENT: TSL2561_14#Lux=2866.94 93690: EVENT: TSL2561_14#Infrared=14179.00 93692: EVENT: TSL2561_14#Broadband=27622.00 95406: Timeout while reading input data! 95437: ADC : Analog value: 1020 95439: EVENT: ANA_14#Analog=1020.00 97531: Timeout while reading input data! 97595: SYS : -85.00 97597: EVENT: RSSI_14#=-85.00 99658: Timeout while reading input data! 100093: TSL2561: Address: 0x39: Mode: 2: Gain: 0: Lux: 2889.27: Infrared: 14298.00: Broadband: 27849.00 100095: EVENT: TSL2561_14#Lux=2889.27 100098: EVENT: TSL2561_14#Infrared=14298.00 100100: EVENT: TSL2561_14#Broadband=27849.00 101780: Timeout while reading input data! 101814: ADC : Analog value: 1008 101816: EVENT: ANA_14#Analog=1008.00 NetworkError when attempting to fetch resource. << `
Hello,
I have exactly the same behavior on an earlier version, namely on mega-20180314_normal_ESP8266_1024. I am sending values on UDP, and those sent by every seconds during the awake period.
And I also thought it was on purpose so tried to find a related setting... I am happy that it is already addressed.
RT
This seems resolved, so can probably be closed
Trying version ESP_Easy_mega-20180615_normal_ESP8266_4096 with one sensor (analog pin) with a delay of, let's say, 30s reporting to Domoticz.
When the ESP is set to deep sleep with an awake period of xx secondes, when it awakes, it is keeps sending the sensor data to Domoticz every second during the awake period.
I was expecting that the sensor would send only once during the awake period or respect the delay setting of the sensor (then I would set the delay longer than the awake period). So, just to be sure that the ESP activates properly I have set an awake time of 6 seconds but then I get around 6 updates in Domoticz (causing all kind of event scripts to be activated 6 times as well).
Cheers, Danny