-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SendToHTTP not working #1556
Comments
Just as a test, could you add an extra "," at the end of the line? Another strange thing is the implementation of |
The crash is initiated by the watchdog timer:
This is also shown in the sysinfo page:
|
sorry but for now I'm out of my workshop so can't test anything |
I tested a bunch of releases and standard non-controller related SendtoHttp worked fine until release mega-20180720. There are no controllers active here. I use the command to tell a RPI Cam Control (Raspberry Pi camera) install to start and stop recording. Worked fine up to mega-20180719. Stopped working at mega-20180720 and up. Is this the same or should this be a separate issue? This is the exact command used in a rule... ESP_Easy_mega-20180720_normal_ESP8266_4096 flashed to a generic ESP-01 with a 4 meg flash chip grafted on. (Makes OTA easy) |
That's probably related to the parseString changes. |
So is it a bug or does the command need to be modified? |
Not sure yet. |
It is a bug and I found it and made a fix for it. |
SendtoHTTP command is now working with mega-20180723. 👍 |
Thanks for the feedback! |
I am not sure the original issue is resolved. |
Aha, sorry! Let's reopen it. |
finally got the chance to test again my scenario, this time with mega-20180804. the good news is that the esp no longer crashes but the command doesn't seem to get executed either
from what I see there is a limit of 80 chars for the sendtohttp command but that's to small to work with wunderground. Can this be increased to something more reasonable like 128 or more? |
I am looking into this issue: #1556 For this issue I changed how the commands are being scheduled. |
hmm.. actually I take it back. even if the log shows what appears to be an error message "GetArgv Error; argv_size exceeded. argc=4 argv_size=80", in the end the SendToHTTP command is executed just fine with "GET bla_bla HTTP/1.1" |
It looks like this one can also be closed. |
need some help here please.
ESPEasy_mega-20180708
Running on a Sonoff TH16 with ESP8266/1024
Trying to load the data to wunderground so I see I can either user Generic HTTP controller or a rule.
With Generic HTTP controller I seem to be able to do basic uploading as long as the Controller Publish text is not too long, like:
/weatherstation/updateweatherstation.php?ID=NAME&PASSWORD=PASSWORD&dateutc=now&%valname%=%value%&action=updateraw
Sadly this means I can't use their RapidFire update method which needs something like:
/weatherstation/updateweatherstation.php?ID=NAME&PASSWORD=PASSWORD&dateutc=now&%valname%=%value%&realtime=1&rtfreq=10&action=updateraw
If I try to use a rule it always crashes and reboots, either using a short or a long Controller Publish, like:
Am I using SendToHTTP wrong? Did anybody use with succes data uploading to wunderground?
The text was updated successfully, but these errors were encountered: