Page 1 of 1

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

Posted: Wed Jan 10, 2018 2:02 pm
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,

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

Posted: Wed Jan 10, 2018 2:45 pm
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.

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

Posted: Wed Jan 10, 2018 4:21 pm
by jozg
Hello Michel30,

Thanks, i found it.

Regards,

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

Posted: Fri Dec 21, 2018 4:53 pm
by haldor
Hello,

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

Thanks

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

Posted: Fri Dec 21, 2018 8:11 pm
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.

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

Posted: Thu Feb 03, 2022 5:30 pm
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?

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

Posted: Sun Feb 06, 2022 11:49 pm
by oepi-loepi
Menu —- tsc menu — change tariff. ?.