Page 29 of 84

Re: Toon app: Afvalwijzer

Posted: Tue Apr 17, 2018 2:15 pm
by Toonz
Is the VPN to Eneco enabled maybe?

Re: Toon app: Afvalwijzer

Posted: Tue Apr 17, 2018 4:10 pm
by jnieuw
OpenVPN is disabled and not running..

Code: Select all

/etc/inittab

Code: Select all

# HCBv2 static stuff
#ovpn:235:respawn:/usr/sbin/openvpn --config /etc/openvpn/vpn.conf --verb 0 >/dev/null 2>&1

Re: Toon app: Afvalwijzer

Posted: Tue Apr 17, 2018 11:11 pm
by jnieuw
Ok, I renamed the wasteDates.txt file to wasteDates.old, started the afvalwijzer app and initiated a new download.
The app downloaded a new wasteDates.txt file, but is not displaying anything(?)

Here is the content:

Code: Select all

/var/volatile/tmp# cat wasteDates.txt

2018-01-02,2
2018-01-02,4
2018-01-09,4
2018-01-15,1
2018-01-29,1
2018-01-30,2
2018-02-12,1
2018-02-17,1
2018-02-26,1
2018-02-27,2
2018-03-12,1
2018-03-26,1
2018-03-27,2
2018-04-09,1
2018-04-23,1
2018-04-24,2
2018-05-07,1
2018-05-14,4
2018-05-19,1
2018-05-22,2
2018-06-04,1
2018-06-18,1
2018-06-19,2
2018-07-02,1
2018-07-16,1
2018-07-17,2
2018-07-30,1
2018-08-13,1
2018-08-14,2
2018-08-27,1
2018-09-10,1
2018-09-11,2
2018-09-24,1
2018-10-08,1
2018-10-09,2
2018-10-22,1
2018-10-29,4
2018-11-05,1
2018-11-06,2
2018-11-19,1
2018-12-03,1
2018-12-04,2
2018-12-29,2
2018-12-31,1

Re: Toon app: Afvalwijzer

Posted: Wed Apr 18, 2018 8:56 am
by jnieuw
Ok, I reverted back to Afvalwijzer v3.5 and now thats working again (?).
Buienradar is still not working, so I will post there domoticaforum.eu/viewtopic.php?f=87&amp ... ;start=150

Re: Toon app: Afvalwijzer

Posted: Wed Apr 18, 2018 9:09 am
by Toonz
jnieuw wrote:Ok, I reverted back to Afvalwijzer v3.5 and now thats working again (?).
Buienradar is still not working, so I will post there domoticaforum.eu/viewtopic.php?f=87& ... ;start=150
I guess you are not using one of the official waste providers. Did you set the 'afvalverwerker' to '0' in the config screen ?
Reason is that if the official waste provider page cannot be retrieved, your own waste data is not merged into it either and you see nothing. Selecting waste provider 0 should prevent that.

I still believe you have an issue with your SSL certificates.
Can you upload a printscreen of the folder /etc/ssl/certs/ ?

Re: Toon app: Afvalwijzer

Posted: Wed Apr 18, 2018 12:10 pm
by jnieuw
Hi Toonz,

Yes I was using '0' and it had been working for months... I will post further in the Buienradar to not have double posts.

Re: Toon app: Afvalwijzer

Posted: Fri Apr 20, 2018 7:29 am
by gielie
I update my Toon with all the packages but now I don’t have a waste icon in the dim state. Is there a extra thing I have to do to get my icons back. I’m on afval provider 1

Re: Toon app: Afvalwijzer

Posted: Fri Apr 20, 2018 9:50 pm
by Toonz
gielie wrote:I update my Toon with all the packages but now I don’t have a waste icon in the dim state. Is there a extra thing I have to do to get my icons back. I’m on afval provider 1
what firmware is your Toon running now?
can you go to the settings screen, check the settings and press 'Opslaan', this should give you a screen with the next dates. Checked that?......

Re: Toon app: Afvalwijzer

Posted: Tue Apr 24, 2018 2:38 pm
by jnieuw
Hi Toonz,

I found a bug in the latest version (3.8). It happens only when you use '0' as wasteprovider and not fill in the "extra" dates field. Then the wasteDates.txt file contains an extra empty line on top.
This line is 1 character (instead of 13) and then the /13 does not work, resulting in empty wastecollectionListDates and wasteIcon

Code: Select all

