[sendtohttp] Add Open-Meteo events + JSON event#5207
[sendtohttp] Add Open-Meteo events + JSON event#5207TD-er merged 40 commits intoletscontrolit:megafrom
Conversation
|
Command: Response: |
Wrap the (long) url, that contains several commas, in quotes, and this issue should be resolved 😉 |
I tried that and it didn't work...but now i think i know what happend. I have this auto correction plugin in my browser. Disabling it helped :) |
- added FEATURE_OPENMETEO_EVENT to Custom-sample.h - disabled FEATURE_THINGSPEAK_EVENT and FEATURE_OPENMETEO_EVENT on default - both got the same structure in define_plugin_sets.h
|
Thanks for helping me... |
|
I combined the two functions because there is actually no need for that |
|
What needs to be done to get this merged? |
I will have a look at it now... |
|
Well if you can do a last-minute check to make sure it is still working after these changes, I will merge it when no issues found. |
|
Check completed. |
|
Thanks :) |
|
Uploaded the build including this to the web flasher: https://td-er.nl/ESPEasy/latest/ |
To-do:
As being asked here: https://www.letscontrolit.com/forum/viewtopic.php?p=72083#p72083 i do a PR for Open-Meteo events
On OpenMeteo#current Do...)It works but responses can get quite long, especially for hourly variables and also when all types combined together.
But for now it was working fine on an esp32 classic even with very long resonses > 6kb
I tried to kind of create a size check but i am no expert for memory constraint systems. Maybe you can help out here with some recommendations.
I guess when calling this it is already to late 🙂 :
How to use:
sendtohttp api.open-meteo.com,80,/v1/forecast?...Issues:
ESPEasy throws a "Too many arguments" error but it still works fine