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

Re: terRemote - Android remote app for EventGhost

Post by mpg732 »

got it to work, Thanks

Any one suggest some thing that can repeat IR command faster then the USBIRT Its a bit to slow even with zero wait.
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post by mpg732 »

Not sure if HTTP command would work the way I think it does, I would like to send this command to my DirecTV box "http://192.168.1.76:8080/remote/processKey?key=play". Can this be done?
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post by r0lZ »

Yes.
Create a DirecTV server (Options -> New Server) with the IP 192.168.1.76.

In the button, use the Network event -> HTTP action:
Server: DirecTV
URL: /remote/processKey?key=play
Port: 8080
Method: Get

I think you can store the reply in a variable, but I have not used that feature yet, and I don't know how it works.
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post by mpg732 »

Just wanted to post that I got the boarder around buttons figured out, I was doing it wrong. LOL Not a glitch like I thought.

Thanks for all the help.

Mike
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post by mpg732 »

Its been quite lately. Question, any thing new coming soon? Also, not that I am complaining, but I have uploaded a few of my layouts, and I do not see them in the download section. When you upload a layout does it just take time before they show up?

Thanks
Mike
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,

thanks for reminding me of the Online Library. There is an issue at the moment with releasing the layouts. They should be online now.

There haven't been any upgrades lately because I'm currently still changing the overall appearance of the app. I can't upload anything until that's done. But don't worry, I use the little time I have for these improvements and once this is done, there will also be new features :-)

Btw thanks to everyone for uploading layouts, giving feedback, issuing feature requests and - most of all - being patient with me. ^^

Chris
mpg732
Experienced User
Posts: 92
Joined: Mon Aug 05, 2013 6:59 pm

Re: terRemote - Android remote app for EventGhost

Post by mpg732 »

OH, come on now. I hate you, you can't tell us that with out more info. Leave us hanging like that. LOL Just joking. Glad to hear some changes are in the works, can't wait. One request, more options for slider appearance would be nice or the option to import our own.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: terRemote - Android remote app for EventGhost

Post by Pako »

I recently became the owner of the Android smartphone, so I started experimenting with terRemote.
I have (yet) only one question: what encoding accepts terRemote?
I'm trying to send an event or payload with characters including diacritics, but in vain.
I'm trying to edit Network sender plugin, but all my attempts are futile, text is always garbled.
I believe that the "utf-8" is the standard for similar cases, but it seems that terRemote uses something else.

Thanks, Pako
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 »

Yes, it's utf8. The problem is that the EG Network Sender plugin does not send data in utf8 by default but instead uses the system default which excludes a lot of characters.

Try the following: go to the EG python shell and enter

Code: Select all

eg.systemEncoding="utf-8";
Then, send data to terRemote with

Code: Select all

eg.plugins.NetworkSender.plugin.Send(u"command", [u"ś"]);
Of course you might use different letters but the utf-suffix u is important.

If this works, you can "fix" the Network Sender plugin by replacing ocurrences of eg.systemEncoding with "utf-8" (including quotes). Then you don't have to set the system encoding, anymore.

At this point I think I have to finish the terRemote EG-plugin that we were talking about. ^^

Anyway, let me know whether this works.
Best
Chris
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: terRemote - Android remote app for EventGhost

Post by Pako »

terRemote wrote:Try the following: go to the EG python shell and enter

Code: Select all

eg.systemEncoding="utf-8";
Then, send data to terRemote with

Code: Select all

eg.plugins.NetworkSender.plugin.Send(u"command", [u"ś"]);
Thank you for your response.
Pako wrote:I'm trying to edit Network sender plugin, but all my attempts are futile, ...
This of course I tried it before.
But that is exactly what does not work. :cry:

Pako
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 »

Ah, yeah, you wrote that you edited the plugin, already. Sry.

So from your description I take that the event is received in terRemote but with non-ascii characters replaced by some other ones? Or is it even more extreme? Does everything work as expected when you only have ascii characters in the command and the payload? What is your Android version?
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: terRemote - Android remote app for EventGhost

Post by Pako »

terRemote wrote:So from your description I take that the event is received in terRemote but with non-ascii characters replaced by some other ones?
Yes.
terRemote wrote: Does everything work as expected when you only have ascii characters in the command and the payload?
Yes.
terRemote wrote: What is your Android version?
4.1.2

Pako
r0lZ
Posts: 36
Joined: Thu Aug 08, 2013 7:00 am

Re: terRemote - Android remote app for EventGhost

Post by r0lZ »

Not sure it can work in your case, but have you tried to encode the string in base64 (and, of course, decode it when it has been received)?
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 »

rOlZ's suggestion will surely work. Nevertheless, I would like to get rid of this issue, especially for when the EG plugin is released. I have one idea what could have gone wrong. Pako, I'll send you a test version. I hope I get it done by tomorrow, maybe even tonight.

While I'm at it, a quick update on the current progress of terRemote: The new version is almost ready for testing, I will upload the beta within the next days. The final version should be available within the next week.
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 »

Finally, I uploaded the new beta version of terRemote Pro. For those who are interested in supporting the app, you can become a beta tester by entering the google group
https://groups.google.com/d/forum/terremote-beta

Depending on the feedback and whether there are major problems with the beta, the new version should be available next week.

Chris
Post Reply