Page 1 of 1

something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 1:41 pm
by Daniel
I just did an update in TSC menu, this all went well without a problem.

I immediately disabled a few options in Toon sebscription features i only left zon op toon on.
After restart, the zon op toon disappeared from the home screen, but is stil on in sebscription feature.
when i look in config_happ_scsync I miss the line of options or has completely changed?!


<Config packageRevision="444">
<sysConfig>
<locale>nl_NL</locale>
<timezone>Europe/Amsterdam</timezone>
<currency>EUR</currency></sysConfig>

<device>
<serial_number>16-10-023-404</serial_number>
<device_type>MeterAdapter</device_type>
<device_model>6599-1500-0201</device_model>
<hardware_version>6599-1500-0201</hardware_version>
<manufacturer>Quby</manufacturer>
<devicePackage>hdrv_p1</devicePackage>
<devUuid>95535944-4a92-46e8-b2ba-942341fcf7e3</devUuid>
<package>happ_scsync</package>
<uuid>2427408b-bdff-4bfd-95dc-2266dc80cea1</uuid>
<type>deviceInfo</type>
<name>deviceInfo</name>
<internalAddress>16-10-023-404</internalAddress>
<visibility>0</visibility></device>
<device>
<serial_number>15-13-011-347</serial_number>
<device_type>Display</device_type>
<device_model>6500-1400-2001</device_model>
<hardware_version>6500-1400-2001</hardware_version>
<manufacturer>Prodrive</manufacturer>
<devicePackage>hcb_config</devicePackage>
<package>happ_scsync</package>
<uuid>b5571390-222d-4e39-9db7-9a2738732fa2</uuid>
<type>deviceInfo</type>
<name>deviceInfo</name>
<internalAddress>hcb_config</internalAddress>
<visibility>1</visibility></device>
<device>
<serial_number>16-23-004-353</serial_number>
<device_type>BoilerAdapter</device_type>
<device_model>6599-1500-0300</device_model>
<hardware_version>6599-1500-0300</hardware_version>
<manufacturer>Prodrive</manufacturer>
<devicePackage>happ_thermstat</devicePackage>
<package>happ_scsync</package>
<uuid>9e475557-3751-486f-9d7e-e3f112ff3792</uuid>
<type>deviceInfo</type>
<name>deviceInfo</name>
<internalAddress>16-23-004-353</internalAddress>
<visibility>1</visibility></device><device>
<package>happ_scsync</package>
<uuid>81b944d6-e434-414b-b93a-f89013240d12</uuid>
<type>agreementDetail</type>
<internalAddress>agreementDetail</internalAddress>
<visibility>0</visibility>
<StartDate>0</StartDate>
<EndDate>-1</EndDate>
<ProductVariant>Toon</ProductVariant>
<activated>1</activated>
<wizardDone>1</wizardDone>
<ElectricityDisplay>1</ElectricityDisplay>
<GasDisplay>1</GasDisplay>
<HeatDisplay>0</HeatDisplay>
<SolarDisplay>1</SolarDisplay>
<SolarActivated>1</SolarActivated>
<OtherProviderElec>0</OtherProviderElec>
<OtherProviderGas>0</OtherProviderGas>
<SME>0</SME>
<HeatWinner>0</HeatWinner>
<mobileAccess>1</mobileAccess>
<supportEnabled>0</supportEnabled>
<supportEnabledStart>0</supportEnabledStart>
<researchEnabled>0</researchEnabled>
<doSolarWhatsnew>0</doSolarWhatsnew>
<latestWhatsnewVersion>qt-gui - 1.9691-fix-5-13-hotfixes</latestWhatsnewVersion>
<statusUsageFirstUse>0</statusUsageFirstUse>
<scStatusFlags>0</scStatusFlags>
<commissionState>0</commissionState>
<features></features>
<featureInputs></featureInputs></device></Config>

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 2:02 pm
by TheHogNL
It just got rewritten in a proper xml style (extra carriage returns). And should not matter how your toon reads this. Just tested it on my toon and no problem to keep solar activated.

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 2:21 pm
by Daniel
Hmm strange.
Normally after change something the Toon wil reboot. But now nothing happens.
Have you any suggestions?

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 2:42 pm
by TheHogNL
If you think it is the scsync file what is wrong just remove it (after making a backup) and reboot. Toon will set a new scsync file.

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 5:03 pm
by Daniel
I renamed the file and restarted the Toon.
The scsync file looks like it used to be, reactivate zon op toon but I can't select any of it ore see it.

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 6:40 pm
by TheHogNL
Daniel wrote:I renamed the file and restarted the Toon.
The scsync file looks like it used to be, reactivate zon op toon but I can't select any of it ore see it.
Ok try this

