Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

terRemote - Android remote app for EventGhost

Questions and comments specific to a particular plugin should go here.
User avatar
terRemote
Experienced User
Posts: 183
Joined: Tue May 22, 2012 8:13 pm

Re: terRemote - Android remote app for EventGhost

Post 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.
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post by r0lZ »

Thanks. I'll have a look tomorrow.
scat
Posts: 31
Joined: Sat May 05, 2007 12:55 pm

Re: terRemote - Android remote app for EventGhost

Post 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
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post 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:

Code: Select all

/keys/down
There is no variable to pass. Just a path.
User avatar
terRemote
Experienced User
Posts: 183
Joined: Tue May 22, 2012 8:13 pm

Re: terRemote - Android remote app for EventGhost

Post 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
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post by r0lZ »

terRemote wrote:Which error message do you get?

Code: Select all

The access to Tasker is blocked
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?
Last edited by r0lZ on Tue Sep 10, 2013 12:19 pm, edited 1 time in total.
User avatar
terRemote
Experienced User
Posts: 183
Joined: Tue May 22, 2012 8:13 pm

Re: terRemote - Android remote app for EventGhost

Post 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.
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post 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...
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post 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
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post 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.
User avatar
terRemote
Experienced User
Posts: 183
Joined: Tue May 22, 2012 8:13 pm

Re: terRemote - Android remote app for EventGhost

Post 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?
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post 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.
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post by mpg732 »

Same thing, now it works. Strange. I was trying a local address as well as ebay.
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post 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?
User avatar
terRemote
Experienced User
Posts: 183
Joined: Tue May 22, 2012 8:13 pm

Re: terRemote - Android remote app for EventGhost

Post 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
Post Reply