-
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
[Commands] Add PostToHTTP command #4465
[Commands] Add PostToHTTP command #4465
Conversation
did some testing. works fine but i couldn´t test authorization... |
Just tested this and seems to work fine. Could not test authorization either though. |
Well....Weirdness. I set the unit up and the commands were working ok. Several hours later I was testing again and kept getting a 404 error using my self hosted server. Tried ntfy's public server and it posted ok. All my other devices here were still connecting fine to my server. ` --------------- CUT HERE FOR EXCEPTION DECODER --------------- Exception (9):
ctx: cont --------------- CUT HERE FOR EXCEPTION DECODER --------------- ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 3584, room 16 INIT : Booting version: ESP_Easy_mega_20230115_normal_ESP8266_4M1M, (GitHub Actions) HEAD_7918e7e (ESP82xx Core 2843a5ac, NONOS SDK 2.2.2-dev(38a443e), LWIP: 2.1.2 PUYA support) |
TD-er merged a PR today that will most likely fix this (have to verify still, in a short while), just pulled in the mega branch, so you can get an update from the Actions run once that's finished. |
Sorry to say but still getting boot loop. 4M1M normal. EDIT: Same thing. Set static IP. Reboot. Boot loop Edit 2: |
If you restore it to use DHCP it will be able to boot again, using the latest build from this PR. (WIP) |
Will do that and keep testing the ntfy stuff |
The failure is caused by an issue in the Arduino libraries for ESP8266, and will be resolved with a workaround via #4468 |
Figured out my 404 issue. Config problem on my end. Router misconfig. |
A side note. Just noticed there is no notifications page in the build I am using. Is that by design? |
Notifiers are excluded from some builds, most notably from |
Resolves #4446
Add support for command
PostToHTTP <host>,<port>,<path>,[<headers>][,<postbody>]
Features:
POST
verb.<user>:<password>@<host>
."Authorization: Bearer <token>"
).%LF%
variable.NB: Not included in the
Minimal
builds.TODO: