
The most annoying part is that restarting qt takes around 5 minutes.
So i just made a copy of an existing page and modified it to show 4 images, with text center aligned with the buttons.


How to install:
- Unzip the folder to /HCBv2/qml/apps
- Edit the /HCBv2/qml/apps/domoticz/DomoticzScreen.qml file. You will find a hostName and portNum string. Edit this to match the location of your Domoticz API interface.
- Edit the file: /HCBv2/qml/qb/base/Globals.qml , here around line 80 add the line:
so: before:
Code: Select all
"domoticz",
After:Code: Select all
var appsToLoad = [ "homescreen", "systray", "inbox", "thermostat", "clock", "weather",
Code: Select all
var appsToLoad = [ "homescreen", "systray", "inbox", "thermostat", "clock", "weather", "domoticz",
- Restart QT, by a reboot or via
Code: Select all
killall -9 qt-gui
I tried already many things but i can not get the data which is available on Toon displayed on a tile.
Running this http://<TOON IP>:<TOON PORT>/happ_pwrusage?action=GetCurrentUsage will show something like this:
Code: Select all
{
"result": "ok",
"powerUsage": {
"value": 0,
"dayCost": 0,
"avgValue": 0
},
"powerProduction": {
"value": 100,
"dayCost": 0.53,
"avgValue": 36.76
},
"gasUsage": {
"value": 0,
"dayCost": 0,
"avgValue": 0
}
}
Made a copy of /HCBv2/qml/apps/graph/PowerThisMomentTile.qml and tried to manipulate is but i can't find a function call to fetch the correct value.
I think Toon can only do something with solar when it can actually measure the current produced power coming from the invertor. I do have this data but only in Domoticz, and not via a kWh meter.
Anybody else has some ideas?