07-28-2023, 06:25 AM
(07-25-2023, 01:43 AM)iliaslamprou Wrote: Hi,
what do you mean "not work"?
Can you receive the schedule on esp device?
Can you see the received schedule on the serial monitor?
Could you upload the code changes?
Hi,
I already tested your sketch calledĀ Virtuino_IoT_esp32_schedule_example.ino, i receive the schedule and displayed on serial monitor.
I have created a new project with only one schedule display widget, then i uploaded your sketch on esp32.
When i connect and add a new schedule i received:
Code:
[0] Received: {"schedule":"{"ID":"schedule","date":"Fri 2023-07-28 08:06:27","state":1,"items [{"D":"1111111","H":8,"M":0,"S":0,"ST":1}]}"}
Received: tag=scheduleĀ value={"ID":"schedule","date":"Fri 2023-07-28 08:06:27","state":1,"items":[{"D":"1111111","H":8,"M":0,"S":0,"ST":1}]}
then i disconnect and close the app, when i restart the app and connect esp32 send:
Code:
[0] New client connected - IP: 10.50.50.66
Send: {"schedule":"{"ID":"schedule","date":"Fri 2023-07-28 08:06:27","state":1,"items":[{"D":"1111111","H":8,"M":0,"S":0,"ST":1}]}"}
but the app nothing show on schedule display