Toon app: Afvalwijzer

Forum about the tweaking of the Eneco Toon.

Moderator: marcelr

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Apr 09, 2018 3:31 pm

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
Toonz
Advanced Member
Advanced Member
 
Posts: 564
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby glsf91 » Mon Apr 09, 2018 6:13 pm

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.
glsf91
Starting Member
Starting Member
 
Posts: 36
Joined: September 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Apr 09, 2018 6:39 pm

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.
Toonz
Advanced Member
Advanced Member
 
Posts: 564
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby newwolf » Wed Apr 11, 2018 8:02 pm

Could you please add "Area reiniging" ?

https://www.area-afval.nl/voor-bewoners ... alkalender
Postcode: 7861aa
newwolf
Starting Member
Starting Member
 
Posts: 7
Joined: August 2012

Re: Toon app: Afvalwijzer

Postby Toonz » Wed Apr 11, 2018 11:10 pm

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....
Toonz
Advanced Member
Advanced Member
 
Posts: 564
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Toonz » Sat Apr 14, 2018 1:58 pm

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
Toonz
Advanced Member
Advanced Member
 
Posts: 564
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby newwolf » Sun Apr 15, 2018 10:15 am

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
newwolf
Starting Member
Starting Member
 
Posts: 7
Joined: August 2012

Re: Toon app: Afvalwijzer

Postby jnieuw » Mon Apr 16, 2018 3:45 pm

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.
jnieuw
Starting Member
Starting Member
 
Posts: 26
Joined: October 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Apr 16, 2018 5:38 pm

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.
Toonz
Advanced Member
Advanced Member
 
Posts: 564
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby jnieuw » Mon Apr 16, 2018 5:40 pm

Are there any logs somewhere I can check?
jnieuw
Starting Member
Starting Member
 
Posts: 26
Joined: October 2017

Re: Toon app: Afvalwijzer

Postby jnieuw » Mon Apr 16, 2018 5:52 pm

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: 26
Joined: October 2017

Re: Toon app: Afvalwijzer

Postby jnieuw » Mon Apr 16, 2018 6:14 pm

Removed buienradar, rebooted, reinstalled, cannot even select weatherstation(?)
jnieuw
Starting Member
Starting Member
 
Posts: 26
Joined: October 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Apr 16, 2018 9:54 pm

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 2 times
Toonz
Advanced Member
Advanced Member
 
Posts: 564
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby BOverdevest » Tue Apr 17, 2018 5:03 am

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
BOverdevest
Starting Member
Starting Member
 
Posts: 10
Joined: February 2018
Location: Delft

Re: Toon app: Afvalwijzer

Postby jnieuw » Tue Apr 17, 2018 7:27 am

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?
jnieuw
Starting Member
Starting Member
 
Posts: 26
Joined: October 2017

PreviousNext

Return to Eneco Toon as Domotica controller

Who is online

Users browsing this forum: hanplo and 1 guest