Toon app: Afvalwijzer

Forum about the tweaking of the Eneco Toon.

Moderator: marcelr

Re: Toon app: Afvalwijzer

Postby Toonz » Tue Apr 17, 2018 1:15 pm

Is the VPN to Eneco enabled maybe?
Toonz
Advanced Member
Advanced Member
 
Posts: 600
Joined: December 2016

Re: Toon app: Afvalwijzer

Postby jnieuw » Tue Apr 17, 2018 3:10 pm

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

Re: Toon app: Afvalwijzer

Postby jnieuw » Tue Apr 17, 2018 10:11 pm

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

Re: Toon app: Afvalwijzer

Postby jnieuw » Wed Apr 18, 2018 7:56 am

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

Re: Toon app: Afvalwijzer

Postby Toonz » Wed Apr 18, 2018 8:09 am

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

Re: Toon app: Afvalwijzer

Postby jnieuw » Wed Apr 18, 2018 11:10 am

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

Re: Toon app: Afvalwijzer

Postby gielie » Fri Apr 20, 2018 6:29 am

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
gielie
Starting Member
Starting Member
 
Posts: 46
Joined: November 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Fri Apr 20, 2018 8:50 pm

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

Re: Toon app: Afvalwijzer

Postby jnieuw » Tue Apr 24, 2018 1:38 pm

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++) {
jnieuw
Starting Member
Starting Member
 
Posts: 30
Joined: October 2017

Re: Toon app: Afvalwijzer

Postby Toonz » Tue Apr 24, 2018 3:30 pm

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

Re: Toon app: waste collection (Afvalwijzer)

Postby gielie » Thu May 31, 2018 8:21 am

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?
gielie
Starting Member
Starting Member
 
Posts: 46
Joined: November 2017

Re: Toon app: waste collection (Afvalwijzer)

Postby Toonz » Thu May 31, 2018 9:54 pm

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

Re: Toon app: Afvalwijzer

Postby michel30 » Thu May 31, 2018 9:54 pm

Did you used the latest waste icon?
ToonZ also upload some tropics above..

https://www.domoticaforum.eu/download/file.php?id=3568
michel30
Member
Member
 
Posts: 159
Joined: August 2017

Re: Toon app: Afvalwijzer

Postby EJanus » Fri Jun 01, 2018 9:51 am

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!
EJanus
Starting Member
Starting Member
 
Posts: 17
Joined: January 2018

Re: Toon app: Afvalwijzer

Postby Toonz » Fri Jun 01, 2018 9:02 pm

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

PreviousNext

Return to Eneco Toon as Domotica controller

Who is online

Users browsing this forum: No registered users and 1 guest