Toon app: Afvalwijzer

Forum about forum-provided applications on Toon

Moderators: marcelr, Toonz, TheHogNL, TerrorSource

Re: Toon app: Afvalwijzer

Postby Toonz » Sat Mar 16, 2019 4:23 pm

tripper1 wrote:In my environment ROVA Afvalkalender.htm is the references, so I copied the htm file to the /root/waste location, however the app is popping up with a white screen with no information. It looks like that the app could not access or find the Afval Kalender.htm


ROVA did change the default name of the saved file. The app is expecting : /root/waste/ROVA Afvalkalender.htm
However, when you save the file it proposes the name ROVA Inzamelkalender.htm.
Is this your issue? If so, just rename the file in /root/waste and you are good to go (note the filename and path are case sensitive)
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1555
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby menno000 » Sat Mar 16, 2019 4:35 pm

Ik zit bij Acv postcode 6866AB
Ik krijg dit niet werkend in de Afvalwijzer, iemand ideeën?
https://acv-afvalkalender.nl/
menno000
Starting Member
Starting Member
 
Posts: 2
Joined: August 2014

Re: Toon app: Afvalwijzer

Postby tripper1 » Sat Mar 16, 2019 6:38 pm

I just downloaded again the ROVA Inzamelkalender.htm, renamed it to ROVA Afvalkalender.htm, copied the file to the /root/waste directory.
Opened the Waste App, went to instellen, changed the info so that Afvalverwker = 14, pushed opslaan, The screen appears with "Bezig met ophalen gegevens(>10 seconden), after around 10 seconds the message disappear and a blank white screen is the result. No info on the screen except the heading "Komende afval ophaaldagen". No error message or whatever that indicates what went wrong. When I click on the ROVA Afvalkalender.htm in a Windows 10 environment, my afval data is in the screen, so the htm file looks OK. But the data will not displayed, or the app could not open / find or access the htm file.

I am relative new in the Toon environment but following the info in this forum it looks that everything is Ok. All the other Apps (buienradar, regenradar, kalender, file info, etc. is working fine so that point me to the fact that opening the ROVA Afvalkalender.htm is the issue.

Do you have any other idea, what could be this issue.
tripper1
Starting Member
Starting Member
 
Posts: 6
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby tripper1 » Sat Mar 16, 2019 7:10 pm

I have solved the problem. When I started I created the ROVA Afvalkalender.htm in Firefox. Now trying to figure out the problem I have created the ROVA Afvalkalender.htm in Internet Explorer 11. That htm file was much smaller in size than the Firefox file. I uploaded the Internet Explorer ROVA Afvalkalender.htm file and now it works. Some where there are differences in how browsers are saving a webpage.

Thanks for your help.
tripper1
Starting Member
Starting Member
 
Posts: 6
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Sat Mar 16, 2019 9:39 pm

Good to hear, my next question would indeed have been to ask which browser you are using......
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1555
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby glsf91 » Thu Mar 21, 2019 7:56 pm

Toonz wrote:Nice find, thx...


I also tried my change (removing conselog lines in Afvalalert) on a Toon on 5.04. But looks like it is still not working. Maybe of .qmlc files?
I see also .qmlc files. Can you tell me what this is?
glsf91
Member
Member
 
Posts: 157
Joined: September 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Thu Mar 21, 2019 9:54 pm

Qmlc are compiled runtime files to improve performance. When you delete the qmlc and jsc files these will be created again at next gui restart
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1555
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby glsf91 » Fri Mar 22, 2019 3:52 pm

Toonz wrote:Qmlc are compiled runtime files to improve performance. When you delete the qmlc and jsc files these will be created again at next gui restart


Thanks.
It was also not working on another Toon because of this:
Toonz wrote:
Toonz wrote:
glsf91 wrote:I see that provider 15 is not working anymore. The url is still the same, example: https://www.afvalalert.nl/kalender/8501ZJ/33.


If you extract the file from the attached zip file and copy the file DSTRootCaX3.pem to your toon in the /etc/ssl/certs folder (might need a reboot to become effective, not sure) it should be fine again.
I will include this certificate in future releases as well.

Kind regardz,

Toonz


Can you add this indeed to the next release ?
glsf91
Member
Member
 
Posts: 157
Joined: September 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Sun Mar 24, 2019 11:48 am

Hi all,

I just published version 4.20 (small maintenance release). No need to upgrade if the app is working fine currently.
Changelog version 4.20:
- added the ssl certificate for alvalalert.nl
- code maintenance: removed all console.log statements. Replaced excessive spaces by tabs.
- added waste category for mijnafvalwijzer.nl
- removed dependencies on wget and cron. These apps will not be installed automatically anymore.

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1555
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby RobbieT » Mon Mar 25, 2019 8:29 pm

Perhaps i'm missing something but how do I get it to work that the icons are showing on the dim screen? (I have the "afvalwijzer" tile on the first screen).
RobbieT
Starting Member
Starting Member
 
Posts: 19
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Mar 25, 2019 9:02 pm

Toonz wrote:Hi all,

I just published version 4.20 (small maintenance release). No need to upgrade if the app is working fine currently.
Changelog version 4.20:
- added the ssl certificate for alvalalert.nl
- code maintenance: removed all console.log statements. Replaced excessive spaces by tabs.
- added waste category for mijnafvalwijzer.nl
- removed dependencies on wget and cron. These apps will not be installed automatically anymore.

Kind regardz,

Toonz


Sorry for the delay but 4.20 is now really available in ToonStore with one more addition:
- provider 22 (afvalstoffendienst.nl) working again, enter zip code/housenr in config screen

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1555
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby Toonz » Mon Mar 25, 2019 9:10 pm

RobbieT wrote:Perhaps i'm missing something but how do I get it to work that the icons are showing on the dim screen? (I have the "afvalwijzer" tile on the first screen).


Icons should show from 18:01 onwards on the day before the actual waste collection date in dim state (to hint you to put the garbage outside)
Icons for waste categories to be collected today will disappear at 18:01 (as they should have been collected by now)
If no waste to be collected in that timeframe the tile stays empty in dim state.

As it is a 'waste' of a tile position alternatively you can show the waste icons in the thermostatpanel, freeing up the tile position.
Enable this by flipping the switch at 'Afvalicons tonen in thermostaatpanel' in the config screen.

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1555
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby RobbieT » Tue Mar 26, 2019 11:05 am

Toonz wrote:
RobbieT wrote:Perhaps i'm missing something but how do I get it to work that the icons are showing on the dim screen? (I have the "afvalwijzer" tile on the first screen).


Icons should show from 18:01 onwards on the day before the actual waste collection date in dim state (to hint you to put the garbage outside)
Icons for waste categories to be collected today will disappear at 18:01 (as they should have been collected by now)
If no waste to be collected in that timeframe the tile stays empty in dim state.

As it is a 'waste' of a tile position alternatively you can show the waste icons in the thermostatpanel, freeing up the tile position.
Enable this by flipping the switch at 'Afvalicons tonen in thermostaatpanel' in the config screen.

Kind regardz,

Toonz


Well the strange part was that the icons weren't showing at all in the dim state. Yesterday i've updated to firmware 5.2.11? and because something went wrong I had to do an update-rooted forcing to the new firmware and reinstall the gui. After that the icons are showing. problem solved :-)
RobbieT
Starting Member
Starting Member
 
