English > English corner

Domoticz

(1/4) > >>

dennisdiving:
i am working on the Domoticz part. can not get it working right.

CODE: SELECT ALL

--- Code: ---http://outside_ip_domoticz:8080/json.htm?type=command&param=switchlight&idx=245&switchcmd=On
--- Ende Code ---
it is true : when i push the test button the switch will work in your app and the light is going on.

but when i leave the zone the URL zone leave and enter is not sending the HTML to my switch light?
Ok i changed the RADIUS and my zone is working.

but the HTML parsing fails:
Error in the get of the server request

--- Code: ---[ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver$1] - keuken: Error in get of the server request
java.io.FileNotFoundException: http://my_ip:1010/json.htm?type=command&param=switchlight&idx=664&switchcmd=Off
at com.android.okhttp.internal.http.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:186)
at de.egi.geofence.geozone.utils.Api.doGet(Api.java:97)
at de.egi.geofence.geozone.geofence.GeofenceReceiver$1.doInBackground(GeofenceReceiver.java:636)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
2015-04-30 15:08:29,419 -


--- Ende Code ---

what did i miss

thanx
Dennis

Admin:
Hi and welcome to the forum!


--- Zitat ---it is true : when i push the test button the switch will work in your app and the light is going on.
--- Ende Zitat ---
It depends what your command behind the server is doing. But yes, it should be, how you said.


--- Zitat ---but the HTML parsing fails:
Error in the get of the server request
Code:

[ERROR::de.egi.geofence.geozone.geofence.GeofenceReceiver::de.egi.geofence.geozone.geofence.GeofenceReceiver$1] - keuken: Error in get of the server request
java.io.FileNotFoundException: http://my_ip:1010/json.htm?type=command&param=switchlight&idx=664&switchcmd=Off
--- Ende Zitat ---
I don´t know what it can be. I think something is misconfigured.
Did you try to put your call in the browser and test it like this?


dennisdiving:
yes i put the call directley in the browser and it is ok.
(i will try to reinstall the program and start over again)

let you know

ok i reinstalled the app:
the message changed to : error calling Tasker
Notinstalled: no Tasker App could be found on the device
(sorry this was my misstake "forhet to save the url")

After reinstall still the same message.
The wifi and bluetooth are responding to my Geo radius.

Hope you have a good holiday 8)

Admin:
The problem is, that I am now on holidays and I am home again in 10 days. So before that I can not debug and look in the code.

Admin:
I think it is a bug in combination with the call to a json.
I can try to fix it in about 10 days when i am again at home.
Can you test if then?

Navigation

[0] Themen-Index

[#] Nächste Seite

Zur normalen Ansicht wechseln