Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
-
- Member
- Posts: 55
- Joined: Wed Mar 11, 2020 10:50 am
Re: Toon app: Afvalwijzer
Graag gedaan [emoji16][emoji16]
Verstuurd vanaf mijn SM-G950F met Tapatalk
Verstuurd vanaf mijn SM-G950F met Tapatalk
Re: Toon app: Afvalwijzer
Hi all,Toonz wrote:Hi all,
inmiddels is duidelijk wat het probleem is.
Het probleem treed op als een niet meer bestaande provider wordt geselekteerd: bijvoorbeeld 13,22, 28 of 31.
Tijdens de installatie wordt geprobeerd het script voor die niet meer bestaande provider te downloaden.
In plaats van dat er niets gebeurd komt er nu "404 - not found" in de javascript file te staan. Daardoor start de app niet meer op.
We gaan dit onder de motorkap uiteraard aanpassen, ik zal hier laten weten wanneer dat is gebeurd.
In de tussentijd kan je het ook handmatig zelf oplossen door in de settings file /mnt/data/tsc/wastecollection.userSettings.json de afvalverwerker te wijzigen in een bestaande waarde (zie de volledige lijst een paar posts terug).
Een aantal denk ik vaker voorkomende gevallen:
"13" (suez.nl) moet worden "3" (prezero.nl)
"22" (afvalstoffendienstkalender.nl) moet worden "1" (mijnafvalwijzer.nl)
"28" (rd4Info.nl) moet worden "17" (nieuwe rd4info.nl)
"31" (mijnafvalwijzer.nl oud) moet worden "1" (nieuwe mijnafvalwijzer.nl)
Als je deze wijziging hebt opgeslagen kan je de app verwijderen via de toonstore en later opnieuw toevoegen.
Dan zal het juiste script worden opgehaald en werkt de app weer (voor de zekerheid kan je nog naar het instellingen scherm gaan om te checken of alle parameters goed staan ingevuld)
(Met dank aan "Bruce de boss" voor de teamviewer sessie )
Toonz
Dit probleem is nu opgelost.
Als je de app al eerder had geinstalleerd maar nu geen tegel meer kan plaatsen op je homescreen, dan moet je de afvalwijzer app eerst verwijderen via de Toonstore.
Daarna de app opnieuw installeren via de Toonstore.
De app zal dan wel gewoon opstarten met de meegeleverde afvalverwerker 42 (blink.nl).
Als je de tegel op het homescreen zet, zal die snel rood kleuren. Als je dan op de tegel drukt kom je direct in het configuratiescherm waar je alsnog de goede afvalverwerker kan selekteren.
Kind regardz,
Toonz
member of the Toon Software Collective
-
- Starting Member
- Posts: 6
- Joined: Tue Mar 28, 2017 12:58 pm
Re: Toon app: Afvalwijzer
My waste collector/"gemeente" now also uses the ximmio backend. Is it possible to add Gemeente Westland as a waste provider?
Zip code: 2291
And since the 5.1 version my custom waste dates (and birthdays) are not being loaded anymore. Do I need to re-upload the file to the Toon?
Thanks
Zip code: 2291
And since the 5.1 version my custom waste dates (and birthdays) are not being loaded anymore. Do I need to re-upload the file to the Toon?
Thanks
Re: Toon app: Afvalwijzer
hmm, later this week was very quick this time
Added provider 44 , gemeentewestland.nl.
On the Toon goto the afvalkalender screen, press 'Instellingen' and change the afvalverwerker to "44" and press Opslaan.
The app will now download the javascript file for provider 44 and reboot to activate it.
On your PC goto https://www.gemeentewestland.nl/afval/huisvuil/ and go to the 'Afvalkalender' and login with your zipcode/housenr.
When you see your calendar data, press 'Zet in agenda' at the right top of the month calendar
press 'Kopieer' to copy the full url to your calendar ICS file.
On the Toon you need to edit the file /mnt/data/tsc/wastecollection.userSettings.json
Paste the full url between the two "" after the "ICSUrl" tag.
Reboot the gui again to use the new url : Menu --> Instellingen --> TSC --> Restart Gui
Let me know if your custom dates are now showing again, if not I will look into that as well.
Kind regardz,
Toonz
Added provider 44 , gemeentewestland.nl.
On the Toon goto the afvalkalender screen, press 'Instellingen' and change the afvalverwerker to "44" and press Opslaan.
The app will now download the javascript file for provider 44 and reboot to activate it.
On your PC goto https://www.gemeentewestland.nl/afval/huisvuil/ and go to the 'Afvalkalender' and login with your zipcode/housenr.
When you see your calendar data, press 'Zet in agenda' at the right top of the month calendar
press 'Kopieer' to copy the full url to your calendar ICS file.
On the Toon you need to edit the file /mnt/data/tsc/wastecollection.userSettings.json
Paste the full url between the two "" after the "ICSUrl" tag.
Reboot the gui again to use the new url : Menu --> Instellingen --> TSC --> Restart Gui
Let me know if your custom dates are now showing again, if not I will look into that as well.
Kind regardz,
Toonz
member of the Toon Software Collective
-
- Starting Member
- Posts: 6
- Joined: Tue Mar 28, 2017 12:58 pm
Re: Toon app: Afvalwijzer
After some attempts the my waste provider selection was accepted and stored (needed to enter and reboot a few times). After copying the link all worked as expected.
The custom dates link that was visable had disappeard, but since I now get the normal waste date automagically I created a new myDates.txt file with birthdays and alike.
I need some more time to figure out what I am doing wrong as I see the dates in the overview, just without any labels, just a "-" symbol.
Thanks for your fast intergration of my waste provider!
The custom dates link that was visable had disappeard, but since I now get the normal waste date automagically I created a new myDates.txt file with birthdays and alike.
I need some more time to figure out what I am doing wrong as I see the dates in the overview, just without any labels, just a "-" symbol.
Thanks for your fast intergration of my waste provider!
Re: Toon app: Afvalwijzer
to get a description with your custom dates, you also need to provide a second file with the correct labels (see the first post in this topic for an explanation).
I will look into the issue that you don't see the custom dates if there is no waste provider data at all.
I will look into the issue that you don't see the custom dates if there is no waste provider data at all.
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Is het mogelijk dat de Afvalstoffendienstkalender (22) weer terug komt? De gemeente Den Bosch zit helaas niet in verwerker 1 verwerkt
Re: Toon app: Afvalwijzer
Afvalstoffendienst heeft hun kalendergegevens verstopt achter een api waarvoor je een api key nodig hebt.
Ze staan echter niet toe dat die gebruikt wordt door derden (verschillende collega's van andere home automation projekten zijn al gesommeerd die api key te verwijderen uit hun applicaties and van github).
De enige oplossing die ik zie is dat je zelf je kalender bekijkt via de browser en dan de webpagina saved op de pc en kopieert naar de Toon.
Dit zou je dan iedere jaar moeten herhalen of zo vaak de kalender wijzigt.
Is niet ideaal maar beter dan niets.
Ik zal provider 22 weer in het leven roepen met deze methode (niet meer vandaag: eerst F1 en voetbal kijken )
Ze staan echter niet toe dat die gebruikt wordt door derden (verschillende collega's van andere home automation projekten zijn al gesommeerd die api key te verwijderen uit hun applicaties and van github).
De enige oplossing die ik zie is dat je zelf je kalender bekijkt via de browser en dan de webpagina saved op de pc en kopieert naar de Toon.
Dit zou je dan iedere jaar moeten herhalen of zo vaak de kalender wijzigt.
Is niet ideaal maar beter dan niets.
Ik zal provider 22 weer in het leven roepen met deze methode (niet meer vandaag: eerst F1 en voetbal kijken )
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Hi all,
I added provider 22 - afvalstoffendienst.nl.
Unfortunately Toon cannot retrieve the calendar directly and needs to be copied manually to Toon once a year (typically in January).
Login at afvalstoffen.nl with your zipcode/housenr to get to your calendar page.
In your browser, right-click somewhere on the page and save it locally on your PC via 'Save as' as 'Webpage, complete'.
Copy this file to Toon as "/root/waste/Afvalstoffendienst - Afvalkalender.html". You might need to create the folder waste if not existing already.
On Toon, go to the settings page of the app, select provider 22.
Toon will now download the script and restart the gui when you press 'Opslaan'.
Kind regardz,
Toonz
I added provider 22 - afvalstoffendienst.nl.
Unfortunately Toon cannot retrieve the calendar directly and needs to be copied manually to Toon once a year (typically in January).
Login at afvalstoffen.nl with your zipcode/housenr to get to your calendar page.
In your browser, right-click somewhere on the page and save it locally on your PC via 'Save as' as 'Webpage, complete'.
Copy this file to Toon as "/root/waste/Afvalstoffendienst - Afvalkalender.html". You might need to create the folder waste if not existing already.
On Toon, go to the settings page of the app, select provider 22.
Toon will now download the script and restart the gui when you press 'Opslaan'.
Kind regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
hi all,
version 5.2 is available in the ToonStore.
Changelog:
- the tile shows the next three collection dates in dim state if no waste is collected that day.
If waste is collected then only the waste icon is shown.
In the previous version the tile was empty in dim state if no waste is collected
kind regardz,
Toonz
version 5.2 is available in the ToonStore.
Changelog:
- the tile shows the next three collection dates in dim state if no waste is collected that day.
If waste is collected then only the waste icon is shown.
In the previous version the tile was empty in dim state if no waste is collected
kind regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Great app ,I use it with waste collector : 1
This entry was missing in wastecollectionProvider.js.
case "papiercont": return 2;
Now it shows : Papier/Karton
This entry was missing in wastecollectionProvider.js.
case "papiercont": return 2;
Now it shows : Papier/Karton
Re: Toon app: Afvalwijzer
Thanks, I will include it in the next update for this waste provider.
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Arnhem has changed again
It changed to: https://inzamelwijzer.prezero.nl
Keep up the good work! Love the app
It changed to: https://inzamelwijzer.prezero.nl
Keep up the good work! Love the app
Re: Toon app: Afvalwijzer
This is the time of the year indeed when cities change their IT contracts with waste companies.
Usually a busy period for me .
With the new setup of the app I can just change individual wasteprovider scripts when needed without the need for an app releases each time.
And luckily for you prezero.nl was added recently as well .
Just hoping they use the same waste descriptions as in other cities, there is no standardisation of these descriptions across NL unfortunately.
Kind regardz,
Toonz,
Usually a busy period for me .
With the new setup of the app I can just change individual wasteprovider scripts when needed without the need for an app releases each time.
And luckily for you prezero.nl was added recently as well .
Just hoping they use the same waste descriptions as in other cities, there is no standardisation of these descriptions across NL unfortunately.
Kind regardz,
Toonz,
member of the Toon Software Collective