Since a week I am interest in home automation and I am amazed what kind of powerful tools EG and tasker are.
As written in the headline I want to realize a connection from my Andoid device to my PC.
I`ve tried several possibilities but nothing works yet.
AutoRemote lite:
If I try to register EG with the EG plugin, I get one of the following error messages depending on weather I set the local IPs or let it get automatically:
Code: Select all
Fehler in Befehl: "AutoRemote: Registering on Handy"
Traceback (most recent call last) (1669):
File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 170, in CallWrapper
return self(*args)
File "C:\Program Files (x86)\EventGhost\plugins\AutoRemote\__init__.py", line 1266, in __call__
localip = GetLocalIp(self.plugin)
File "C:\Program Files (x86)\EventGhost\plugins\AutoRemote\__init__.py", line 113, in GetLocalIp
localip = socket.gethostbyname(socket.gethostname())
gaierror: [Errno 11001] getaddrinfo failed
Code: Select all
794: Couldn't make request via local network: <urlopen error [Errno 10061] Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte>
Calling url https://autoremotejoaomgcd.appspot.com/sendrequest
request=%7B%22haswifi%22%3A+true%2C+%22communication_base_params%22%3A+%7B%22type%22%3A+%22RequestSendRegistration%22%2C+%22sender%22%3A+%22EG+PC%22%7D%2C+%22name%22%3A+%22EG+PC%22%2C+%22port%22%3A+%221818%22%2C+%22publicip%22%3A+%22%22%2C+%22localip%22%3A+%22192.168.178.22%22%2C+%22key%22%3A+%22Invalid+URL%22%2C+%22ttl%22%3A+0%2C+%22type%22%3A+%22eventghost%22%2C+%22id%22%3A+%22EG+PC%22%2C+%22sender%22%3A+%22EG+PC%22%7D&sender=EG+PC&key=Invalid+URL
Couldn't make request via the internet: <urlopen error [Errno 11001] getaddrinfo failed>
Couldn't send Request
-With the URL goo.gl/XxXxXx I get a connection to my phone. Works fine
-The AutoRemote Windows App doesnÔÇÖt work too. The App is crashing and I get a Framework error
-use the current plugin version
EventGhost Tasker Plugin:
I installed the App and the Tasker plugin several times but the plugin is still not displayed in Tasker?
TerRemote:
(with TerRemote you can send simple TCP Signals to EG if the EG network receiver plugin is installed.)
I installed both again, tasker plugin and android app. The app worked very fine, it was the first time that
I get a signal in EG from my Android device and I was happy as hell but when tried it by tasker it doesnÔÇÖt work.
I configure it according to the description. Set an event in tasker, made a macro in the android app, set the app to listening
but it seems that the command from tasker does not arrives the android app. Also in the logs I canÔÇÖt see a signal from tasker.
What I also tried is the Send/Expect tasker plugin and the UDP-Sender tasker plugin but also without luck. No reaction in EG.
The last change is the Webserver-plugin where I can send HTML Signal by tasker but that would be a solution that does not like very much.
Finally I give up, maybe anybody can give me a hint or foolproof description how I can make this happen.
I am using Win7 Enterprise 64Bit SP1 build 7601 / Eventghost 0.4.1 r1969 / Android 4.4.2 cyanogenmod
Kind regards