Page 21 of 37
Re: terRemote - Android remote app for EventGhost
Posted: Mon Sep 09, 2013 10:39 am
by terRemote
Thanks, I'll have a look into that new Tasker issue and the problem with sending 2 or 3 times. I did not experience this, so far.
You can use a relative url with the HTTP action, starting with a slash. The ip/url is then taken from the server property. E.g. if you write "/test.php" in the Address field and your selected server has the ip 192.168.0.4, the request goes to
http://192.168.0.4/test.php. Please refer to the documentation under
http://www.terremote.com/documentation/Actions/Network and report any issues with this. When the ip changes, you can then just change it in the server property or change the default server of terRemote or any layout.
Re: terRemote - Android remote app for EventGhost
Posted: Mon Sep 09, 2013 10:05 pm
by r0lZ
Thanks. I'll have a look tomorrow.
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 10, 2013 10:16 am
by scat
will this work using a outside IP like no-ip.org, I couldn't get it to find he server with a mynoipname.no-ip.org or with the ip that was publish by mynoipname.no-ip.org, so i unstalled the app and reinstalled and lost the layout tha I spent 1-2 hours creating. anyway to retrive mycreated layout?
thanks
scat
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 10, 2013 11:23 am
by r0lZ
terRemote wrote:You can use a relative url with the HTTP action, starting with a slash. The ip/url is then taken from the server property. E.g. if you write "/test.php" in the Address field and your selected server has the ip 192.168.0.4, the request goes to
http://192.168.0.4/test.php. Please refer to the documentation under
http://www.terremote.com/documentation/Actions/Network and report any issues with this. When the ip changes, you can then just change it in the server property or change the default server of terRemote or any layout.
OK, I've been able to define a new server, and use it in the action of the button. That problem is solved. But strangely, now, the command seems to be repeated 4 times instead of 2 or 3 with the previous syntax (with the hardcoded IP). I wonder why.
Note: The HTTP request to send is this Put on port 80, if that matters:
There is no variable to pass. Just a path.
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 10, 2013 11:35 am
by terRemote
@scat:
terRemote works with no-ip.org, though the "find" button does not. It only searches the local IPs. This might be a bit confusing. Just entering your address like "mynoipname.no-ip.org" in the IP field should work. Make sure that the port is forwarded by your router, otherwise you don't get through to your EventGhost server. I'm using no-ip myself and did not have any problems, so far.
About your layouts: Android deletes app data when the app is uninstalled so I'm afraid your layouts can not be recovered. There is no (not yet) auto backup function in terRemote. Maybe you find something helpful in the Online Library. Anyway, when you're done, you can use the export function for creating a backup.
@r0lZ:
Thanks for the descrition. It might be a bug of the POST method. I'm currently only using GET regularly and there I don't have any problems.
I also checked the Tasker communication, it works on my device Android 4.3 with the new Tasker version. Which error message do you get?
Chris
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 10, 2013 12:05 pm
by r0lZ
terRemote wrote:Which error message do you get?
Might be due to my Avast! antivirus or firewall config. I will try to fix this problem myself.
[EDIT] Tried to disable the firewall, but I have still the same problem. What could be the reason?
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 10, 2013 12:10 pm
by terRemote
Don't, I have to check the error message when I get home but I'm quite sure that this error message comes from Tasker itself so firewalls are not the problem.
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 10, 2013 12:20 pm
by r0lZ
Right. I've just edited my previous post. Disabling the firewall doesn't fix the problem. I'm stuck, and I'm waiting for your advice...
Re: terRemote - Android remote app for EventGhost
Posted: Sat Sep 14, 2013 11:28 pm
by mpg732
Hello,
I have tried to add a "web view" to a page and can not get it to work. I tried the same address I am using in terRemote in the web browser and it works fine. When I try it in terRemote, I get the generic "Webpage not available". Any thoughts
Thanks,
MIke
Re: terRemote - Android remote app for EventGhost
Posted: Sun Sep 15, 2013 6:24 am
by r0lZ
Just verified here, and it seems that I have the same problem. The web view widget is broken in the last version (v 1.33 free and pro). It worked fine previously.
Re: terRemote - Android remote app for EventGhost
Posted: Sun Sep 15, 2013 9:10 am
by terRemote
Hmm, still works on my device, also with the downloaded version from gplay. Which kind of url are we talking about (local ip, dyndns, ...)?
Does "
http://www.google.com" work?
Which Android versions are involved?
Re: terRemote - Android remote app for EventGhost
Posted: Sun Sep 15, 2013 9:45 am
by r0lZ
Well, I did a test with my Lacie HDD. (It can be more or less controlled via an embedded web page.) The URL is in the LAN and is currently this:
http://192.169.0.4/remote
I've just tried again and now it works. Google works too. Not sure why it did not work for the Lacie when I did the previous test Perhaps it was not yet ready to accept connections after booting, although its GUI was fully loaded and it was possible to control it with the IR remote.
Anyway, now, it works normally.
If you're still interested, I have a Medion Lieftab E10310 tablet with Android v4.1.1 (and kernel 3.0.8+)
BTW, I have 2 suggestions about the web view widget. If, for example, you use it to display a web page embedded in a multimedia HDD (like I do with my Lacie) and you launch terRemote when the hardware is turned off or not ready yet, the web view cannot connect to the URL, and displays the error message. Now, if you wait for the HDD to be ready to accept connections, you cannot force terRemote to reload the page, and you have to quit it and relaunch it. I suggest to add the possibility to force to refresh the page, for example with a long touch on the web view. That can be an option in the web view settings, and/or a function that can be called from another widget (for example from a Refresh button). That possibility can be really useful.
And if it's easy to implement, I suggest also to add an option to scale the web page by a certain factor. Some pages are too large or too small, and it would be nice to have the possibility to adapt them to the size of the web view widget.
Re: terRemote - Android remote app for EventGhost
Posted: Mon Sep 16, 2013 4:04 am
by mpg732
Same thing, now it works. Strange. I was trying a local address as well as ebay.
Re: terRemote - Android remote app for EventGhost
Posted: Mon Sep 16, 2013 10:10 pm
by mpg732
OK, so last night the Web views started working. The problem is, I can't say for sure, but I believe it caused my tablet to lock up. It locked up so bad, I couldn't turn off the tablet, and the touch screen stopped responding. I had to do a hard reset to get the tablet working again. Now this has never happened before, it just happen after I enable the web view. Any one else have this happen?
Re: terRemote - Android remote app for EventGhost
Posted: Tue Sep 17, 2013 6:40 am
by terRemote
Hi,
first of all, the next version will probably contain an "action on error" option for the webview that is called whenever the content could not be loaded. There will also be a "reload" action for the WebView so that what you wanted to achieve should be possible by then.
About the crash of mpg732: This is new to me. A similar behavior was once reported for the HTTP action, though. Do you use that? If it happens again, please try to reproduce the error for better diagnosis. That would be a big help.
Chris