Powermeter option unavailable Toon1

Forum about Toon hardware, both versions 1 and 2 of Toon

Moderators: marcelr, TheHogNL, Toonz

Post Reply
Pochoto2
Starting Member
Starting Member
Posts: 11
Joined: Fri Oct 04, 2024 12:12 pm

Powermeter option unavailable Toon1

Post by Pochoto2 »

Hi there,

I have a Qubino energy meter to measure the power consumption. It was working correctly, but after a software upgrade to 6.3.60 it stopped working. I removed it and I realize the new version hasn't any menu to add meter adapter.

I can add a repeaters/lights or smart plug, but no option for power meter.

Is there any other option to add my qubino power meter to toon 1?

Thanks
Pochoto2
Starting Member
Starting Member
Posts: 11
Joined: Fri Oct 04, 2024 12:12 pm

Re: Powermeter option unavailable Toon1

Post by Pochoto2 »

Hi again,

Here you have the available options in TOON:

TOON MENU
Image


TOON SETTING

No option to add external hardware (except repeaters)
Image


TOON CONTROL PLANE

Here we can only add smart plugs or lamps
Image


It seems my toon lost the menu to add external energymeter

But i can see the energymeter is connected to TOON through the web browser (192.168.1.31 is my TOON Ip)

Code: Select all

http://192.168.1.31/hdrv_zwave?action=getDevices.json 
And i get:

"dev_10":
{"uuid": "3622b658-b5e2-4c14-bff2-296fc58bdaa7",
"name": "ZMNHTD1", "internalAddress": "10",
"type": "ZMNHTD1",
"supportsCrc": "1",
"ccList": "5e 27 32 56 70 86 72 73 85 8e 59 5a 7a",
"supportedCC": "5e 27 32 56 70 86 72 73 85 8e 59 5a 7a",
"nodeFlags": [],
"IsConnected": "1",
"HealthValue": "10"
"DeviceName": "ZMNHTD1",
"CurrentElectricityFlow": "2274.40" --> I've confirmed this consumption changes when i turn on the heater
"CurrentElectricityQuantity": "11587400.00",
"CurrentVoltage": "242.90",
"CurrentCurrent": "9.38"
,

"TargetStatus": "0"}}

I would like to show that information in TOON screen as it was in the pass, here an example:

Image

Regards.
Last edited by Pochoto2 on Fri Oct 11, 2024 3:21 pm, edited 1 time in total.
Toonz
Forum Moderator
Forum Moderator
Posts: 1916
Joined: Mon Dec 19, 2016 1:58 pm

Re: Powermeter option unavailable Toon1

Post by Toonz »

have never seen this before.

Does the xml file /qmf/config/config_happ_scsync.xml look alright on Toon?
Or try to run the script "update-rooted.sh -f"

Otherwise don't have a clue
member of the Toon Software Collective
Pochoto2
Starting Member
Starting Member
Posts: 11
Joined: Fri Oct 04, 2024 12:12 pm

Re: Powermeter option unavailable Toon1

Post by Pochoto2 »

Thanks for the answer Toonz

Actually the option was removed in the last oficial SW upgrade.

This is the content of the file /qmf/config/config_happ_scsync.xml. Not sure whether it is right or not:

Code: Select all

 <Config packageRevision="468">
  <sysConfig>
   <locale>es_ES</locale>
   <timezone>Europe/Madrid</timezone>
   <currency>EUR</currency></sysConfig>
    <device>
     <serial_number>17-34-015-111</serial_number>
     <device_type>Display</device_type>
     <device_model>6599-1701-1300</device_model>
     <hardware_version>6599-1701-1300</hardware_version>
     <manufacturer>Prodrive</manufacturer>
     <devicePackage>hcb_config</devicePackage>
     <package>happ_scsync</package>
     <uuid>7f6f5741-5eb5-4791-a7a1-86de2c075607</uuid>
     <type>deviceInfo</type>
     <name>deviceInfo</name>
     <internalAddress>hcb_config</internalAddress>
     <visibility>1</visibility></device>
    <device>
     <serial_number>1729-AA-1111</serial_number>
     <device_type>BoilerAdapter</device_type>
     <device_model>3000-0000-15-00</device_model>
     <hardware_version>3000-0000-15-00</hardware_version>
     <manufacturer>Prodrive</manufacturer>
     <devicePackage>happ_thermstat</devicePackage>
     <package>happ_scsync</package>
     <uuid>14f82280-7add-4b63-9a0e-7e6d3ca10c62</uuid>
     <type>deviceInfo</type>
     <name>deviceInfo</name>
     <internalAddress>1729-AA-1165</internalAddress>
     <visibility>1</visibility></device>
    <device>
     <package>happ_scsync</package>
     <uuid>efcea447-183a-42c0-8a69-6ccb903c3d98</uuid>
     <type>agreementDetail</type>
     <internalAddress>agreementDetail</internalAddress>
     <visibility>0</visibility><StartDate>1511740800</StartDate><EndDate>-1</EndDate><Status>IN_SUPPLY</Status><ProductVariant>Toon</ProductVariant><activated>1</activated><wizardDone>1</wizardDone><ElectricityDisplay>1</ElectricityDisplay><GasDisplay>1</GasDisplay><HeatDisplay>0</HeatDisplay><SmartHeatDisplayBasic>0</SmartHeatDisplayBasic><SmartHeatDisplayFull>0</SmartHeatDisplayFull><SolarDisplay>0</SolarDisplay><SolarActivated>0</SolarActivated><OtherProviderElec>0</OtherProviderElec><OtherProviderGas>0</OtherProviderGas><SME>0</SME><HeatWinner>0</HeatWinner><mobileAccess>0</mobileAccess><supportEnabled>0</supportEnabled><supportEnabledStart>0</supportEnabledStart><researchEnabled>0</researchEnabled><doSolarWhatsnew>0</doSolarWhatsnew><latestWhatsnewVersion>qt-gui - 1.7726-ves-NXTP-master</latestWhatsnewVersion><statusUsageFirstUse>0</statusUsageFirstUse><priceCapFirstUse>1</priceCapFirstUse><scStatusFlags>4</scStatusFlags><commissionState>4</commissionState><features></features><featureInputs></featureInputs></device>
    <device>
     <serial_number>17100011</serial_number>
     <device_type>DinRailModule1Phase</device_type>
     <device_model>ZMNHTD1 H1S6P1</device_model>
     <hardware_version>ZMNHTD1 H1S6P1</hardware_version>
     <manufacturer>Qubino</manufacturer>
     <devicePackage>hdrv_p1</devicePackage>
     <devUuid>3622b658-b5e2-4c14-bff2-296fc58bdaa7</devUuid>
     <package>happ_scsync</package>
     <uuid>c9408f6e-e68f-4ca9-aa15-7a6b9657696f</uuid>
     <type>deviceInfo</type>
     <name>deviceInfo</name>
     <internalAddress>17100084</internalAddress>
     <visibility>1</visibility></device></Config>
If i am not mistaken, the last device_type=DinRailModule1Phase (manufacturer=Qubino) is the power meter. It seems everything is OK and synch, because i can see the consumption though the web browser but i have no options to add an icon or something to see that information in TOON screen.


BR
Pochoto2
Starting Member
Starting Member
Posts: 11
Joined: Fri Oct 04, 2024 12:12 pm

Re: Powermeter option unavailable Toon1

Post by Pochoto2 »

I've modified the file /qmf/qml/config/TenantSettings.json setting "featMeterModuleSupportEnabled": true, and now i can see the EnergyMeter in the menu:

Image

Once configured it, setting it is a powermeter and it is analog, now it is showed as correctly synch:

Image
Image


But i can't add the tile to the homescreen because it does not appear when i click on "add tile"

Image

I've check the path /HCBv2/qml/apps/homescreen, and it is empty.

I run also the firmware upgrade (sh /root/update-rooted.sh -f):

Code: Select all

qba-900-XXXX:~# sh /root/update-rooted.sh -f
===================================================================================================================================================================
Welcome to the rooted Toon upgrade script. This script will try to upgrade your Toon using your original connection with Eneco. It will start the VPN if necessary.
Please be advised that running this script is at your own risk!

Version: 4.81  - TheHogNL - 07-08-2024

===================================================================================================================================================================

Only fixing files.
creating backup of inittab...
creating backup of chrony.conf...
creating backup of hosts...
creating backup of config_happ_scsync.xml...
creating backup of qmf_tenant.xml.save ...
FIXING: Downloading resources.rcc TSC mod for this version 6.3.60.
FIXING: Now updating all toonstore installed apps
EDITING: Time server, removes unnecessary link to Quby
EDITING: Hosts file, removes unnecessary link to Quby
EDITING: Disable add google DNS on top of resolv.conf
touch: /mnt/persist/udhcpc-skip-prepend-google-pub-dns: No such file or directory
EDITING: disable ovpn connection to quby
EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay
EDITING: removing data gathering by Quby and whitelisting web services
EDITING: disabling Eneco subscription feature apps to free up memory on this toon 1
EDITING: disabling KPI and weather happ as these are not necessary on rooted toons
EDITING: disabling samba nmbd on toon 1 as probably it is not necessary
EDITING: download certificate store pem file
Finished fixing files!
Interesting the line "EDITING: Activating Toon, enabling ElectricityDisplay and GasDisplay"

I restarted the GUI and the happsync, but same result, app tile missing.

Code: Select all

killall happ_scsync
killall qt-gui
I read in some threads about this file: /HCBv2/qml/qb/base/Globals.qml (but my folder /HCBv2/qml/qb is empty, maybe it is a old file from previous TOON firmwares).

Don't know what to do now...Any clue?

Thanks!!
Last edited by Pochoto2 on Wed Oct 16, 2024 11:10 am, edited 1 time in total.
Pochoto2
Starting Member
Starting Member
Posts: 11
Joined: Fri Oct 04, 2024 12:12 pm

Re: Powermeter option unavailable Toon1

Post by Pochoto2 »

Good News!! I could fix the issue!


I saw there were different tenant files based on the provider:

/qmf/tenants/eneco-nl
/qmf/tenants/engie-be
/qmf/tenants/qutility
/qmf/tenants/thuega-de
/qmf/tenants/viesgo-es

As my TOON comes from Viesgo, i compared Viesgo's TenantSettings.json vs Eneco-nl's one, and i identified the parameter to show the tiles is "appGraphsEnabled": true.

So right now my /qmf/qml/config/TenantSettings.json is:

Code: Select all

{
	"appWeather": "",
	"appGraphTileLowestUsage": true,
	"i18nLocales": [
		"en_GB",
		"es_ES"
	],
	"enabledHeatingSourceConfiguration": true,
	"enabledGasMeterConfiguration": false,
	"appEMetersSettingsAdvancedDisabled": false,
	"appSystemSettingsFactoryResetDisabled": true,
	"appControlPanelSmartplugHardRemoveDisabled": false,
	"appControlPanelPinProtectRemoveBridge": false,
	"appControlPanelLampRenameDisabled": false,
	"appControlPanelPlugRenameDisabled": false,
	"appControlPanelHueSceneSaveDisabled": false,
	"featPinProtectNumber": "7829",
	"appSmokeDetectorSensitivityEnabled": false,
	"featSMEEnabled": false,
	"featShowEnergyMeterImages": false,
	"featHolidayOffPeakEnabled": true,
	"featDomesticHotWaterEnabled": false,
	"featHumidityEnabled": true,
	"featMeterModuleSupportEnabled": true,
	"appSolarEnabled": false,
	"appSmokeDetectorEnabled": false,
	"appHeatRecoveryEnabled": false,
	"appCustomerServiceEnabled": false,
	"appInboxEnabled": true,
	"appControlpanelEnabled": true,
	"appImageViewerEnabled": false,
	"appBoilerMonitoringEnabled": false,
	"appWeatherEnabled": false,
	"appGraphsEnabled": true,
	"appUpsellEnabled" : false,
	"appControlPanelSettings" : {
		"smartPlugUpsell" : false
	},
	"appSettingsSettings": {
		"askForMyOpinion": false,
		"mobileAccess": false,
		"dataTransferForResearch": false,
		"wipeUserData": true,
		"hideActivation": true
	},
	"installationWizardApps": [
		"language|true",
		"internet|true",
		"activation|true",
		"update|false",
		"emeters|false",
		"heating|true",
		"boiler|false"
	],
	"appBenchmarkEnabled": false,
	"appBoilerMonitorEnabled": false,
	"appWhatIsNewEnabled": false,
	"appWhatIsToonEnabled": false,
	"appStatusUsageEnabled": false
}
I can see the power usage!! :D

The only missing part now is the gas usage. In the past it was showed the number of hours it was working

Image
Image

BR
Mramos1985
Starting Member
Starting Member
Posts: 3
Joined: Tue Nov 07, 2023 2:02 am

Re: Powermeter option unavailable Toon1

Post by Mramos1985 »

Great, in the evening I will try to change this file.

Thx for your help!!
Post Reply

Return to “Toon Hardware”