Page 6 of 14

Re: Toon for Android

Posted: Tue Apr 30, 2019 12:20 am
by ikookmaar
Could anyone direct me to some instructions on how and where to configure a redirection service using an an Api token (or login authentication, if it works) to safely control the Toon from the internet with this app?.
This is not exactly the same as a reverse-proxy, is it?
I have a Raspberry Pi I could use, running Apache2 as well as Domoticz (haven't figured out what webserver this runs on) ...
Thanks!

Re: Toon for Android

Posted: Tue Apr 30, 2019 12:12 pm
by mAiden
ikookmaar wrote:Could anyone direct me to some instructions on how and where to configure a redirection service using an an Api token (or login authentication, if it works) to safely control the Toon from the internet with this app?.
This is not exactly the same as a reverse-proxy, is it?
I have a Raspberry Pi I could use, running Apache2 as well as Domoticz (haven't figured out what webserver this runs on) ...
Thanks!
You could look to run OpenVPN on your Raspberry PI, to use the Toon app? I use a Draytek VPN to connect to my PI or my rooted Toon.

Re: Toon for Android

Posted: Tue Apr 30, 2019 6:17 pm
by RoadXY
ikookmaar wrote:Could anyone direct me to some instructions on how and where to configure a redirection service using an an Api token (or login authentication, if it works) to safely control the Toon from the internet with this app?.
This is not exactly the same as a reverse-proxy, is it?
I have a Raspberry Pi I could use, running Apache2 as well as Domoticz (haven't figured out what webserver this runs on) ...
Thanks!
Redirection service could be used with an reverse proxy while adding an extra header.
Based on the header the proxy will proxy the requests through to your internal device (i.e. Toon).

I'm working on using a reverese proxy with basic authentication and ssl.
If I got this working I'll be updating the app to support this scenario.

An nice feature would be to have an cloud connection and have Toon set up an VPN to it.
Maybe someday :D

Re: Toon for Android

Posted: Tue Apr 30, 2019 6:21 pm
by glsf91
ikookmaar wrote:Could anyone direct me to some instructions on how and where to configure a redirection service using an an Api token (or login authentication, if it works) to safely control the Toon from the internet with this app?.
This is not exactly the same as a reverse-proxy, is it?
I have a Raspberry Pi I could use, running Apache2 as well as Domoticz (haven't figured out what webserver this runs on) ...
Thanks!
Configure OpenVPN on your router. Install openVPN on your phone. Then you can access everything from your phone in your house.

Re: Toon for Android

Posted: Tue Apr 30, 2019 8:52 pm
by _Arjen_
RoadXY wrote: An nice feature would be to have an cloud connection and have Toon set up an VPN to it.
Maybe someday :D
Well, since openvpn is already installed on Toon, one could adapt the config. We can setup Toon as vpn-server or use vpn-client to connect to another server as Eneco so one can access it via that VPN-server.

Re: Toon for Android

Posted: Tue Apr 30, 2019 9:29 pm
by ikookmaar
All nice ideas, but how is (or was) this "Gebruik redirection service" and "Api token" intended to be used?

Re: Toon for Android

Posted: Tue Apr 30, 2019 11:18 pm
by RoadXY
ikookmaar wrote:All nice ideas, but how is (or was) this "Gebruik redirection service" and "Api token" intended to be used?
See my previous reply, using a reverse proxy while using custom headers

Re: Toon for Android

Posted: Tue May 07, 2019 5:57 pm
by anconakip
i want to use this app to. But i need to fill in the "Toon poort". how can i find this?

Re: Toon for Android

Posted: Tue May 07, 2019 8:51 pm
by _Arjen_
It is 10080

Re: Toon for Android

Posted: Wed May 08, 2019 7:53 am
by anconakip
_Arjen_ wrote:It is 10080
Nope. Sorry. The the app say to me: pagina niet gevonden op apparaat.
And if i do 10800 the iT says: geen reactie van apparaat.

Re: Toon for Android

Posted: Wed May 08, 2019 2:09 pm
by WickedMaster
You can try port 80 as well.

Re: Toon for Android

Posted: Wed May 08, 2019 8:11 pm
by mAiden
anconakip wrote:
_Arjen_ wrote:It is 10080
Nope. Sorry. The the app say to me: pagina niet gevonden op apparaat.
And if i do 10800 the iT says: geen reactie van apparaat.
Go to you're iptables (/etc/default/iptables), and look for this line:

Code: Select all

-A HCB-INPUT -p tcp -m tcp --dport 22 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
-A HCB-INPUT -p tcp -m tcp --dport 80 --tcp-flags SYN,RST,ACK SYN -j ACCEPT
-A HCB-INPUT -p tcp -m tcp --dport 10080 --tcp-flags SYN,RST,ACK SYN -j ACCEPT

Re: Toon for Android

Posted: Tue May 14, 2019 9:59 pm
by RoadXY
Anyone using a Nokia Nokia 7.1 (CTL_sprout) on Android 9?
I'v got like 40 crashes on 12 mei at 17:09

I've received a lot of crash reports from this user and I'd like to investigate what goes wrong.

Re: Toon for Android

Posted: Sat May 18, 2019 8:35 pm
by PeJeWe
the app starts, then i fill in the IP and the port 10800,i get the positive connection "aangemeld" then the app crashes and keeps crashing after restart.

Android 8.1

edit:

after firmware update 5.5.7 i get the error wrong host.
ip_adress_toon/qmf/www gives an error 404

Re: Toon for Android

Posted: Sat May 18, 2019 10:24 pm
by mAiden
PeJeWe wrote:the app starts, then i fill in the IP and the port 10800,i get the positive connection "aangemeld" then the app crashes and keeps crashing after restart.

Android 8.1

edit:

after firmware update 5.5.7 i get the error wrong host.
ip_adress_toon/qmf/www gives an error 404
Try to run update-rooted.sh script with the -f parameter.