Code: Select all

sed -i 's#startqt >/dev/null#startqt >/var/log/qt#' /etc/inittab  ; init q ; killall -9 qt-gui
This will log all QT-gui output to /var/log/qt (and restart qt-gui)

After it start do a

Code: Select all

 grep -i solar /var/log/qt
This should show that solar app is enabled and part of the 'filterEnabledApps'.

Don't forget to stop the logging when you are done debugging or else your toon will fill up the disks with logging within a few days:

Code: Select all

sed -i 's#startqt >/var/log/qt#startqt >/dev/null#' /etc/inittab  ; init q ; killall -9 qt-gui

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 7:14 pm
by Daniel
thanks for help!
is this what you mean?

Toon:~# grep -i solar /var/log/qt
qml: Trying to load unregistered tile qrc:/apps/graph/SolarThisMomentTile.qml fr om config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/SolarThisMom entTile.qml timestamp=1570898923
qml: Trying to load unregistered tile qrc:/apps/graph/SolarGenerationTodayTile.q ml from config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/SolarGenerat ionTodayTile.qml timestamp=1570898923
qml: Trying to load unregistered tile qrc:/apps/graph/GraphSolarDayTile.qml from config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphSolarDa yTile.qml timestamp=1570898923
qml: Trying to load unregistered tile qrc:/apps/graph/SolarThisMomentTile.qml fr om config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/SolarThisMom entTile.qml timestamp=1570898923
qml: Trying to load unregistered tile qrc:/apps/graph/GraphSolarHourTile.qml fro m config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphSolarHo urTile.qml timestamp=1570898923
qml: Trying to load unregistered tile qrc:/apps/graph/GraphSolarDayTile.qml from config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphSolarDa yTile.qml timestamp=1570898923
qml: Trying to load unregistered tile qrc:/apps/graph/GraphEuroSolarDayTile.qml from config
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphEuroSol arDayTile.qml timestamp=1570898923
Toon:~# Toon:~# sed -i 's#startqt >/dev/null#startqt >/var/log/qt#' /etc/inittab ; init
-sh: Toon:~#: not found
[hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphEuroSol arDayTile.qml timestamp=1570898923
Toon:~#
Usage: init 0123456SsQqAaBbCcUu

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 8:06 pm
by TheHogNL
No but you didn't copy paste it correctly also I think.
What did you do here?
Toon:~# Toon:~# sed -i 's#startqt >/dev/null#startqt >/var/log/qt#' /etc/inittab ; init
-sh: Toon:~#: not found

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 8:40 pm
by Daniel
TheHogNL wrote:No but you didn't copy paste it correctly also I think.
What did you do here?
Toon:~# Toon:~# sed -i 's#startqt >/dev/null#startqt >/var/log/qt#' /etc/inittab ; init
-sh: Toon:~#: not found

Pressed the wrong mouse button :roll:

I will try again
  • login as: root
    root@192.168.178.126's password:
    Toon:~# sed -i 's#startqt >/dev/null#startqt >/var/log/qt#' /etc/inittab ; init
    q ; killall -9 qt-gui
    Toon:~# grep -i solar /var/log/qt
    qml: Trying to load unregistered tile qrc:/apps/graph/SolarThisMomentTile.qml fr om config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/SolarThisMom entTile.qml timestamp=1570905048
    qml: Trying to load unregistered tile qrc:/apps/graph/SolarGenerationTodayTile.q ml from config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/SolarGenerat ionTodayTile.qml timestamp=1570905048
    qml: Trying to load unregistered tile qrc:/apps/graph/GraphSolarDayTile.qml from config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphSolarDa yTile.qml timestamp=1570905048
    qml: Trying to load unregistered tile qrc:/apps/graph/SolarThisMomentTile.qml fr om config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/SolarThisMom entTile.qml timestamp=1570905048
    qml: Trying to load unregistered tile qrc:/apps/graph/GraphSolarHourTile.qml fro m config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphSolarHo urTile.qml timestamp=1570905048
    qml: Trying to load unregistered tile qrc:/apps/graph/GraphSolarDayTile.qml from config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphSolarDa yTile.qml timestamp=1570905048
    qml: Trying to load unregistered tile qrc:/apps/graph/GraphEuroSolarDayTile.qml from config
    [hcom]Sending HBXT_ACTION_INVOKE from Toon:qt-gui to Toon:happ_kpi/Logger: n=Log Message appKey=missingTileRegistrationInfo appValue=qrc:/apps/graph/GraphEuroSol arDayTile.qml timestamp=1570905048
    Toon:~#

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 9:02 pm
by TheHogNL
Ok so yes the solar app isn't started. The toon was rebooted after enabling solar in the scsync file? And what version firmware are you on?
Normally if both the solar options in the scsync file are enabled the solar app should load.

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 9:16 pm
by Daniel
Yes the Toon is reboot after enabling solar in the scsync (<SolarDisplay>1</SolarDisplay><SolarActivated>1</SolarActivated>)

update to 5.13.12 all good.
After the toon has restarted (the solar panels still worked) i put off some toon features apps in the tsc menu because the toon become slow.
Only left zon op toon on.
Then the toon restarted and the solar panel screen was gone.

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 9:18 pm
by TheHogNL
owh wait, can you check your /qmf/qml/config/TenantSettings.json file?
And if that is empty (what i'm thinking) put this into it:

Code: Select all

{
        "appWeather": "",
        "appGraphTileLowestUsage": true,
        "i18nLocales": [
                "nl_NL"
        ],
        "appWhatIsNewAutostart": false,
        "enabledHeatingSourceConfiguration": false,
        "enabledGasMeterConfiguration": false,
        "appEMetersSettingsAdvancedDisabled": false,
        "appSystemSettingsFactoryResetDisabled": false,
        "appControlPanelSmartplugHardRemoveDisabled": false,
        "appControlPanelPinProtectRemoveBridge": false,
        "appControlPanelLampRenameDisabled": false,
        "appControlPanelPlugRenameDisabled": false,
        "appControlPanelHueSceneSaveDisabled": false,
        "featSMEEnabled": true,
        "featShowEnergyMeterImages": true,
        "featHolidayOffPeakEnabled": true,
        "featSmokeDetectorSensitivityEnabled": true,
        "featAlarmControlEnabled": true,
        "featHumidityEnabled": true,
        "featContactSettingsTabEnabled": true,
        "appSolarEnabled": true,
        "appBenchmarkEnabled": false,
        "appWhatIsNewEnabled": false,
        "appWhatIsToonEnabled": false,
        "appStatusUsageEnabled": false,
        "appSmokeDetectorEnabled": false,
        "appHeatRecoveryEnabled": true,
        "appBoilerMonitorEnabled": false,
        "appCustomerServiceEnabled": false,
        "appInboxEnabled": true,
        "appUpsellEnabled": true,
        "installationWizardApps": [
                "internet|true",
                "activation|true",
                "update|false",
                "emeters|false",
                "boiler|false"
        ]
}
This means that your file got empty while saving these features.

Re: something strange in config_happ_scsync

Posted: Sat Oct 12, 2019 9:33 pm
by Daniel
:D yes !

You were right the file was empty.
It works again!
Thanks for helping.