It's great of you !

I will test this week as soon as I have time and I will return to give the result.
I can't wait to see the result....
Best regards
Moderators: grovkillen, Stuntteam, TD-er
What is the size of 'after a while', minutes, hours, days?
There is a setting to generate an event even when the value doesn't change (Send event when value unchanged). Do you have that checked or unchecked?
From the documentation (in the PR): "The Ambient lighting condition during measurement is available in Ambient. The unit is kcps (Photons per second, recalculated to kilo count per second)"
Code: Select all
4814814 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 122
4816814 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 122
4818814 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 122
4820640 : Info : WD : Uptime 80 ConnectFailures 0 FreeMem 17376 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
4820815 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 122
4822814 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 122
Code: Select all
26178814 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 121
26180641 : Info : WD : Uptime 436 ConnectFailures 0 FreeMem 17208 WiFiStatus WL_CONNECTED ESPeasy internal wifi status: Conn. IP Init
26180819 : Info : VL53L1X: Address: 0x29 / Timing: 100 / Long Range: 0 / Distance: 121
I'd be interested to see the log of the sensor once the values are no longer updated, as long as the sensor is enabled, there should be a steady stream of log messages showing the measured distance, like I've shown before.
Code: Select all
INIT : Booting version: (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
77 : Info : INIT : Free RAM:34328
78 : Info : INIT : Warm boot #5 Last Action before Reboot: Background Task Last systime: 1619033821 - Restart Reason: External System
80 : Info : FS : Mounting...
105 : Info : FS : Mount successful, used 75802 bytes of 957314
129 : Info : CRC : SecuritySettings CRC ...OK
217 : Info : INIT : Free RAM:30688
219 : Info : INIT : I2C
219 : Info : INIT : SPI not enabled
244 : Info : VL53L1X: Sensor not found, init failed for 0x29
336 : Info : INFO : Plugins: 48 [Normal] (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support)
338 : Info : EVENT: System#Wake
348 : Info : WIFI : Connecting WiFi-PP_plus 50:64:2B:2E:26:2E Ch:11 (RTC) attempt #0fpm close 3
453 : Info : WIFI : Set WiFi to STAmode : sta(8c:aa:b5:7c:af:85)
add if0
sleep enable,type: 2
639 : Info : IP : Static IP : 192.168.1.168 GW: 192.168.1.1 SN: 255.255.255.0 DNS: 8.8.8.8
644 : Info : WIFI : Arduino wifi status: WL_DISCONNECTED ESPeasy internal wifi status: DISCONNECTED
647 : Info : Webserver: start
650 : Info : Time set to 1619033821.000
652 : Info : Current Time Zone: DST time start: 2021-03-28 02:00:00 offset: 120 min STD time start: 2021-10-31 03:00:00 offset: 60 min
655 : Info : Local time: 2021-04-21 21:37:01
659 : Info : EVENT: System#Boot
724 : Info : VL53L1X: Address: 0x29 / Timing: 200 / Long Range: 0 / Distance: 0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 12
cnt
1726 : Info : EVENT: TaskInit#D=1,0
connected with WiFi-PP_plus, channel 11
Code: Select all
Firmware
Build:⋄ 20112 - Mega
System Libraries:⋄ ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support
Git Build:⋄
Plugin Count:⋄ 48 [Normal]
Build Origin: Self built
Build Time:⋄ Apr 14 2021 20:39:07
Binary Filename:⋄ ESP_Easy_mega_20210414_normal_ESP8266_4M1M
Build Platform:⋄ Windows-10-10.0.19041-SP0
Git HEAD:⋄ 'feature/P113-add-vl53l1x-tof-sensor_9b469c1'
Users browsing this forum: No registered users and 16 guests