Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP reboots randomley and sometimes after receiving target height. #17

Open
10bn opened this issue Oct 18, 2022 · 1 comment
Open

ESP reboots randomley and sometimes after receiving target height. #17

10bn opened this issue Oct 18, 2022 · 1 comment

Comments

@10bn
Copy link

10bn commented Oct 18, 2022

My esp reboots randomly and sometimes after receiving the traget height, which causes the table movement to stop.

I tried this with a wemos-d1-mini-esp32 and an esp-dev-kit, they are booth affected by the reboots.

Log from esphome-flasher:


Using 'COM15' as serial port.
Showing logs:
[15:12:43]Name:
[15:12:43]Desk 7693
[15:12:43]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:12:43]Data: 01 03 01 6A 18 
[15:12:44]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:12:44]Data: 01 07 01 00 00 3A 82 A3 57 
[15:12:44]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:12:44]Data: 01 07 01 00 00 3B 82 A3 57 
[15:12:45]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:12:45]Data: 01 07 01 00 00 46 82 A3 57 
[15:12:45]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:12:45]Data: 01 11 01 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 
[15:12:45]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:12:45]Data: 01 00 
[15:12:46]connected
[15:12:46]Current height: 775 mm
[15:12:46]Getting height and printing it took: 150ms
[15:12:46]After waiting 0.00 secs , WiFi connection result is 3
[15:12:46]Local IP: 10.25.30.161
[15:12:46]HTTP server started
[15:12:49]Control response:
[15:12:49]Notify callback for HeightSpeed: Height: 1504 Speed: 0
[15:12:50]
[15:12:50]Control response:
[15:12:50]
[15:12:50]Input response:
[15:12:50]Notify callback for HeightSpeed: Height: 1506 Speed: 704
[15:12:50]Notify callback for HeightSpeed: Height: 1508 Speed: 992
[15:12:50]
[15:12:50]Notify callback for HeightSpeed: Height: 1512 Speed: 1280
[15:12:50]Notify callback for HeightSpeed: Height: 1516 Speed: 1568
[15:12:50]Notify callback for HeightSpeed: Height: 1521 Speed: 1856
[15:12:50]Notify callback for HeightSpeed: Height: 1527 Speed: 2144
[15:12:50]Notify callback for HeightSpeed: Height: 1534 Speed: 2432
[15:12:51]Notify callback for HeightSpeed: Height: 1542 Speed: 2720
[15:12:51]Input response:
[15:12:51]Notify callback for HeightSpeed: Height: 1551 Speed: 3008
[15:12:51]Notify callback for HeightSpeed: Height: 1561 Speed: 3296
[15:12:51]Notify callback for HeightSpeed: Height: 1571 Speed: 3328
[15:12:51]Notify callback for HeightSpeed: Height: 1581 Speed: 3424
[15:12:51]
[15:12:51]Notify callback for HeightSpeed: Height: 1591 Speed: 3344
[15:12:51]Notify callback for HeightSpeed: Height: 1602 Speed: 3392
[15:12:51]Notify callback for HeightSpeed: Height: 1612 Speed: 3248
[15:12:51]Notify callback for HeightSpeed: Height: 1622 Speed: 3280
[15:12:51]Notify callback for HeightSpeed: Height: 1632 Speed: 3360
[15:12:51]Notify callback for HeightSpeed: Height: 1643 Speed: 3440
[15:12:51]Notify callback for HeightSpeed: Height: 1653 Speed: 3392
[15:12:51]Notify callback for HeightSpeed: Height: 1664 Speed: 3536
[15:12:51]Input response:
[15:12:51]Notify callback for HeightSpeed: Height: 1674 Speed: 3488
[15:12:51]Notify callback for HeightSpeed: Height: 1685 Speed: 3536
[15:12:51]
[15:12:51]Notify callback for HeightSpeed: Height: 1696 Speed: 3632
[15:12:51]Notify callback for HeightSpeed: Height: 1707 Speed: 3488
[15:12:51]Notify callback for HeightSpeed: Height: 1719 Speed: 3856
[15:12:51]Notify callback for HeightSpeed: Height: 1730 Speed: 3808
[15:12:52]Notify callback for HeightSpeed: Height: 1742 Speed: 3712
[15:12:52]Notify callback for HeightSpeed: Height: 1754 Speed: 3696
[15:12:52]Input response:
[15:12:52]Notify callback for HeightSpeed: Height: 1766 Speed: 3952
[15:12:52]Notify callback for HeightSpeed: Height: 1778 Speed: 3984
[15:12:52]
[15:12:52]Notify callback for HeightSpeed: Height: 1790 Speed: 3808
[15:12:52]Notify callback for HeightSpeed: Height: 1802 Speed: 3904
[15:12:52]Notify callback for HeightSpeed: Height: 1814 Speed: 3808
[15:12:52]Notify callback for HeightSpeed: Height: 1826 Speed: 3920
[15:12:52]Notify callback for HeightSpeed: Height: 1838 Speed: 3776
[15:12:52]Notify callback for HeightSpeed: Height: 1849 Speed: 3792
[15:12:52]Input response:
[15:12:52]Notify callback for HeightSpeed: Height: 1861 Speed: 3936
[15:12:52]Notify callback for HeightSpeed: Height: 1873 Speed: 3888
[15:12:52]
[15:12:52]Notify callback for HeightSpeed: Height: 1885 Speed: 3936
[15:12:52]Notify callback for HeightSpeed: Height: 1897 Speed: 3952
[15:12:52]Notify callback for HeightSpeed: Height: 1909 Speed: 3872
[15:12:52]Notify callback for HeightSpeed: Height: 1921 Speed: 3952
[15:12:52]Notify callback for HeightSpeed: Height: 1933 Speed: 3904
[15:12:52]Input response:Notify callback for HeightSpeed: Height: 1944 Speed: 3904
[15:12:52]
[15:12:52]Notify callback for HeightSpeed: Height: 1956 Speed: 3840
[15:12:53]Notify callback for HeightSpeed: Height: 1968 Speed: 4032
[15:12:53]Notify callback for HeightSpeed: Height: 1981 Speed: 4048
[15:12:53]Notify callback for HeightSpeed: Height: 1993 Speed: 4080
[15:12:53]Notify callback for HeightSpeed: Height: 2005 Speed: 3856
[15:12:53]Notify callback for HeightSpeed: Height: 2018 Speed: 4032
[15:12:53]
[15:12:53]Notify callback for HeightSpeed: Height: 2030 Speed: 4032
[15:12:53]Notify callback for HeightSpeed: Height: 2042 Speed: 4128
[15:12:53]Notify callback for HeightSpeed: Height: 2055 Speed: 4016
[15:12:53]Notify callback for HeightSpeed: Height: 2068 Speed: 4112
[15:12:53]Notify callback for HeightSpeed: Height: 2080 Speed: 4032
[15:12:53]Notify callback for HeightSpeed: Height: 2092 Speed: 4016
[15:12:53]Notify callback for HeightSpeed: Height: 2104 Speed: 3776
[15:12:53]Input response:
[15:12:53]Notify callback for HeightSpeed: Height: 2116 Speed: 3968
[15:12:53]Notify callback for HeightSpeed: Height: 2128 Speed: 3968
[15:12:53]
[15:12:53]Notify callback for HeightSpeed: Height: 2140 Speed: 3920
[15:12:53]Notify callback for HeightSpeed: Height: 2152 Speed: 3888
[15:12:53]Notify callback for HeightSpeed: Height: 2163 Speed: 3872
[15:12:53]Notify callback for HeightSpeed: Height: 2175 Speed: 3904
[15:12:53]Notify callback for HeightSpeed: Height: 2187 Speed: 3936
[15:12:53]Notify callback for HeightSpeed: Height: 2199 Speed: 4000
[15:12:53]Input response:
[15:12:53]Notify callback for HeightSpeed: Height: 2211 Speed: 4064
[15:12:53]Notify callback for HeightSpeed: Height: 2224 Speed: 4096
[15:12:53]
[15:12:54]Notify callback for HeightSpeed: Height: 2236 Speed: 4032
[15:12:54]Notify callback for HeightSpeed: Height: 2249 Speed: 4096
[15:12:54]Notify callback for HeightSpeed: Height: 2261 Speed: 4192
[15:12:54]Notify callback for HeightSpeed: Height: 2274 Speed: 4224
[15:12:54]Notify callback for HeightSpeed: Height: 2287 Speed: 4208
[15:12:54]Notify callback for HeightSpeed: Height: 2299 Speed: 4080
[15:12:54]Input response:
[15:12:54]Notify callback for HeightSpeed: Height: 2312 Speed: 4224
[15:12:54]Notify callback for HeightSpeed: Height: 2325 Speed: 3968
[15:12:54]
[15:12:54]Notify callback for HeightSpeed: Height: 2337 Speed: 4096
[15:12:54]Notify callback for HeightSpeed: Height: 2350 Speed: 4096
[15:12:54]Notify callback for HeightSpeed: Height: 2362 Speed: 4064
[15:12:54]Notify callback for HeightSpeed: Height: 2374 Speed: 3904
[15:12:54]Notify callback for HeightSpeed: Height: 2386 Speed: 3936
[15:12:54]Notify callback for HeightSpeed: Height: 2398 Speed: 4048
[15:12:54]Input response:
[15:12:54]Notify callback for HeightSpeed: Height: 2411 Speed: 4032
[15:12:54]Notify callback for HeightSpeed: Height: 2423 Speed: 3872
[15:12:54]
[15:12:54]Notify callback for HeightSpeed: Height: 2435 Speed: 4080
[15:12:54]Notify callback for HeightSpeed: Height: 2447 Speed: 3968
[15:12:54]Notify callback for HeightSpeed: Height: 2460 Speed: 4064
[15:12:55]Notify callback for HeightSpeed: Height: 2472 Speed: 4096
[15:12:55]Notify callback for HeightSpeed: Height: 2484 Speed: 4096
[15:12:55]Notify callback for HeightSpeed: Height: 2497 Speed: 4112
[15:12:55]Notify callback for HeightSpeed: Height: 2509 Speed: 4128
[15:12:55]Notify callback for HeightSpeed: Height: 2522 Speed: 4064
[15:12:55]Input response:Notify callback for HeightSpeed: Height: 2534 Speed: 4080
[15:12:55]
[15:12:55]Notify callback for HeightSpeed: Height: 2546 Speed: 4000
[15:12:55]Notify callback for HeightSpeed: Height: 2558 Speed: 4000
[15:12:55]
[15:12:55]Notify callback for HeightSpeed: Height: 2571 Speed: 4128
[15:12:55]Notify callback for HeightSpeed: Height: 2583 Speed: 4128
[15:12:55]Notify callback for HeightSpeed: Height: 2596 Speed: 4208
[15:12:55]Notify callback for HeightSpeed: Height: 2609 Speed: 4176
[15:12:55]Notify callback for HeightSpeed: Height: 2621 Speed: 4000
[15:12:55]Notify callback for HeightSpeed: Height: 2634 Speed: 3920
[15:12:55]Input response:
[15:12:55]Notify callback for HeightSpeed: Height: 2644 Speed: 4240
[15:12:55]Notify callback for HeightSpeed: Height: 2657 Speed: 4272
[15:12:55]
[15:12:55]Notify callback for HeightSpeed: Height: 2670 Speed: 4192
[15:12:55]Notify callback for HeightSpeed: Height: 2683 Speed: 4176
[15:12:55]Notify callback for HeightSpeed: Height: 2696 Speed: 4080
[15:12:55]Notify callback for HeightSpeed: Height: 2708 Speed: 4224
[15:12:56]Notify callback for HeightSpeed: Height: 2721 Speed: 4256
[15:12:56]Notify callback for HeightSpeed: Height: 2734 Speed: 4208
[15:12:56]Notify callback for HeightSpeed: Height: 2746 Speed: 4176
[15:12:56]Notify callback for HeightSpeed: Height: 2759 Speed: 4000
[15:12:56]Input response:
[15:12:56]Notify callback for HeightSpeed: Height: 2771 Speed: 4032
[15:12:56]Notify callback for HeightSpeed: Height: 2784 Speed: 4128
[15:12:56]
[15:12:56]Notify callback for HeightSpeed: Height: 2797 Speed: 4144
[15:12:56]Notify callback for HeightSpeed: Height: 2809 Speed: 4112
[15:12:56]Notify callback for HeightSpeed: Height: 2822 Speed: 4208
[15:12:56]Notify callback for HeightSpeed: Height: 2834 Speed: 4272
[15:12:56]Notify callback for HeightSpeed: Height: 2847 Speed: 4304
[15:12:56]Notify callback for HeightSpeed: Height: 2860 Speed: 4336
[15:12:56]Input response:
[15:12:56]Notify callback for HeightSpeed: Height: 2873 Speed: 4352
[15:12:56]Notify callback for HeightSpeed: Height: 2887 Speed: 4336
[15:12:56]
[15:12:56]Notify callback for HeightSpeed: Height: 2900 Speed: 4352
[15:12:56]Notify callback for HeightSpeed: Height: 2913 Speed: 4368
[15:12:56]Notify callback for HeightSpeed: Height: 2926 Speed: 4384
[15:12:56]Notify callback for HeightSpeed: Height: 2939 Speed: 4336
[15:12:56]Notify callback for HeightSpeed: Height: 2952 Speed: 4160
[15:12:56]Notify callback for HeightSpeed: Height: 2965 Speed: 4288
[15:12:56]Input response:
[15:12:56]Notify callback for HeightSpeed: Height: 2978 Speed: 4192
[15:12:57]
[15:12:57]Notify callback for HeightSpeed: Height: 2991 Speed: 4064
[15:12:57]Notify callback for HeightSpeed: Height: 3004 Speed: 4064
[15:12:57]Notify callback for HeightSpeed: Height: 3017 Speed: 4240
[15:12:57]Notify callback for HeightSpeed: Height: 3030 Speed: 4224
[15:12:57]Notify callback for HeightSpeed: Height: 3043 Speed: 4256
[15:12:57]Notify callback for HeightSpeed: Height: 3056 Speed: 4160
[15:12:57]Notify callback for HeightSpeed: Height: 3069 Speed: 4352
[15:12:57]Notify callback for HeightSpeed: Height: 3082 Speed: 4096
[15:12:57]Input response:
[15:12:57]Notify callback for HeightSpeed: Height: 3095 Speed: 4304
[15:12:57]Notify callback for HeightSpeed: Height: 3108 Speed: 4304
[15:12:57]
[15:12:57]Notify callback for HeightSpeed: Height: 3120 Speed: 4304
[15:12:57]Notify callback for HeightSpeed: Height: 3133 Speed: 4128
[15:12:57]Notify callback for HeightSpeed: Height: 3146 Speed: 4224
[15:12:57]Notify callback for HeightSpeed: Height: 3159 Speed: 4000
[15:12:57]Notify callback for HeightSpeed: Height: 3171 Speed: 4208
[15:12:57]Notify callback for HeightSpeed: Height: 3184 Speed: 4080
[15:12:57]Input response:
[15:12:57]Notify callback for HeightSpeed: Height: 3197 Speed: 4192
[15:12:57]Notify callback for HeightSpeed: Height: 3210 Speed: 4272
[15:12:57]
[15:12:57]Notify callback for HeightSpeed: Height: 3223 Speed: 4320
[15:12:57]Notify callback for HeightSpeed: Height: 3236 Speed: 4416
[15:12:58]Notify callback for HeightSpeed: Height: 3249 Speed: 4464
[15:12:58]Notify callback for HeightSpeed: Height: 3263 Speed: 4480
[15:12:58]Notify callback for HeightSpeed: Height: 3277 Speed: 4480
[15:12:58]Notify callback for HeightSpeed: Height: 3290 Speed: 4464
[15:12:58]Input response:
[15:12:58]Notify callback for HeightSpeed: Height: 3304 Speed: 4512
[15:12:58]Notify callback for HeightSpeed: Height: 3318 Speed: 4560
[15:12:58]
[15:12:58]Notify callback for HeightSpeed: Height: 3331 Speed: 4416
[15:12:58]Notify callback for HeightSpeed: Height: 3345 Speed: 4512
[15:12:58]Notify callback for HeightSpeed: Height: 3359 Speed: 4224
[15:12:58]Notify callback for HeightSpeed: Height: 3372 Speed: 4368
[15:12:58]Notify callback for HeightSpeed: Height: 3386 Speed: 4496
[15:12:58]Notify callback for HeightSpeed: Height: 3399 Speed: 4432
[15:12:58]Input response:
[15:12:58]Notify callback for HeightSpeed: Height: 3413 Speed: 4304
[15:12:58]Notify callback for HeightSpeed: Height: 3426 Speed: 4480
[15:12:58]
[15:12:58]Notify callback for HeightSpeed: Height: 3440 Speed: 4336
[15:12:58]Notify callback for HeightSpeed: Height: 3454 Speed: 4384
[15:12:58]Notify callback for HeightSpeed: Height: 3467 Speed: 4352
[15:12:58]Notify callback for HeightSpeed: Height: 3481 Speed: 4416
[15:12:58]Notify callback for HeightSpeed: Height: 3494 Speed: 4256
[15:12:58]Notify callback for HeightSpeed: Height: 3508 Speed: 4400
[15:12:58]Input response:
[15:12:58]Notify callback for HeightSpeed: Height: 3521 Speed: 4272
[15:12:59]
[15:12:59]Notify callback for HeightSpeed: Height: 3534 Speed: 4368
[15:12:59]Notify callback for HeightSpeed: Height: 3547 Speed: 4144
[15:12:59]Notify callback for HeightSpeed: Height: 3561 Speed: 4304
[15:12:59]Notify callback for HeightSpeed: Height: 3574 Speed: 4288
[15:12:59]Notify callback for HeightSpeed: Height: 3587 Speed: 4384
[15:12:59]Notify callback for HeightSpeed: Height: 3600 Speed: 4304
[15:12:59]Notify callback for HeightSpeed: Height: 3613 Speed: 4240
[15:12:59]Notify callback for HeightSpeed: Height: 3626 Speed: 4320
[15:12:59]Input response:
[15:12:59]Notify callback for HeightSpeed: Height: 3639 Speed: 4192
[15:12:59]Notify callback for HeightSpeed: Height: 3652 Speed: 4272
[15:12:59]
[15:12:59]Notify callback for HeightSpeed: Height: 3665 Speed: 4368
[15:12:59]Notify callback for HeightSpeed: Height: 3678 Speed: 4336
[15:12:59]Notify callback for HeightSpeed: Height: 3692 Speed: 4320
[15:12:59]Notify callback for HeightSpeed: Height: 3705 Speed: 4352
[15:12:59]Notify callback for HeightSpeed: Height: 3718 Speed: 4400
[15:12:59]Notify callback for HeightSpeed: Height: 3731 Speed: 4352
[15:12:59]Input response:
[15:12:59]Notify callback for HeightSpeed: Height: 3744 Speed: 4416
[15:12:59]Notify callback for HeightSpeed: Height: 3758 Speed: 4272
[15:12:59]
[15:12:59]Notify callback for HeightSpeed: Height: 3771 Speed: 4336
[15:13:00]Notify callback for HeightSpeed: Height: 3785 Speed: 4528
[15:13:00]Notify callback for HeightSpeed: Height: 3799 Speed: 4480
[15:13:00]Notify callback for HeightSpeed: Height: 3812 Speed: 4352
[15:13:00]Notify callback for HeightSpeed: Height: 3826 Speed: 4256
[15:13:00]Notify callback for HeightSpeed: Height: 3839 Speed: 4416
[15:13:00]Input response:
[15:13:00]Notify callback for HeightSpeed: Height: 3853 Speed: 4496
[15:13:00]Notify callback for HeightSpeed: Height: 3867 Speed: 4416
[15:13:00]
[15:13:00]Notify callback for HeightSpeed: Height: 3880 Speed: 4240
[15:13:00]Notify callback for HeightSpeed: Height: 3894 Speed: 4192
[15:13:00]Notify callback for HeightSpeed: Height: 3907 Speed: 4384
[15:13:00]Notify callback for HeightSpeed: Height: 3920 Speed: 4384
[15:13:00]Notify callback for HeightSpeed: Height: 3933 Speed: 4288
[15:13:00]Notify callback for HeightSpeed: Height: 3946 Speed: 4288
[15:13:00]Input response:
[15:13:00]Notify callback for HeightSpeed: Height: 3959 Speed: 4160
[15:13:00]Notify callback for HeightSpeed: Height: 3972 Speed: 4224
[15:13:00]
[15:13:00]Notify callback for HeightSpeed: Height: 3985 Speed: 4112
[15:13:00]Notify callback for HeightSpeed: Height: 3998 Speed: 4304
[15:13:00]Notify callback for HeightSpeed: Height: 4011 Speed: 4256
[15:13:00]Notify callback for HeightSpeed: Height: 4024 Speed: 4416
[15:13:01]Notify callback for HeightSpeed: Height: 4038 Speed: 4464
[15:13:01]Notify callback for HeightSpeed: Height: 4051 Speed: 4368
[15:13:01]Input response:
[15:13:01]Notify callback for HeightSpeed: Height: 4065 Speed: 4448
[15:13:01]Notify callback for HeightSpeed: Height: 4078 Speed: 4400
[15:13:01]
[15:13:01]Notify callback for HeightSpeed: Height: 4092 Speed: 4496
[15:13:01]Notify callback for HeightSpeed: Height: 4106 Speed: 4384
[15:13:01]Notify callback for HeightSpeed: Height: 4120 Speed: 4576
[15:13:01]Notify callback for HeightSpeed: Height: 4134 Speed: 4560
[15:13:01]Notify callback for HeightSpeed: Height: 4147 Speed: 4400
[15:13:01]Input response:
[15:13:01]Notify callback for HeightSpeed: Height: 4160 Speed: 4192
[15:13:01]Notify callback for HeightSpeed: Height: 4173 Speed: 4304
[15:13:01]Notify callback for HeightSpeed: Height: 4186 Speed: 4160
[15:13:01]Notify callback for HeightSpeed: Height: 4199 Speed: 4080
[15:13:01]
[15:13:01]Notify callback for HeightSpeed: Height: 4212 Speed: 4064
[15:13:01]Notify callback for HeightSpeed: Height: 4225 Speed: 4208
[15:13:01]Notify callback for HeightSpeed: Height: 4237 Speed: 4256
[15:13:01]Notify callback for HeightSpeed: Height: 4250 Speed: 4128
[15:13:01]Notify callback for HeightSpeed: Height: 4263 Speed: 4304
[15:13:02]Notify callback for HeightSpeed: Height: 4277 Speed: 4240
[15:13:02]Notify callback for HeightSpeed: Height: 4290 Speed: 4400
[15:13:02]Notify callback for HeightSpeed: Height: 4304 Speed: 4544
[15:13:02]Input response:
[15:13:02]Notify callback for HeightSpeed: Height: 4318 Speed: 4576
[15:13:02]Notify callback for HeightSpeed: Height: 4345 Speed: 4352
[15:13:02]Notify callback for HeightSpeed: Height: 4359 Speed: 4464
[15:13:02]
[15:13:02]Notify callback for HeightSpeed: Height: 4372 Speed: 4432
[15:13:02]Notify callback for HeightSpeed: Height: 4386 Speed: 4480
[15:13:02]Notify callback for HeightSpeed: Height: 4400 Speed: 4320
[15:13:02]Notify callback for HeightSpeed: Height: 4413 Speed: 4336
[15:13:02]Notify callback for HeightSpeed: Height: 4426 Speed: 4320
[15:13:02]Notify callback for HeightSpeed: Height: 4439 Speed: 4320
[15:13:02]Input response:
[15:13:02]Notify callback for HeightSpeed: Height: 4452 Speed: 4352
[15:13:02]Notify callback for HeightSpeed: Height: 4465 Speed: 4352
[15:13:02]
[15:13:02]Notify callback for HeightSpeed: Height: 4478 Speed: 4272
[15:13:02]Notify callback for HeightSpeed: Height: 4491 Speed: 4336
[15:13:02]Notify callback for HeightSpeed: Height: 4505 Speed: 4400
[15:13:02]Notify callback for HeightSpeed: Height: 4518 Speed: 4432
[15:13:02]Notify callback for HeightSpeed: Height: 4531 Speed: 4224
[15:13:02]Notify callback for HeightSpeed: Height: 4544 Speed: 4368
[15:13:02]Input response:
[15:13:02]Notify callback for HeightSpeed: Height: 4558 Speed: 4272
[15:13:02]Notify callback for HeightSpeed: Height: 4571 Speed: 4368
[15:13:02]
[15:13:03]Notify callback for HeightSpeed: Height: 4584 Speed: 4432
[15:13:03]Notify callback for HeightSpeed: Height: 4597 Speed: 4400
[15:13:03]Notify callback for HeightSpeed: Height: 4611 Speed: 4192
[15:13:03]Notify callback for HeightSpeed: Height: 4624 Speed: 4256
[15:13:03]Notify callback for HeightSpeed: Height: 4637 Speed: 4432
[15:13:03]Notify callback for HeightSpeed: Height: 4651 Speed: 4448
[15:13:03]Input response:
[15:13:03]Notify callback for HeightSpeed: Height: 4664 Speed: 4384
[15:13:03]
[15:13:03]Notify callback for HeightSpeed: Height: 4677 Speed: 4384
[15:13:03]Notify callback for HeightSpeed: Height: 4691 Speed: 4384
[15:13:03]Notify callback for HeightSpeed: Height: 4704 Speed: 4400
[15:13:03]Notify callback for HeightSpeed: Height: 4717 Speed: 4352
[15:13:03]Notify callback for HeightSpeed: Height: 4730 Speed: 4336
[15:13:03]Notify callback for HeightSpeed: Height: 4743 Speed: 4288
[15:13:03]Notify callback for HeightSpeed: Height: 4756 Speed: 4128
[15:13:03]Notify callback for HeightSpeed: Height: 4769 Speed: 4240
[15:13:03]Input response:
[15:13:03]Notify callback for HeightSpeed: Height: 4782 Speed: 4304
[15:13:03]Notify callback for HeightSpeed: Height: 4795 Speed: 4288
[15:13:03]
[15:13:03]Notify callback for HeightSpeed: Height: 4808 Speed: 4288
[15:13:03]Notify callback for HeightSpeed: Height: 4821 Speed: 4384
[15:13:04]Notify callback for HeightSpeed: Height: 4834 Speed: 4448
[15:13:04]Notify callback for HeightSpeed: Height: 4848 Speed: 4416
[15:13:04]Notify callback for HeightSpeed: Height: 4862 Speed: 4384
[15:13:04]Notify callback for HeightSpeed: Height: 4875 Speed: 4528
[15:13:04]Input response:
[15:13:04]Notify callback for HeightSpeed: Height: 4889 Speed: 4560
[15:13:04]Notify callback for HeightSpeed: Height: 4903 Speed: 4592
[15:13:04]
[15:13:04]Notify callback for HeightSpeed: Height: 4917 Speed: 4656
[15:13:04]Notify callback for HeightSpeed: Height: 4931 Speed: 4576
[15:13:04]Notify callback for HeightSpeed: Height: 4944 Speed: 4240
[15:13:04]Notify callback for HeightSpeed: Height: 4958 Speed: 4432
[15:13:04]Notify callback for HeightSpeed: Height: 4971 Speed: 4352
[15:13:04]Notify callback for HeightSpeed: Height: 4984 Speed: 4464
[15:13:04]Input response:
[15:13:04]Notify callback for HeightSpeed: Height: 4998 Speed: 4368
[15:13:04]Notify callback for HeightSpeed: Height: 5011 Speed: 4288
[15:13:04]
[15:13:04]Notify callback for HeightSpeed: Height: 5024 Speed: 4320
[15:13:04]Notify callback for HeightSpeed: Height: 5037 Speed: 4224
[15:13:04]Notify callback for HeightSpeed: Height: 5050 Speed: 4416
[15:13:04]Notify callback for HeightSpeed: Height: 5064 Speed: 4384
[15:13:04]Notify callback for HeightSpeed: Height: 5077 Speed: 4320
[15:13:05]Notify callback for HeightSpeed: Height: 5090 Speed: 4320
[15:13:05]Notify callback for HeightSpeed: Height: 5103 Speed: 4256
[15:13:05]Notify callback for HeightSpeed: Height: 5116 Speed: 4352
[15:13:05]Notify callback for HeightSpeed: Height: 5129 Speed: 4304
[15:13:05]Input response:
[15:13:05]Notify callback for HeightSpeed: Height: 5142 Speed: 4272
[15:13:05]Notify callback for HeightSpeed: Height: 5155 Speed: 4256
[15:13:05]Notify callback for HeightSpeed: Height: 5168 Speed: 4208
[15:13:05]
[15:13:05]Notify callback for HeightSpeed: Height: 5181 Speed: 4224
[15:13:05]Notify callback for HeightSpeed: Height: 5193 Speed: 4160
[15:13:05]Notify callback for HeightSpeed: Height: 5206 Speed: 4192
[15:13:05]Notify callback for HeightSpeed: Height: 5219 Speed: 4320
[15:13:05]Notify callback for HeightSpeed: Height: 5232 Speed: 4144
[15:13:05]Input response:Notify callback for HeightSpeed: Height: 5246 Speed: 4400
[15:13:05]
[15:13:05]Notify callback for HeightSpeed: Height: 5259 Speed: 4304
[15:13:05]Notify callback for HeightSpeed: Height: 5272 Speed: 4384
[15:13:05]Notify callback for HeightSpeed: Height: 5285 Speed: 4176
[15:13:05]Notify callback for HeightSpeed: Height: 5299 Speed: 4368
[15:13:05]
[15:13:05]Notify callback for HeightSpeed: Height: 5312 Speed: 4384
[15:13:05]Notify callback for HeightSpeed: Height: 5326 Speed: 4336
[15:13:05]Notify callback for HeightSpeed: Height: 5339 Speed: 4352
[15:13:05]Notify callback for HeightSpeed: Height: 5352 Speed: 4256
[15:13:06]Notify callback for HeightSpeed: Height: 5365 Speed: 4224
[15:13:06]Notify callback for HeightSpeed: Height: 5378 Speed: 4224
[15:13:06]Input response:
[15:13:06]Notify callback for HeightSpeed: Height: 5390 Speed: 4096
[15:13:06]Notify callback for HeightSpeed: Height: 5403 Speed: 4096
[15:13:06]
[15:13:06]Notify callback for HeightSpeed: Height: 5415 Speed: 4096
[15:13:06]Notify callback for HeightSpeed: Height: 5428 Speed: 4128
[15:13:06]Notify callback for HeightSpeed: Height: 5440 Speed: 4160
[15:13:06]Notify callback for HeightSpeed: Height: 5453 Speed: 4192
[15:13:06]Notify callback for HeightSpeed: Height: 5466 Speed: 4304
[15:13:06]Notify callback for HeightSpeed: Height: 5479 Speed: 4304
[15:13:06]Notify callback for HeightSpeed: Height: 5492 Speed: 4192
[15:13:06]Input response:
[15:13:06]Notify callback for HeightSpeed: Height: 5505 Speed: 4368
[15:13:06]Notify callback for HeightSpeed: Height: 5519 Speed: 4480
[15:13:06]
[15:13:06]Notify callback for HeightSpeed: Height: 5532 Speed: 4416
[15:13:06]Notify callback for HeightSpeed: Height: 5546 Speed: 4352
[15:13:06]Notify callback for HeightSpeed: Height: 5559 Speed: 4400
[15:13:06]Notify callback for HeightSpeed: Height: 5572 Speed: 4336
[15:13:06]Notify callback for HeightSpeed: Height: 5586 Speed: 4384
[15:13:06]Notify callback for HeightSpeed: Height: 5599 Speed: 4240
[15:13:06]Input response:
[15:13:06]Notify callback for HeightSpeed: Height: 5611 Speed: 4208
[15:13:06]Notify callback for HeightSpeed: Height: 5624 Speed: 4144
[15:13:06]
[15:13:07]Notify callback for HeightSpeed: Height: 5637 Speed: 4176
[15:13:07]Notify callback for HeightSpeed: Height: 5649 Speed: 4208
[15:13:07]Notify callback for HeightSpeed: Height: 5662 Speed: 4048
[15:13:07]Notify callback for HeightSpeed: Height: 5674 Speed: 4224
[15:13:07]Notify callback for HeightSpeed: Height: 5687 Speed: 4192
[15:13:07]Notify callback for HeightSpeed: Height: 5700 Speed: 4256
[15:13:07]Input response:
[15:13:07]Notify callback for HeightSpeed: Height: 5713 Speed: 4080
[15:13:07]Notify callback for HeightSpeed: Height: 5726 Speed: 4288
[15:13:07]
[15:13:07]Notify callback for HeightSpeed: Height: 5738 Speed: 4096
[15:13:07]Notify callback for HeightSpeed: Height: 5750 Speed: 1424
[15:13:07]Notify callback for HeightSpeed: Height: 5750 Speed: 0
[15:13:24]Control response:
[15:13:24]Notify callback for HeightSpeed: Height: 5749 Speed: 0
[15:13:25]75 16 00 00 
[15:13:25]Control response:
[15:13:27]75 16 00 00 
[15:13:27]Notify callback for HeightSpeed: Height: 5749 Speed: -480
[15:13:27]Input response:
[15:13:27]Notify callback for HeightSpeed: Height: 5747 Speed: -768
[15:13:27]Notify callback for HeightSpeed: Height: 5744 Speed: -1056
[15:13:27]Notify callback for HeightSpeed: Height: 5740 Speed: -1344
[15:13:27]Notify callback for HeightSpeed: Height: 5736 Speed: -1632
[15:13:27]Notify callback for HeightSpeed: Height: 5730 Speed: -1920
[15:13:27]Notify callback for HeightSpeed: Height: 5724 Speed: -2208
[15:13:27]Notify callback for HeightSpeed: Height: 5717 Speed: -2512
[15:13:28]Notify callback for HeightSpeed: Height: 5709 Speed: -2800
[15:13:28]Notify callback for HeightSpeed: Height: 5700 Speed: -3088
[15:13:28]Notify callback for HeightSpeed: Height: 5690 Speed: -3376
[15:13:28]Notify callback for HeightSpeed: Height: 5679 Speed: -3664
[15:13:28]Notify callback for HeightSpeed: Height: 5667 Speed: -3952
[15:13:28]Notify callback for HeightSpeed: Height: 5655 Speed: -4240
[15:13:28]Notify callback for HeightSpeed: Height: 5642 Speed: -4528
[15:13:28]Notify callback for HeightSpeed: Height: 5634 Speed: 0
[15:13:30]02 16 00 00 
[15:13:35]E (65198) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[15:13:35]E (65198) task_wdt:  - async_tcp (CPU 1)
[15:13:35]E (65198) task_wdt: Tasks currently running:
[15:13:35]E (65198) task_wdt: CPU 0: wifi
[15:13:35]E (65198) task_wdt: CPU 1: IDLE
[15:13:35]E (65198) task_wdt: Aborting.
[15:13:35]
[15:13:35]abort() was called at PC 0x4010059c on core 0
[15:13:35]
[15:13:35]
[15:13:35]Backtrace:0x40083921:0x3ffbec4c |<-CORRUPTED
[15:13:35]
[15:13:35]
[15:13:35]
[15:13:35]
[15:13:35]ELF file SHA256: 0000000000000000
[15:13:35]
[15:13:35]Rebooting...
[15:13:35]ets Jul 29 2019 12:21:46
[15:13:35]
[15:13:35]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:13:35]configsip: 0, SPIWP:0xee
[15:13:35]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[15:13:35]mode:DIO, clock div:2
[15:13:35]load:0x3fff0018,len:4
[15:13:35]load:0x3fff001c,len:1044
[15:13:35]load:0x40078000,len:8896
[15:13:35]load:0x40080400,len:5828
[15:13:35]entry 0x400806ac
[15:13:35]{"DeskName":"Office Desk","DeskBtAddress":"CE:41:99:2E:BA:4D","UserReset":false}
[15:13:35]Config file was successfully parsed
[15:13:36][DeskController::connect] trying to connect to: CE:41:99:2E:BA:4D
[15:13:41]Name:
[15:13:41]Desk 7693
[15:13:41]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:13:41]Data: 01 03 01 6A 18 
[15:13:41]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:13:41]Data: 01 07 01 00 00 3A 82 A3 57 
[15:13:41]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:13:41]Data: 01 07 01 00 00 3B 82 A3 57 
[15:13:42]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:13:42]Data: 01 07 01 00 00 46 82 A3 57 
[15:13:42]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:13:42]Data: 01 11 01 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 
[15:13:42]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:13:42]Data: 01 00 
[15:13:42]connected
[15:13:42]Current height: 1188 mm
[15:13:42]Getting height and printing it took: 99ms
[15:14:42]After waiting 60.00 secs , WiFi connection result is 6
[15:14:42]Failed to connect
[15:14:52]ets Jul 29 2019 12:21:46
[15:14:52]
[15:14:52]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:14:52]configsip: 0, SPIWP:0xee
[15:14:52]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[15:14:52]mode:DIO, clock div:2
[15:14:52]load:0x3fff0018,len:4
[15:14:52]load:0x3fff001c,len:1044
[15:14:52]load:0x40078000,len:8896
[15:14:52]load:0x40080400,len:5828
[15:14:52]entry 0x400806ac
[15:14:53]{"DeskName":"Office Desk","DeskBtAddress":"CE:41:99:2E:BA:4D","UserReset":false}
[15:14:53]Config file was successfully parsed
[15:14:53][DeskController::connect] trying to connect to: CE:41:99:2E:BA:4D
[15:14:58]Name:
[15:14:58]Desk 7693
[15:14:59]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:14:59]Data: 01 03 01 6A 18 
[15:14:59]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:14:59]Data: 01 07 01 00 00 3A 82 A3 57 
[15:14:59]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:14:59]Data: 01 07 01 00 00 3B 82 A3 57 
[15:14:59]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:14:59]Data: 01 07 01 00 00 46 82 A3 57 
[15:15:00]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:15:00]Data: 01 11 01 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 
[15:15:00]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:15:00]Data: 01 00 
[15:15:00]connected
[15:15:00]Current height: 1188 mm
[15:15:00]Getting height and printing it took: 97ms
[15:16:00]After waiting 60.00 secs , WiFi connection result is 6
[15:16:00]Failed to connect
[15:16:10]ets Jul 29 2019 12:21:46
[15:16:10]
[15:16:10]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[15:16:10]configsip: 0, SPIWP:0xee
[15:16:10]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[15:16:10]mode:DIO, clock div:2
[15:16:10]load:0x3fff0018,len:4
[15:16:10]load:0x3fff001c,len:1044
[15:16:10]load:0x40078000,len:8896
[15:16:10]load:0x40080400,len:5828
[15:16:10]entry 0x400806ac
[15:16:11]{"DeskName":"Office Desk","DeskBtAddress":"CE:41:99:2E:BA:4D","UserReset":false}
[15:16:11]Config file was successfully parsed
[15:16:11][DeskController::connect] trying to connect to: CE:41:99:2E:BA:4D
[15:16:18]Name:
[15:16:18]Desk 7693
[15:16:19]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:16:19]Data: 01 03 01 6A 18 
[15:16:19]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:16:19]Data: 01 07 01 00 00 3A 82 A3 57 
[15:16:19]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:16:19]Data: 01 07 01 00 00 3B 82 A3 57 
[15:16:20]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:16:20]Data: 01 07 01 00 00 46 82 A3 57 
[15:16:20]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:16:20]Data: 01 11 01 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 
[15:16:21]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:16:21]Data: 01 00 
[15:16:21]connected
[15:16:21]Current height: 1188 mm
[15:16:21]Getting height and printing it took: 98ms
[15:16:21]After waiting 0.00 secs , WiFi connection result is 3
[15:16:21]Local IP: 10.25.30.161
[15:16:21]HTTP server started
[15:17:21][checkConnection] (millis: 70424), state: 1
[15:18:21][checkConnection] (millis: 130424), state: 1
[15:19:21][checkConnection] (millis: 190424), state: 1
[15:20:21][checkConnection] (millis: 250424), state: 1
[15:21:21][checkConnection] (millis: 310424), state: 1
[15:22:21][checkConnection] (millis: 370424), state: 1
[15:23:21][checkConnection] (millis: 430424), state: 1
[15:24:21][checkConnection] (millis: 490424), state: 1
[15:25:21][checkConnection] (millis: 550424), state: 1
[15:26:21][checkConnection] (millis: 610424), state: 1
[15:27:21][checkConnection] (millis: 670424), state: 0
[15:27:21][checkConnection] Not connected trying to reconnect!
[15:27:21][DeskController::connect] trying to connect to: CE:41:99:2E:BA:4D
[15:27:27]Name:
[15:27:27]Desk 7693
[15:27:28]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:27:28]Data: 01 03 01 6A 18 
[15:27:28]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:27:28]Data: 01 07 01 00 00 3A 82 A3 57 
[15:27:29]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:27:29]Data: 01 07 01 00 00 3B 82 A3 57 
[15:27:29]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:27:29]Data: 01 07 01 00 00 46 82 A3 57 
[15:27:30]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:27:30]Data: 01 11 01 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 
[15:27:30]Notify callback for characteristic: 99fa0011-338a-1024-8a49-009c0215f78a
[15:27:30]Data: 01 00 
[15:27:30]connected
[15:28:21][checkConnection] (millis: 730424), state: 1
[15:29:21][checkConnection] (millis: 790424), state: 1
[15:30:21][checkConnection] (millis: 850424), state: 1

@10bn 10bn changed the title ESP reboots randomley and sporadicaly after receiving target height. ESP reboots randomley and sometimes after receiving target height. Oct 18, 2022
@krzmaz
Copy link
Owner

krzmaz commented Oct 18, 2022

Task watchdog got triggered. The following tasks did not reset the watchdog in time

This is most likely a problem with BT and WiFi coexistence... I've heard anecdotes that it is hard to achieve on ESP32, but it is working quite reliably for me for over a year now... (Sorry for the "works on my machine" argument 😅 )
Is your BT and WiFi connection reliable? Slower connection can make this matter worse. Maybe try changing the placement of the ESP?

If you want to experiment some more, you can try changing those three settings in platformio.ini:
https://github.com/krzmaz/LinakDeskEsp32Controller/blob/main/platformio.ini#L54-L56

Start by pinning AsyncTCP to core 0, then do the same with Nimble, and finally both. Turning of the WDT (watchdog timer) is also an option, but it might make your setup even less reliable 😞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants