Skip to main content

Questions tagged [json]

1 vote
1 answer
96 views

I have a project (Digital Dashboard for a Motorhome) in Pi that reads JSON data from an Arduino board and sends it via Serial. The Pi gets the JSON data, makes some adjustments and then sends it to an ...
Honeybadger22's user avatar
0 votes
1 answer
67 views

I have been using Open Weather and Weather Undground APIs for some time. I recently learned the National Weather Service has an API for alerts. I can print out the raw data but not able to parse it. ...
DAVID T.'s user avatar
0 votes
1 answer
119 views

I am running a project where I have multiple ESP32s communicate over WebSockets and I am using the Arduino IDE 2.3.4 for it. The communication primarily uses JSON and sends it as strings. To work with ...
Joel's user avatar
  • 103
2 votes
1 answer
237 views

I have a ESP32 with a web server. In the page where I show the sensor readings and the state of the system, right now the readings are showing themselves well. The problem comes when I want to show ...
vram's user avatar
  • 31
0 votes
1 answer
197 views

Hey all I have a sketch that takes up 99% of my storage space since I am using a Arduino Nano. Although everything in my code fits as-is, there seems to be an issue with me sending a json string over ...
StealthRT's user avatar
  • 259
2 votes
1 answer
266 views

I'm using an ESP8266, ArduinoJson v6.21.5. PlatformIO, and Vscode. The config file is saved and read correctly to the ESP8266's flash: { "gen_pubTopic": [ "DvirHome/Messages&...
guyd's user avatar
  • 1,049
1 vote
2 answers
571 views

I'm trying to parse the JSON string from the National Weather Service Alerts and am encountering a problem where the code can't parse the value and the device auto-resets. I've used this code before ...
user3481929's user avatar
1 vote
1 answer
308 views

I have a setup that reads from serial when I sense that there is something to be read (and always assume that what is sent to the arduino is valid json): void setup(){ Serial.begin(9600); ...
Snappawapa's user avatar
1 vote
1 answer
876 views

I'm utilizing this json library: https://arduinojson.org/ I am attempting to write a function that creates a response object, and wraps an already built json document: void sendResponse( ...
Snappawapa's user avatar
2 votes
0 answers
201 views

I have a program running on an esp8266 that attempts to fetch json data from an HTTPS endpoint that is hosted on aws amplify (data comes from a next.js app). I can retrieve the data correctly when I ...
seddouguim's user avatar
1 vote
0 answers
67 views

The setup includes an WEMOS/ESP8266 R1 mini compatible board, a DHT11, a photo resistor and a magnetic reed. The libs used are: #include <ESP8266WiFi.h> #include <PubSubClient.h> #include &...
thermike's user avatar
3 votes
1 answer
1k views

I am getting a json object from aws iot MQTT. Assuming that json from aws is {status:opened}. Here is my code. #include <ArduinoJson.h> void messageHandler(char *topic, byte *payload, unsigned ...
Jess's user avatar
  • 53
-1 votes
1 answer
772 views

I have a vector which consist of a struct, see below: struct FileInformation { String name; size_t filesize; }; std::vector<FileInformation> FileInformations; How do I get JSON ...
test's user avatar
  • 11
0 votes
1 answer
1k views

With an nodeMCUv2 I want: to start a wifi server with ESP8266WebServer.h serve a root html page which will interact with the ESP and fetch external data Issue: CORS policy: No 'Access-Control-Allow-...
user2718593's user avatar
0 votes
2 answers
992 views

Parameter file containing MQTT topics as shown below, is read into StaticJsonDocument<1250> DOC variable. Size of some groups may differ between MCU's, for example sub_topics_win may contain ...
guyd's user avatar
  • 1,049

15 30 50 per page
1
2 3 4 5
7