android app TOON

Everything about external control, apps, VNC, etc goes here.

Moderators: marcelr, TheHogNL, Toonz

Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: android app TOON

Post by Martin101010 »

Marcel,

There’s no rush, but if you want to, I would be very grateful as this is way above my head.

Regards,

Martin
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: android app TOON

Post by marcelr »

I'll look into it, but it will take time. It requires a rebuild of lighttpd and libssl. The latter is a rather nasty one.
FunFair
Starting Member
Starting Member
Posts: 42
Joined: Sun Oct 01, 2017 11:40 am

Re: android app TOON

Post by FunFair »

My phone reports the app is malware. I've got a Samsung S7 with android 7.0.
If I ignore and install the app doesn't seem to work with my rooted toon with Firmware 4.10. It can't make a connection.

I can ready Toon from the browser just fine.
ams123
Member
Member
Posts: 73
Joined: Thu Aug 31, 2017 5:27 pm
Location: Amersfoort

Re: android app TOON

Post by ams123 »

first i say great work

On my local network it work fine but from the internet i not can connect how i have to set my hackt toon to work from outside my network
Toon solarpannels
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: android app TOON

Post by Martin101010 »

FunFair wrote:My phone reports the app is malware. I've got a Samsung S7 with android 7.0.
If I ignore and install the app doesn't seem to work with my rooted toon with Firmware 4.10. It can't make a connection.

I can ready Toon from the browser just fine.
Funfair,

Are you on the same lan with your (wifi) phone?
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: android app TOON

Post by Martin101010 »

ams123 wrote:first i say great work

On my local network it work fine but from the internet i not can connect how i have to set my hackt toon to work from outside my network
The firewall of your internet router is in between and you need to use the external IP address.
First you have to port forward port 80 in your router from the Toon IP address to the external IP address and then set the external IP address in the app.

I do not recommend this as this is not a secure connection. Everybody can access your Toon. SSL and Authentication is not yet implemented.
Personally, I use a VPN connection between my phone and local lan.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: android app TOON

Post by marcelr »

@Martin101010

openssl/libssl (the latest and greatest) is more or less ready. Turned out to be a no-brainer :-)
lighttpd is next in line, but not until the weekend ..
Martin101010
Starting Member
Starting Member
Posts: 38
Joined: Thu Nov 23, 2017 10:12 pm

Re: android app TOON

Post by Martin101010 »

marcelr wrote:@Martin101010

openssl/libssl (the latest and greatest) is more or less ready. Turned out to be a no-brainer :-)
lighttpd is next in line, but not until the weekend ..
That's good News, but no stress.

Verstuurd vanaf mijn SM-G950F met Tapatalk
vlabianski
Starting Member
Starting Member
Posts: 3
Joined: Tue Jan 23, 2018 1:11 pm

Re: android app TOON

Post by vlabianski »

I also wrote an Android app for the rooted Toon, which can be found here:

https://github.com/fabianblom/Toon-Android

I wrote this app a couple of months ago not knowing that there was already an app created for the rooted Toon.
This app works on my rooted toon but it is possible that it's not compatible with every version.
Please let me know if there are any questions.
ams123
Member
Member
Posts: 73
Joined: Thu Aug 31, 2017 5:27 pm
Location: Amersfoort

Re: android app TOON

Post by ams123 »

vlabianski wrote:I also wrote an Android app for the rooted Toon, which can be found here:

https://github.com/fabianblom/Toon-Android

I wrote this app a couple of months ago not knowing that there was already an app created for the rooted Toon.
This app works on my rooted toon but it is possible that it's not compatible with every version.
Please let me know if there are any questions.
not work for me
Toon solarpannels
aabre
Starting Member
Starting Member
Posts: 42
Joined: Sun Nov 05, 2017 1:26 pm
Location: Schiedam

Re: android app TOON

Post by aabre »

vlabianski wrote:I also wrote an Android app for the rooted Toon, which can be found here:

https://github.com/fabianblom/Toon-Android

I wrote this app a couple of months ago not knowing that there was already an app created for the rooted Toon.
This app works on my rooted toon but it is possible that it's not compatible with every version.
Please let me know if there are any questions.
Here not working too, software version Toon is 4.8.25
lxz
Starting Member
Starting Member
Posts: 16
Joined: Mon Nov 13, 2017 12:45 pm

Re: android app TOON

Post by lxz »

vlabianski wrote:I also wrote an Android app for the rooted Toon, which can be found here:

https://github.com/fabianblom/Toon-Android

I wrote this app a couple of months ago not knowing that there was already an app created for the rooted Toon.
This app works on my rooted toon but it is possible that it's not compatible with every version.
Please let me know if there are any questions.
I'm running on 4.10.6 and it's not working either.

Also, on github I see the following about external connections: [/quote]Host a webservice within your network that accepts only requests that contains the Api-Key. Use a port forwarding rule to forward to the script.[/quote]
Do you have an example of how to run a webservice/script like that?
vlabianski
Starting Member
Starting Member
Posts: 3
Joined: Tue Jan 23, 2018 1:11 pm

Re: android app TOON

Post by vlabianski »

Okay, it supposed to work when you fill in the following in the settings screen when youre connected to the same network as your Toon or VPN ofcourse (uncheck redirection service checkbox):
Toon URL: http://ipaddress:port, for example http://192.168.1.1:12345
After entering this information you need to kill the app and restart it.
I have succesfully tested the app on my own phone.
I created the following script to redirect traffic to Toon when the http header filled in the app matches the one on the webservice (check redirection service checkbox and enter token in the settings screen on the app):
https://pastebin.com/0JpGV1T7
It's simple but it does the job.
Is the app crashing or is it just not showing any data?
Rudolf
Member
Member
Posts: 136
Joined: Mon Dec 04, 2017 8:50 pm

Re: android app TOON

Post by Rudolf »

It's working better now; the app shows the correct data. :D
(The example in the app doesn't mention http://, I left it out because I thought it wasn't required...)

But it crashes right away, all the time... :cry:
vlabianski
Starting Member
Starting Member
Posts: 3
Joined: Tue Jan 23, 2018 1:11 pm

Re: android app TOON

Post by vlabianski »

Thanks for the feedback.
I suspect it crashes because the app expects the device info to be in format device2_1/device2_2 etc
while a lot of people probably use 3_1/3_2 (see https://goo.gl/oizDi8).
I will see if I can do something about it in the evening/tomorrow because I'm currently at work.
Post Reply

Return to “Toon external control”