Toon firmware resource file (as from 4.16.8)

Forum about the tweaking of the Eneco Toon.

Moderator: marcelr

Toon firmware resource file (as from 4.16.8)

Postby Toonz » Thu Jun 07, 2018 9:20 pm

Hi all,

Normally all Toon apps are stored in the folder /qmf/qml/apps/… in plain text.
However, starting with firmware 4.16.8 they have put the whole qui in so called 'resource files', individual apps and files cannot be accessed anymore.
These resources files cannot be tampered with, making it impossible to make changes to the qml code, changes to Globals.qml etc.
At least, that is the idea of a Qt resource file.

Nonetheless, TheHogNL and I are happy to present you a replacement resource file with the following changes compared to the original:

1. by default all custom apps will be loaded from /qmf/qml/apps/ at startup.
Globals.qml is not used anymore for that purpose. If you don't want an app anymore, remove it from the apps folder
2. network issue notifications are disabled (e.g. no notification that you are not connected to the service centre)
3. the waste collection thermostat mod is included (you will need 'Afvalwijzer' app version 4.1 (or higher) from the ToonStore for the mod to work)
4. the room temperature is shown in 0.1 degree resolution instead of the standard 0.5 degree resolution
5. the new resource file is smaller, but in this case 'less is more' ;-)

This use of resource files has a few disadvantages:
- Custom apps need to be updated if they currently use built-in system icons and graphics (example: the up and down scroll buttons images in ToonStore are not shown (but buttons do work))
Expect therefore new releases of some apps in the ToonStore in the next couple of weeks to show all images again.
- We need to recreate a new resource file for each new firmware released by Quby.
You have to wait with firmware updates therefor until you see the new resource file for that firmware posted here
Otherwise you end up with standard firmware without any custom apps and with all system notifications.

Installation instruction:
- Make a backup of the original resource file: /qmf/qml/resources-static-base.rcc
- Download the new 4.16.8 resource file here: files.domoticaforum.eu/uploads/Toon/res ... 4.16.8.zip
- Unzip the file and place 'resources-static-base.rcc' in the folder /qmf/qml/

Edit: version 2 available which has all V1 goodies plus uses the whole screen width for systray icons instead of just half the screen:
- Download the 4.16.8 V2 resource file here: files.domoticaforum.eu/uploads/Toon/res ... 4.16.8-V2.zip

That's all folks.

As this is our first release of its kind, feel free to come with suggestions, improvements or questions.

Some final words of wisdom:
- this firmware release doesn't contain any new functionality for us (just download option for your rra databases, but we could do this already)
- don't fix what isn't broken and if you break it, fix it yourself.
- don't try to use a resource file on another firmware then it was made for. It simply does not work.
- the use of this service is fully at your own risk, if you don't understand the storyline above, better not upgrade to 4.16.8 or higher.

Kind regardz,

Toonz & TheHogNL
Last edited by Toonz on Sun Jun 24, 2018 11:40 am, edited 1 time in total.
Toonz
Advanced Member
Advanced Member
 
Posts: 608
Joined: December 2016

Re: Toon firmware resource file (as from 4.16.8)

Postby TheHogNL » Fri Jun 08, 2018 5:42 pm

And now the update script (from version 2.9) also supports 4.16.8. It will (when choosing the fix option in the end) download the necessary resources file.
TheHogNL
Member
Member
 
Posts: 298
Joined: August 2017

Re: Toon firmware resource file (as from 4.16.8)

Postby michel30 » Sat Jun 09, 2018 7:38 pm

Nice job, but for now I will stay on the old firmware that one works great for me.
Maybe for the future I will upgrade the Toon, but for now I will stay on the old one.
michel30
Member
Member
 
Posts: 159
Joined: August 2017

Re: Toon firmware resource file (as from 4.16.8)

Postby TheHogNL » Sat Jun 09, 2018 8:55 pm

michel30 wrote:Nice job, but for now I will stay on the old firmware that one works great for me.
Maybe for the future I will upgrade the Toon, but for now I will stay on the old one.


That is a good choice. I would suggest only for the real die hard testers to go to 4.16.8 as you might encounter some issue's and there is nothing to gain there.

I for one haven't updated my production Toon yet. Only the one I use for testing is on 4.16.8
TheHogNL
Member
Member
 
Posts: 298
Joined: August 2017

Re: Toon firmware resource file (as from 4.16.8)

Postby angeloloi » Sun Jun 17, 2018 3:06 pm

I have a question, i put de file in /qmf/qml/ and i `ve got my toonstore back and buienradar works!
Good job!

But is it now possible for me to install custom apps?
angeloloi
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Toon firmware resource file (as from 4.16.8)

Postby Toonz » Sun Jun 17, 2018 4:42 pm

angeloloi wrote:I have a question, i put de file in /qmf/qml/ and i `ve got my toonstore back and buienradar works!
Good job!

But is it now possible for me to install custom apps?

Yes, just install as usual. You don't need to edit globals.qml. All custom apps present in.. /qml/apps/. will be loaded when the gui starts. You can install via Toonstore or manually.
Toonz
Advanced Member
Advanced Member
 
Posts: 608
Joined: December 2016

Re: Toon firmware resource file (as from 4.16.8)

Postby angeloloi » Sun Jun 17, 2018 6:09 pm

Toonz wrote:
angeloloi wrote:I have a question, i put de file in /qmf/qml/ and i `ve got my toonstore back and buienradar works!
Good job!

But is it now possible for me to install custom apps?

Yes, just install as usual. You don't need to edit globals.qml. All custom apps present in.. /qml/apps/. will be loaded when the gui starts. You can install via Toonstore or manually.


Thx!
I `ve a lot to do ;)
angeloloi
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Toon firmware resource file (as from 4.16.8)

Postby angeloloi » Sun Jun 17, 2018 7:32 pm

Hmm,
i just put domoticz in /qml/apps/, reboot Toon, but i don`t see domoticz anywhere, the same for dasticz.
angeloloi
Starting Member
Starting Member
 
Posts: 4
Joined: June 2018

Re: Toon firmware resource file (as from 4.16.8)

Postby Toonz » Sun Jun 17, 2018 7:42 pm

one comment: keep the app folder names in lower case only.
Toonz
Advanced Member
Advanced Member
 
Posts: 608
Joined: December 2016

Re: Toon firmware resource file (as from 4.16.8)

Postby Toonz » Sun Jun 24, 2018 11:42 am

Hi all,

I edited the first post with a link to version 2 of the resource file.
This has all goodies from version 1 plus makes the whole screen width available for the systray, instead just half the screen in the standard firmware

This is relevant if you have many apps from the Toonstore installed and systray icons will move into a second row behind the thermostat.
This fix will keep them all on the top row.

Kind regardz,

Toonz
Toonz
Advanced Member
Advanced Member
 
Posts: 608
Joined: December 2016


Return to Eneco Toon as Domotica controller

Who is online

Users browsing this forum: No registered users and 1 guest