Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Schedule display
#6
(07-18-2023, 06:43 AM)marcopc Wrote:
(07-15-2023, 07:39 PM)iliaslamprou Wrote: Hi, I have created a video about the widget "Schedule display"
https://youtu.be/P9ij0S0gABs

You can download the arduino code from the description of the video or from here:
https://virtuino.com/downloads/virtuino_...xample.zip

It's OK
Thanks
Hello
i have tried many, many time your sketch but not work, i received json from schedule widget and stored value in a string scheduleHolder, then when i connect the app nothing happen, esp32 send a command in correct format but the app nothing display.
Where is a mistake?

Hello
i think that i find the problem, i try to explain.
When i send a new schedule i receive a string below
Code:
{
value={"ID":"schedule","date":"Fri 2023-07-21 02:07:05","state":1,"items":[{"D":"1111111","H":8,"M":0,"S":0,"ST":1}]}

Send: {"schedule":"{"ID":"schedule","date":"Fri 2023-07-21 02:07:05","state":1,"items":[{"D":"1111111","H":8,"M":0,"S":0,"ST":1}]}"} // Work
Send: {"scheduleA":"{"ID":"schedule","date":"Fri 2023-07-21 02:07:05","state":1,"items":[{"D":"1111111","H":8,"M":0,"S":0,"ST":1}]}"} // NOT work
}
Well the id schedule what is? is the name of tag variable and is not possible to change(i think) because if i insert two o more schedule widget and i assign tag name different from "schedule" not work.

I have 2 schedule display and i have called scheduleA and scheduleB but nothing work, but when i changed scheduleA in schedule, wow it's work!!!!

If i send value with "ID":"schedule" and tag=schedule it's work, if i send value with "ID":"schedule" with tag=scheduleA not work, but i don't know how change "ID":"schedule".
Reply


Messages In This Thread
Schedule display - by marcopc - 07-11-2023, 02:25 PM
RE: Schedule display - by iliaslamprou - 07-11-2023, 10:36 PM
RE: Schedule display - by marcopc - 07-12-2023, 07:01 AM
RE: Schedule display - by iliaslamprou - 07-15-2023, 07:39 PM
RE: Schedule display - by marcopc - 07-18-2023, 06:43 AM
RE: Schedule display - by marcopc - 07-21-2023, 11:58 AM
RE: Schedule display - by iliaslamprou - 07-25-2023, 01:43 AM
RE: Schedule display - by marcopc - 07-28-2023, 06:25 AM
RE: Schedule display - by iliaslamprou - 07-29-2023, 01:58 AM
RE: Schedule display - by marcopc - 07-29-2023, 08:02 AM
RE: Schedule display - by iliaslamprou - 07-29-2023, 07:38 PM
RE: Schedule display - by marcopc - 08-02-2023, 09:34 AM
RE: Schedule display - by marcopc - 08-04-2023, 07:03 AM
RE: Schedule display - by iliaslamprou - 08-04-2023, 06:42 PM
RE: Schedule display - by marcopc - 08-05-2023, 07:06 AM
RE: Schedule display - by marcopc - 08-05-2023, 03:40 PM
RE: Schedule display - by iliaslamprou - 08-05-2023, 09:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)