function readCollectedWasteDates(searchStrWasteIconHour, searchStrMidnight, reset) {

Code: Select all

for (i = 0; i < response.length/13; i++) {

Re: Toon app: Afvalwijzer

Posted: Tue Apr 24, 2018 4:30 pm
by Toonz
jnieuw wrote:Hi Toonz,

I found a bug in the latest version (3.8). It happens only when you use '0' as wasteprovider and not fill in the "extra" dates field. Then the wasteDates.txt file contains an extra empty line on top.
This line is 1 character (instead of 13) and then the /13 does not work, resulting in empty wastecollectionListDates and wasteIcon

Code: Select all

function readCollectedWasteDates(searchStrWasteIconHour, searchStrMidnight, reset) {

Code: Select all

for (i = 0; i < response.length/13; i++) {
Nice find. Thanks....Will correct in next version.

Re: Toon app: waste collection (Afvalwijzer)

Posted: Thu May 31, 2018 9:21 am
by gielie
Toonz wrote:Hi all,

I enhanced the waste collection app to show two icons in dim state if two types of waste are collected the same day.
The same change was applied to the thermostat_mod to show the waste in dim state.

Screenshots with both options enabled with one and two types of waste:
SingleWaste.png
DoubleWaste.png
The main app with tile:
wastecollection_V1.2.zip
The Thermostat mod (thermostat app firmware 3.7.9, apply changes manually as described in earlier posts)
wastecollection_thermostat_show_waste_mod_V1.2.zip
Regardsz,

Toonz
I have some trouble with the waste app, I can’t get the waste icons under the time in dim state. This has has been working before but it stoped after upgrading to 4.13.7. I reinstalled the latest waste app via the store and I copied the thermostat waste mod 4.13.7 to the toon, like I did before but there is no waste icon showing up under the time. When I put the waste dates at the first page there will be icons in the tile.

Can someone help me with this?

Re: Toon app: waste collection (Afvalwijzer)

Posted: Thu May 31, 2018 10:54 pm
by Toonz
gielie wrote:I have some trouble with the waste app, I can’t get the waste icons under the time in dim state. This has has been working before but it stoped after upgrading to 4.13.7. I reinstalled the latest waste app via the store and I copied the thermostat waste mod 4.13.7 to the toon, like I did before but there is no waste icon showing up under the time. When I put the waste dates at the first page there will be icons in the tile.
Can someone help me with this?
Let me first check if I understood you correctly:
- the waste collection tile on the homescreen is working fine and does show waste icons in dim state.
- You have troubles with the thermostat mod which does not show the icon under the temperature, not under the time.

Have you waited at least a day? The thermostat mod is only reconfiguring itself around the display hour in the app settings.
This starts already at boot, so if you change the display hour value or change the waste provider, the thermostat mod will only pick this up the next day

Re: Toon app: Afvalwijzer

Posted: Thu May 31, 2018 10:54 pm
by michel30
Did you used the latest waste icon?
ToonZ also upload some tropics above..

download/file.php?id=3568

Re: Toon app: Afvalwijzer

Posted: Fri Jun 01, 2018 10:51 am
by EJanus
Hi Toonz,

Since the last update I get an error/bug when using the Afvalwijzer. All it can show in the tile is:

20_error_month
Groot vuil

20_error_month
Groot vuil

20_error_month
Groot vuil

When I click the Tile, I get:

defined
20 - Groot vuil
04-23,4
20 - Groot vuil
04-24,2

etc.

I use Afvalverwerker 1. I have tried a reinstall of the app, but that didn't work.


I noticed that the jason call for mijnafvalwijzer.nl is working again. Maybe it's easier to go back to that, but that is ofcourse up to you! I hope you can fix this. My garbage is piling up. :lol: And this is my favourite app!

Re: Toon app: Afvalwijzer

Posted: Fri Jun 01, 2018 10:02 pm
by Toonz
can you upload /var/volatile/tmp/wasteDates.txt ?
It could be that you have the same issue as posted a few posts above (having no custom icons/dates defined).
You can try to configure some dummy dates on Toon.
I will correct this in next version but priorities at the moment are with getting 4.16.8 running again with custom apps (and ToonStore) and rooting of Toon 2

In the mean time you can also try to go back to version 3.1 which has the JSON calls for mijnafvalwijzer: files.domoticaforum.eu/uploads/Toon/app ... r0_qb2.ipk