gravitymon
gravitymon copied to clipboard
Sending to targets triggers exception
Describe the bug Exception happens after movement detected. MQTT for Home Assistant and HTTP for Brewfather configured.
To Reproduce Steps to reproduce the behavior:
- Have gravitymon on
- Move gravitymon to trigger movement detected
Expected behavior Send data to targets
Screenshots Here is the serial trace while this happens: (500) 129 1757 5254. 70260 I: GYRO: Movement detected (500) 3747 2674 3409. 70575 I: WEB : webServer callback for /api/ping. 71270 I: GYRO: Movement detected (500) 542 817 190. 72787 I: Main: Sending data to all defined push targets. 72789 I: PUSH: Free-heap 25 kb, Heap-rag 10 %, Max-block 22 kb Stack=320 b. 72809 I: PUSH: Template loaded from disk /http-1.tpl. 72810 I: TPL : Buffer needed 255. 72811 I: TPL : Transformed template 290 chars to 255 chars 72813 I: PUSH: Sending values to HTTP post 72817 I: PUSH: Adding header 'Content-Type': 'application/json' 73601 I: PUSH: HTTP post successful, response=200 73613 I: PUSH: Template loaded from disk /mqtt.tpl. 73616 I: TPL : Buffer needed 1342. 73623 I: TPL : Transformed template 1336 chars to 1342 chars 73623 I: PUSH: Sending values to mqtt.
--------------- CUT HERE FOR EXCEPTION DECODER ---------------
Soft WDT reset
Exception (4): epc1=0x401004d8 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
Software:
- Platform esp8266
- Browser firefox
- Version 2.0.0-beta2
Additional context Manual test of targets works.