Toon mobile access

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Post Reply
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon mobile access

Post by oepi-loepi »

gert848 wrote:Hallo Oepi Loepi,

Ik gebruik ook de mobile login maar zie maar 2 tabbladen ipv 3 op de Toon 2
Op mijn Toon1 heb ik 3 tabbladen.
Op beide heb ik Zon op Toon aan staan.

Ik heb al in de json file gekeken maar kan geen vreemde dingen zien.
Als ik IP/mobile#solar in typ dan laat hij de zonne pagina wel zien.

Heb je enig idee waar het aan zou kunnen liggen?

Mvg Gert
De check is of gisteren op enig moment zon gemeten is. Dit aan de hand van de volgende request:

http://ipvantoon/hcb_rrd?action=getRrdD ... 29-04-2021

(dag van gisteren)
ipvantoon is het ip adres van de toon

Als gisteren geen zon is gemeten heb je waarschijnlijk geen panelen en anders wel.
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon mobile access

Post by oepi-loepi »

New release (1.0.19). In thes release the water data will be refreshed as soon as the data has changed. For this change the toonWater app from the toonStore also needs to be updated.
Berendonline
Starting Member
Starting Member
Posts: 6
Joined: Sat Oct 30, 2021 5:57 pm

Re: Toon mobile access

Post by Berendonline »

Hello I have a question. The Toon mobile access works perfect, port forward is set etc. But when I go to http://ipaddress/mobile via my iphone, it doesn't ask for the credentials. I have set a username and password in TSC Mobile Login. In the file: lighttpd.user I also see the correct login details. In the lighttpd file, all lines are marked with a #.

How do I enable the credentials?
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon mobile access

Post by oepi-loepi »

new release 1.0.24

smoke detectors changed, names added
1.0.23

smoke detectors added
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

Berendonline wrote:Hello I have a question. The Toon mobile access works perfect, port forward is set etc. But when I go to http://ipaddress/mobile via my iphone, it doesn't ask for the credentials. I have set a username and password in TSC Mobile Login. In the file: lighttpd.user I also see the correct login details. In the lighttpd file, all lines are marked with a #.

How do I enable the credentials?
Your toon isn't properly rooted. A rooted toon will have a modified lighttpd.conf which enables the user authentication. Please run the 'update-rooted.sh -f' script
Member of the Toon Software Collective
Berendonline
Starting Member
Starting Member
Posts: 6
Joined: Sat Oct 30, 2021 5:57 pm

Re: Toon mobile access

Post by Berendonline »

Strange when I type -update-rooted.sh -f I get the message:

-sh: update-rooted.sh: not found
Berendonline
Starting Member
Starting Member
Posts: 6
Joined: Sat Oct 30, 2021 5:57 pm

Re: Toon mobile access

Post by Berendonline »

Oke ik denk dat ik al weer wat er mis is gegaan. Ik de instructie van dennis bor gebruikt. En sinds ik de toon heb geupdate naar de laatste versie kan ik via Putty geen commando's meer invoeren.
Hij logt wel in als root maar hij herkent geen basis commando's meer

Kan ik ook op 1 of andere manier helemaal opnieuw beginnen met rooten? En zo ja welke instructie/script moet ik dan wel gebruiken?
Of is er iemand die mij op afstand kan helpen?

Alvast bedankt
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

You are missing some basic knowledge...

Download the script towards your Toon. The easiest way is just to use curl from your Toon:

curl -Nks https://raw.githubusercontent.com/ToonS ... -rooted.sh -o /root/update-rooted.sh

Then run the script with:

sh /root/update-rooted.sh -f
Member of the Toon Software Collective
Berendonline
Starting Member
Starting Member
Posts: 6
Joined: Sat Oct 30, 2021 5:57 pm

Re: Toon mobile access

Post by Berendonline »

Yess Thank you that fixed it!
Berendonline
Starting Member
Starting Member
Posts: 6
Joined: Sat Oct 30, 2021 5:57 pm

Re: Toon mobile access

Post by Berendonline »

Hallo ik heb een bugje gevonden. Als ik naar http://ipadres/mobile ga dan vraagt hij nu wel om een wachtwoord op mijn iPhone maar als ik 2 keer op annuleren druk dan ligt hij gewoon door en kan ik de toon als nog bedienen.
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

Re: Toon mobile access

Post by TheHogNL »

Berendonline wrote:Hallo ik heb een bugje gevonden. Als ik naar http://ipadres/mobile ga dan vraagt hij nu wel om een wachtwoord op mijn iPhone maar als ik 2 keer op annuleren druk dan ligt hij gewoon door en kan ik de toon als nog bedienen.
Hier op android en op de pc zie ik dat niet. Weet je zeker dat je niet een cached versie ziet?
Member of the Toon Software Collective
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

Re: Toon mobile access

Post by oepi-loepi »

Ik heb voor de zekerheid ook gecontroleerd en ik kom er niet doorheen, ook niet bij twee keer annuleren klikken. Lijkt dus goed te wetken.
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon mobile access

Post by Ron_nl »

Iphone "cached" nogal lang, ga even naar instellingen - Safari - en dan bijna onderaan: wis geschiedenis en websitedata.
Daar blijft het nogal eens op hangen.

Ron.
Berendonline
Starting Member
Starting Member
Posts: 6
Joined: Sat Oct 30, 2021 5:57 pm

Re: Toon mobile access

Post by Berendonline »

Top dat jullie het ook even hebben gecheckt. Ik ga m’n cache even leeg kieperen en opnieuw proberen.

Thx
Ron_nl
Member
Member
Posts: 78
Joined: Tue Mar 26, 2019 3:20 pm
Location: Friesland

Re: Toon mobile access

Post by Ron_nl »

I've noticed something strange since the last update.

I made some changes to lighttpd.conf to disable the login and saving them ofcourse and rebooted. (like I always do)
A few minutes later all my changes are being reversed, the time stamp of lighttpd.conf has also changed.

Are these files being "refreshed" continually since this last version?

Ron.
Post Reply

Return to “Toon Apps”