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

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Post Reply
jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

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

Post by jozg »

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,
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

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

Post by michel30 »

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.
jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

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

Post by jozg »

Hello Michel30,

Thanks, i found it.

Regards,
haldor
Starting Member
Starting Member
Posts: 1
Joined: Fri Aug 31, 2018 11:53 am

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

Post by haldor »

Hello,

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

Thanks
TheHogNL
Forum Moderator
Forum Moderator
Posts: 2125
Joined: Sun Aug 20, 2017 8:53 pm

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

Post by TheHogNL »

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
ferryperry
Starting Member
Starting Member
Posts: 6
Joined: Sun Oct 17, 2021 5:09 pm

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

Post by ferryperry »

TheHogNL wrote: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.
Any update on this matter?
oepi-loepi
Advanced Member
Advanced Member
Posts: 628
Joined: Sat Feb 09, 2019 7:18 pm

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

Post by oepi-loepi »

Menu —- tsc menu — change tariff. ?.
Post Reply

Return to “Toon Firmware”