https://github.com/thingsboard/thingsboard-client-sdk/blob/master/examples/0003-esp8266_esp32_send_data/0003-esp8266_esp32_send_data.ino, only variables for wifi etc have been replaced
Debug Message
16:59:57.275 -> .Connected to AP
16:59:58.286 -> Connecting to: (demo.thingsboard.io) with token (xxxxx)
16:59:58.493 -> Sending temperature data...
16:59:58.493 -> [TB] Unable to serialize json data
16:59:58.493 -> Sending humidity data...
16:59:58.493 -> [TB] Unable to serialize json data
16:59:59.496 -> Sending temperature data...
16:59:59.496 -> [TB] Unable to serialize json data
16:59:59.496 -> Sending humidity data...
16:59:59.496 -> [TB] Unable to serialize json data
17:00:00.466 -> Sending temperature data...
17:00:00.466 -> [TB] Unable to serialize json data
Board
FireBeetle 2 ESP32-E, Beetle ESP32-C3
Device Description
https://wiki.dfrobot.com/SKU_DFR0868_Beetle_ESP32_C3 https://wiki.dfrobot.com/FireBeetle_Board_ESP32_E_SKU_DFR0654
Hardware Configuration
For the Firebeetle 2, https://www.okystar.com/product-item/hc-sr04-ultrasonic-sensor-module-oky3261-2/#tab-id-2 is connected to GND, 3V3, D11 and D12, from GND, VCC, Trig and Echo respectively. For the Beetle C3, https://bc-robotics.com/shop/jst-ph-2-pin-cable-male-conenctor/ is connected to BAT and GND, https://www.dfrobot.com/product-2463.html is connected to 3V3-RED, GND-BLACK and 4-GREEN also a cable runs from 0 to BAT and GND, with 1M resistors in front of both, for measuring battery voltage.
Version
v2.0.14
IDE Name
Arduino IDE 2.3.0
Operating System
Windows 10 version 22H2
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
Running basic example script to upload telemetry data to Thingsboard server, getting answer "[TB] Unable to serialize json data". Issue has been reported here https://github.com/thingsboard/thingsboard/issues/10164
Sketch
Debug Message
Other Steps to Reproduce
Reproduces on both on premise Thingsboard server and cloud demo, demo,thingsboard.io. Steps to reproduce: 1) take an Arduino board 2) run https://github.com/thingsboard/thingsboard-client-sdk/blob/master/examples/0003-esp8266_esp32_send_data/0003-esp8266_esp32_send_data.ino 3) use Thingsboard demo (demo.thingsboard.io)
I have checked existing issues, online documentation and the Troubleshooting Guide