I have solved it for long and never use Autoremote anymore since then. Autoremote wifi server tends to be killed, but I almost never have problem with Automagic HTTP request trigger (except when it is being disabled by other flow, but that's different story).
Yes, we can implement the feedback to confirm that the data is sent properly. I can simply put a generic website index.htm at the eventghost base folder or automagic HTTP write request. But I don't use the confirmation, because I use it when I am in front of PC and have access to both, I have direct visual confirmation if something goes wrong.
HTTP request, Trigger and Action
Moderator: Martin
Re: HTTP request, Trigger and Action
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: HTTP request, Trigger and Action
Umn, if error is due very infrequent sensitivity to any number of unusual time/condition, only not confirmation but as I said it solves the problem too.
Have you done something to ensure security assuming the webserver is connected to the internet?
Have you done something to ensure security assuming the webserver is connected to the internet?
Possible=ISeeAWay, Impossible=IDontSeeNow, ImpossibleButImportant=WeNeedToFindAWay
Re: HTTP request, Trigger and Action
A feedback is of course much better to ensure the message get across properly. For my yeelight, I parse the response to get the confirmation, as sometimes I can't see the light directly.
My PC is connected to internet and I have firewall to block incoming connection. I only whitelist some of my device static IP and for event ghost. The samba share is password protected. While for the phone I only enable the HTTP trigger when it is connected to my own wifi and disable it when got outside; using my wifi geofencing flow. The other method I am too lazy to implement is to add my own SSL certificate to both server/client. So the whole communication is encrypted and secure with SSL.
My PC is connected to internet and I have firewall to block incoming connection. I only whitelist some of my device static IP and for event ghost. The samba share is password protected. While for the phone I only enable the HTTP trigger when it is connected to my own wifi and disable it when got outside; using my wifi geofencing flow. The other method I am too lazy to implement is to add my own SSL certificate to both server/client. So the whole communication is encrypted and secure with SSL.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.