Toon app: Afvalwijzer
Moderators: marcelr, TheHogNL, Toonz
- madpatrick
- Member
- Posts: 104
- Joined: Wed Dec 06, 2017 9:52 pm
- Location: Zuid-Holland
Re: Toon app: Afvalwijzer
Hi Toonz,
I'm using my own icons (as you can see above), but after an update these are replaced by default package icons.
Can this be changed somehow that the icons will not being changed after an update ?
I'm using my own icons (as you can see above), but after an update these are replaced by default package icons.
Can this be changed somehow that the icons will not being changed after an update ?
Re: Toon app: Afvalwijzer
Hello ToonZ,Toonz wrote:ok, but this processing needs to be done on your PC/webserver as Toon has no browser capabilities.
Would be nice if you can automate this process to have a text based calendar file (flat text, xml, ical format, whatever) available on your own webserver which can be retrieved by Toon.
I was just checking my google calander, is it also possible to link the afvalwijzer with the google calander?
I see you have many options for google calander, export or create a link etc.
Re: Toon app: Afvalwijzer
Can be done in a future release.madpatrick wrote:Hi Toonz,
I'm using my own icons (as you can see above), but after an update these are replaced by default package icons.
Can this be changed somehow that the icons will not being changed after an update ?
I am thinking of creating a setting which allows you to select a custom set of standard icons....
Last edited by Toonz on Tue Apr 03, 2018 7:40 pm, edited 1 time in total.
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Not directly because you need to login at Google, without a browser and with Toon's crappy javascript implementation this is not doable (at least I don't know how to do this).michel30 wrote: I was just checking my google calander, is it also possible to link the afvalwijzer with the google calander?
I see you have many options for google calander, export or create a link etc.
Exported as an Ical will be ok I guess, let me have a look again....
member of the Toon Software Collective
- madpatrick
- Member
- Posts: 104
- Joined: Wed Dec 06, 2017 9:52 pm
- Location: Zuid-Holland
Re: Toon app: Afvalwijzer
Maybe you can use the same directory the other icons (A-Z).Toonz wrote:Can be done in a future release.madpatrick wrote:Hi Toonz,
I'm using my own icons (as you can see above), but after an update these are replaced by default package icons.
Can this be changed somehow that the icons will not being changed after an update ?
I am thinking of creating a setting which allows you to select s custom set of standard icons....
if they are present, this will overrule the standard icons.
Re: Toon app: Afvalwijzer
ok, getting anywhere now. Found out that you can simply retrieve your google calendar as an ics file without logging in using the following https call:michel30 wrote:I was just checking my google calander, is it also possible to link the afvalwijzer with the google calander?
I see you have many options for google calander, export or create a link etc.
https://calendar.google.com/calendar/ic ... /basic.ics
I changed my private key to zeroes .
You can get this link for your own agenda by clicking 'Settings' in Google Calendar.
In the left column click on the agenda you want to make available.
Scroll down to copy the link under 'Secret address in Ical format'
This can be read by Toon directly, so that's good.
Now the multi-million dollar question, what to do with it ?
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Good question,
Birthday or dentist
Birthday or dentist
-
- Administrator
- Posts: 494
- Joined: Thu May 04, 2017 9:28 pm
Re: Toon app: Afvalwijzer
Hopefully it can be downloaded somewhat automagically, maybe update once a day/week or so.
Re: Toon app: Afvalwijzer
That is not the issue, Toon can read the calendar directly at any time. Question is, how to use it on Toon. Follow the ics entries from waste providers? Custom format? Need some guidelines/standards how to name your calendar entriesTerrorSource wrote:Hopefully it can be downloaded somewhat automagically, maybe update once a day/week or so.
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Can also create a separate calendar app maybe, with a tile with the first (or first two) upcoming events....
member of the Toon Software Collective
-
- Starting Member
- Posts: 16
- Joined: Mon Feb 19, 2018 11:45 pm
- Location: Delft
Re: Toon app: Afvalwijzer
My provider, Avalex, generates this link to which you can add to your calender.
Would this work straight in your Toon App:
https://www.avalex.nl/ical/0503200000104881
If you then show the first two events or more fancy all events for the coming 7 days, that would be a great solution for a Afvalwijzer for Avalex (and others giving the same service).
Would this work straight in your Toon App:
https://www.avalex.nl/ical/0503200000104881
If you then show the first two events or more fancy all events for the coming 7 days, that would be a great solution for a Afvalwijzer for Avalex (and others giving the same service).
B Overdevest
Rooted Toon, Raspberry 3B+, Domoticz
Rooted Toon, Raspberry 3B+, Domoticz
Re: Toon app: Afvalwijzer
Will add Avalex in next release....
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Hi all,
Preliminary changelog version 3.7:
- avalex.nl implemented (waste provider 24, enter ical calendar id in settings screen)
Expected to hit the ToonStore Tuesday latest...
Kind regardz,
Toonz
Preliminary changelog version 3.7:
- avalex.nl implemented (waste provider 24, enter ical calendar id in settings screen)
Expected to hit the ToonStore Tuesday latest...
Kind regardz,
Toonz
member of the Toon Software Collective
Re: Toon app: Afvalwijzer
Can you add support for TwenteMilieu as well?
Found this code in Garbage collector module for Dashtics. Maybe this helps you to implement?
Found this code in Garbage collector module for Dashtics. Maybe this helps you to implement?
Code: Select all
}*/
if(service=='twentemilieu'){
$.post('https://wasteapi.2go-mobile.com/api/FetchAdress',{
'companyCode':'8d97bb56-5afd-4cbc-a651-b4f7314264b4',
'postCode': postcode,
'houseNumber':homenumber,
'houseLetter':'',
'houseNumberAddition':''
},function(data){
$.post('https://wasteapi.2go-mobile.com/api/GetCalendar',{
'companyCode':'8d97bb56-5afd-4cbc-a651-b4f7314264b4',
'uniqueAddressID':data['dataList'][0]['UniqueId'],
'startDate':startDate.format("YYYY-MM-DD"),
'endDate':endDate.format("YYYY-MM-DD")
},function(data){
data = data.dataList;
for(d in data){
var curr = data[d].description;
curr = capitalizeFirstLetter(curr.toLowerCase());
if(typeof(returnDates[curr])=='undefined'){
returnDates[curr] = {}
}
for(dt in data[d].pickupDates){
var testDate = moment(data[d].pickupDates[dt]);
if(testDate.isBetween(startDate, endDate, 'days', true)){
returnDates[curr][testDate.format("YYYY-MM-DD")+'_'+curr]=getTrashRow(curr,testDate);
}
}
}
addToContainer(random,returnDates,maxitems);
});
});
}
Re: Toon app: Afvalwijzer
Hi Rick,
problem is that Toon doesn't have proper browser functionality to perform http POST calls and a rather crappy (old) javascript implementation.
My aim is to have this app natively running on Toon and therefor I have to live with its limitations.
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.
Kind regardz,
Toonz
problem is that Toon doesn't have proper browser functionality to perform http POST calls and a rather crappy (old) javascript implementation.
My aim is to have this app natively running on Toon and therefor I have to live with its limitations.
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.
Kind regardz,
Toonz
member of the Toon Software Collective