Where to edit price of gas and electricity in a file?

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Where to edit price of gas and electricity in a file?

Postby jozg » Wed Jan 10, 2018 1:02 pm

Hello all,

I have 2 rooted toons, wich are showing a price for daily usage of gas.
At this moment i no longer have a eneco subscription, and also the openvpn port to quby is closed.

Where can i edit manually the pricy for gas and electricity, in order to show correct price values in Toon?.

Thanks for help.

Regards,
jozg
Starting Member
Starting Member
 
Posts: 47
Joined: November 2017

Re: Where to edit price of gas and electricity in a file?

Postby michel30 » Wed Jan 10, 2018 1:45 pm

Hello See domoticaforum.eu/viewtopic.php?f=87& ... 242#p83242


For add your own price you need to edit this file:
Code: Select all
vi /qmf/qml/qb/base/Globals.qml   


On the top of the file you will find the price.
michel30
Member
Member
 
Posts: 204
Joined: August 2017

Re: Where to edit price of gas and electricity in a file?

Postby jozg » Wed Jan 10, 2018 3:21 pm

Hello Michel30,

Thanks, i found it.

Regards,
jozg
Starting Member
Starting Member
 
Posts: 47
Joined: November 2017

Re: Where to edit price of gas and electricity in a file?

Postby haldor » Fri Dec 21, 2018 3:53 pm

Hello,

with the new update, there is no globals.qml anymore. Any idea where/how to update it now?

Thanks
haldor
Starting Member
Starting Member
 
Posts: 1
Joined: August 2018

Re: Where to edit price of gas and electricity in a file?

Postby TheHogNL » Fri Dec 21, 2018 7:11 pm

You can't. Editing those values in globals.qml also didn't work all the time. The prices are also stored in a xml config file.
Haven't looked into it what exactly is doing what and when.

If someone (with some experience in qml and javascript) want to find it out please do. I could add an option to the TSC menu to change the prices if we know what to edit.
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1083
Joined: August 2017


Return to Toon Firmware

Who is online

Users browsing this forum: No registered users and 1 guest