Posts: 19
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby tripper1 » Tue Apr 02, 2019 1:12 pm

For everybody in the ROVA domain of waste calandars.

This week I figured out that the ROVA has again changed the name and format of their ROVA Inzamelkalender. When I saved the ROVA inzamelkalender as complete page in InternetExplorer 11, I saw that the name and format has been changed again.

The current name is 'ROVA Inzamelkalender_xhtml'.

So they changed the name as wel as the format, compared to the name and html format of last week. Xhtml is not the same as html.
Renaming the ROVA Inzamelkalender_xhtml to ROVA Afvalkalender and copying to Toon results in a white screen without any info. This file could not be read by Toon's Afvalwijzer at this moment.

So I downloaded my personal ROVA Inzamelkalender as pdf and manually put all the wastecollection data for 2019, with the type of waste in the text file called 'extraDates.txt' with Notepad as earlier described in this forum.

Copying the extraDates.txt file to the ///root/waste directory and changing the waste configuration so that the extra bestand function is referring to that file. 'File:///root/waste/extraDates.txt' without the quotes, is the referring info. Setting the number for wastecollectors at 0 and now all dates are popping up well and the waste icons I created myself are showing on the Toon screen.

This works great.
tripper1
Starting Member
Starting Member
 
Posts: 6
Joined: March 2019

Re: Toon app: Afvalwijzer

Postby MyZ » Tue Apr 02, 2019 10:38 pm

Toonz wrote:Don't worry, it is not a bug, it is just a not yet implemented function :-).
Around midnight the status is being reset indeed, but I am pretty sure this was also the case with previous firmwares.

Could it be that you were running a very old version of the afvalwijzer app? When upgrading to 5.0.4 all installed apps have been refreshed to the latest version automatically to ensure compatibility with firmware 5.

I will see if I can fix it in the next release.


Hi Toonz, is this still anywhere on your roadmap?
MyZ
Member
Member
 
Posts: 53
Joined: June 2018

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest