Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Hi all,

Version 3.7 available on ToonStore.
Changelog version 3.7:
- avalex.nl implemented (waste provider 24, enter ical calendar id in settings screen)

no need to upgrade if using another waste provider.

Kind regards,

Toonz
member of the Toon Software Collective
glsf91
Member
Member
Posts: 184
Joined: Fri Sep 15, 2017 9:25 pm

Re: Toon app: Afvalwijzer

Post by glsf91 »

Toonz wrote: As soon as someone has a good solution to make http POST calls from Toon I am more than happy to integrate that in the app.
Curl can do POST calls. Can you not use curl?
Don't know if this can integrate with your app.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

glsf91 wrote: Curl can do POST calls. Can you not use curl?
Don't know if this can integrate with your app.
If it works you can use it together with a cron job, but it is to be seen case by case whether the http(s) response is usable.
member of the Toon Software Collective
newwolf
Starting Member
Starting Member
Posts: 41
Joined: Thu Aug 23, 2012 9:30 pm

Re: Toon app: Afvalwijzer

Post by newwolf »

Could you please add "Area reiniging" ?

https://www.area-afval.nl/voor-bewoners ... alkalender
Postcode: 7861aa
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

newwolf wrote:Could you please add "Area reiniging" ?

https://www.area-afval.nl/voor-bewoners ... alkalender
Postcode: 7861aa
Yes. You will need to manually download the ical file once a year and copy it over to Toon.
Will do in next release....
member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

newwolf wrote:Could you please add "Area reiniging" ?

https://www.area-afval.nl/voor-bewoners ... alkalender
Postcode: 7861aa
Hi all,

Afvalwijzer 3.8 is available on ToonStore.

Changelog version 3.8:
- area-afval.nl implemented (waste provider 25, download ical from their website and copy the file to Toon as /root/waste/waste_calendar.ics
The file contains the full year calendar, so repeat the download once a year when next year's calendar is published

No need to upgrade for existing users.

Kind regardz,

Toonz
member of the Toon Software Collective
newwolf
Starting Member
Starting Member
Posts: 41
Joined: Thu Aug 23, 2012 9:30 pm

Re: Toon app: Afvalwijzer

Post by newwolf »

Toonz wrote:
newwolf wrote:Could you please add "Area reiniging" ?

https://www.area-afval.nl/voor-bewoners ... alkalender
Postcode: 7861aa
Hi all,

Afvalwijzer 3.8 is available on ToonStore.

Changelog version 3.8:
- area-afval.nl implemented (waste provider 25, download ical from their website and copy the file to Toon as /root/waste/waste_calendar.ics
The file contains the full year calendar, so repeat the download once a year when next year's calendar is published

No need to upgrade for existing users.

Kind regardz,

Toonz
Thanks Toonz
jnieuw
Starting Member
Starting Member
Posts: 43
Joined: Fri Oct 13, 2017 2:41 pm

Re: Toon app: Afvalwijzer

Post by jnieuw »

Suddenly, since an (automatic?) reboot last night, afvalkalender (v3.8) isn't displaying anymore.
Downloads are from a local http server, that can be pinged/and the file can be downloaded using wget. Also the file wasteDates.txt is available in /var/volatile/tmp and contains data.

btw. buienradar (v8.3.4) is also not working anymore. (no data displayed, but same issue: ping is working, don't know where the files are stored),

I've set ToonStore to automaticly update the apps, so I think it rebooted toon last night.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

Weird, buienradar is not storing weather data, it is retrieved every 5 minutes or so from https://xml.buienradar.nl/.

Could be that internet access is broken from Toon or that the needed CA certificates are not available on Toon anymore.

You could try to remove the waste collection app and the buienradar app through ToonStore and install again afterwards.
member of the Toon Software Collective
jnieuw
Starting Member
Starting Member
Posts: 43
Joined: Fri Oct 13, 2017 2:41 pm

Re: Toon app: Afvalwijzer

Post by jnieuw »

Are there any logs somewhere I can check?
jnieuw
Starting Member
Starting Member
Posts: 43
Joined: Fri Oct 13, 2017 2:41 pm

Re: Toon app: Afvalwijzer

Post by jnieuw »

Ok, when I do this:

Code: Select all

wget https://xml.buienradar.nl/ 
I get:

Code: Select all

--2018-04-16 16:49:59--  https://xml.buienradar.nl/
Resolving xml.buienradar.nl... 104.93.83.24, 104.93.83.81, 2a02:26f0:fe:29d::5ddd, ...
Connecting to xml.buienradar.nl|104.93.83.24|:443... connected.
OpenSSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Unable to establish SSL connection.
Edit:
Curl works.

Code: Select all

curl  https://xml.buienradar.nl/ 
jnieuw
Starting Member
Starting Member
Posts: 43
Joined: Fri Oct 13, 2017 2:41 pm

Re: Toon app: Afvalwijzer

Post by jnieuw »

Removed buienradar, rebooted, reinstalled, cannot even select weatherstation(?)
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Afvalwijzer

Post by Toonz »

that's because it cannot read the https://xml.buienradar.xml file. At first retrieval it collects all available weatherstations and populates the selections screen.
Have you recently upgraded the firmware? I suspect your CA certificates repository has screwed up somehow, blocking SSL access to those sites.

Can you reinstall the certificates again via the attached ipk? No need to restart the gui afterwards, should work rightaway.
Attachments
tsc-certificates_1.0.1-r0_qb2.zip
(8.39 KiB) Downloaded 340 times
member of the Toon Software Collective
BOverdevest
Starting Member
Starting Member
Posts: 16
Joined: Mon Feb 19, 2018 11:45 pm
Location: Delft

Re: Toon app: Afvalwijzer

Post by BOverdevest »

Toonz wrote: Version 3.7 available on ToonStore.
Changelog version 3.7:
- avalex.nl implemented (waste provider 24, enter ical calendar id in settings screen)
Werking fine! Thanks



Sent from my iPhone using Tapatalk
B Overdevest
Rooted Toon, Raspberry 3B+, Domoticz
jnieuw
Starting Member
Starting Member
Posts: 43
Joined: Fri Oct 13, 2017 2:41 pm

Re: Toon app: Afvalwijzer

Post by jnieuw »

Reinstalled the certificates, same problem (cannot change weerstation and no data)
Rebooted, same problem.
Removed buienradar, rebooted, reinstalled buienrader (using ToonStore), same problem.

Afvalkalender is using HTTP access b.t.w. so no certificates there.
Also the file wastedates.txt is there, but somehow not read by afvalkalender. Can it be a permission or corrupted file problem?
Post Reply

Return to “Toon Apps”