I use open-weather a lot and just recently it is throwing weird errors at me.
As we are going into winter, (ok, Autumn) it is raining more and more.
For now I am doing a series of weather gets from midnight to mid day to see how much rain has fallen.
(Each hour, there about)
This shows the error (kind of) and the time. 02:00
and The API call returned invalid JSON
This is a list of attempts to see what is the problem:
Yeah, not perfect as the objects
aren't expandable, but let's accept that and move on - for now.
You can see the replies (messages) at 00:00
, 01:00
, 03:00
, 04:00
, 05:00
and 06:00
.
The big red arrow points to where the error causing 02:00
message should have been.
There isn't/wasn't a message sent.
Looking at the flow.
Yes, it is a bit full on.
Let's concentrate on the red area/s.
the open-weather
node. The output goes to a link
node. That then goes down and is logged.
A timestamp
is created for WHEN it happened, a template
node formats the message and a queue
node queues them, and finally a debug
shows them.
I need to do work on getting it to expand the objects
, but I'm not sure that is the problem.
As you can see nothing was output at 02:00
, so that has me confused to the invalid JSON
message.
If anything was output, it would/should have been logged - yes?
This is happening with annoying regularity recently. But not always at 02:00 - or I am not 100% sure.
The last few times - where were the start of this trend - I didn't really check that.
I saw the error message and kind of grumbled.
But now it seems to have established itself as a daily thing.
Just to mention - though I don't think it is relevant: Sunday morning (today is Wednesday) we went from SUMMER TIME back to NORMAL TIME.
But as just said, that was now 5
days ago.
Which is why I didn't worry the first couple of times - stupidly.
Any ideas?
Thanks in advance.