Page 4 of 13

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 8:40 pm
by balans
After updating to 4.11 i missed some apps like buienradar, temperaturelogger and fileinfo they where installed said the toonstore but where not to be found i had to fill those apps in the /HCBv2/qml/qb/base/Globals.qml .
i spotted a solar map in that directory where those missing apps where placed and added solar just to be sure , i also needed to remove the ! from the if (!globals.features["standalone"]) in the /qmf/qml/apps/graph/GraphApp.qml to get al back.
No sun anymore so no realtime logging, but i got some tiles with the option zon so it seems to have worked.

Thanks for the info !!

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 8:50 pm
by TheHogNL
balans wrote:After updating to 4.11 i missed some apps like buienradar, temperaturelogger and fileinfo they where installed said the toonstore but where not to be found i had to fill those apps in the /HCBv2/qml/qb/base/Globals.qml .
i spotted a solar map in that directory where those missing apps where placed and added solar just to be sure , i also needed to remove the ! from the if (!globals.features["standalone"]) in the /qmf/qml/apps/graph/GraphApp.qml to get al back.
No sun anymore so no realtime logging, but i got some tiles with the option zon so it seems to have worked.

Thanks for the info !!
After each update the Globals.qml will be overwritten. So previous installed apps like buienradar should be entered in the Globals.qml again as you did.

Adding the solar app and removing the ! should normally not be necessary. But if that works your Toon somehow thinks it is standalone (which ofcourse he is, but normally a toon would not think is he standalone when rooted). Or did you do the official rooting by Quby method?

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:07 pm
by balans
Ok maybe it is because i use the vpn to upgrade ? i have no idea i missed you`re earlier post so found most of the things in the topics , i remembered i had done this earlier coming from the 3.6.x firm
would be great if this could be scripted(not my thing unfortunately)with the update-rooted.sh script.

This toon is rooted by me with the help of this forum :D not by Quby

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:10 pm
by TheHogNL
Each upgrade will change some files, no matter the source. I'm still writing a new version of the script which will fix some common things after a upgrade.

Can you run this? I'm interested in your output, espcially the 'standalone' part:

Code: Select all

 /qmf/bin/bxt -c -d :happ_scsync -s specific1 -n GetAgreementDetails

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:14 pm
by TheHogNL
Also check your config_happ_scsync.xml file for a 'standalone' variable. Not present in my Toon's config_happ_scsync.xml file.

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:15 pm
by balans
here you go!

Code: Select all

/# /qmf/bin/bxt -c -d :happ_scsync -s specific1 -n GetAgreementDetails
[hxml] libhcb_xml          v0.1 r111   (Nov  3 2017 12:59:29) [master#c651cc816a] (ezxml 0.8.6)
[hbxt] libhcb_boxtalk      v0.1 r123   (Nov  3 2017 12:59:04) [master#e07a586e39]
[hcom] libhcb_com          v0.1 r124   (Nov  3 2017 12:58:58) [master#e35546da91]
[hbas] libhcb_base         v0.1 r293   (Nov  3 2017 12:58:52) [master#fc283a35c9]
[hdrv] libhcb_drv          v0.1 r342   (Nov  3 2017 12:59:04) [master#3c5507b396]
[bxt.c] bxt.c              v r342      (Nov  3 2017 12:59:06) [master#3c5507b396] pid(5838)
--------------------------------------------------------------------------------------------
condensed-output(1)
hbxt_addMsgDestination(eneco-001-316825:happ_scsync)
hbxt_setMsgServiceID(specific1)
hbxt_setActionName(GetAgreementDetails)
Boxtalk Message to Send:
--------------------------------------------------------------------------------------------
<action class="invoke" uuid="bxt.c-5838" destuuid="eneco-001-316825:happ_scsync" serviceid="specific1">
    <u:GetAgreementDetails xmlns:u="urn:hcb-hae-com:service:hcb-svc-testid:1">
    </u:GetAgreementDetails>
</action>
--------------------------------------------------------------------------------------------
[hbas]Config from /qmf/etc, loading 4 files with decreasing importance.
[hbas]Config from /qmf/etc/qmf_tenant.xml priority 4
[hbas]Config from /qmf/etc/qmf_release.xml priority 3
[hbas]Config from /qmf/etc/qmf_project.xml priority 2
[hbas]Config from /qmf/etc/qmf_hardware.xml priority 1
[hcom]Connecting to localhost:1337 as 'bxt.c-5838'...
[hcom]Connected to: Home Control Box -- hcb_comm/r184 hbas/r293 hdrv/r342 hcom/r124 hbxt/r123 hxml/r111 -- V=3 E=none A=none -- BoxTalk Hub Ready.
[hcom]Connection flags: sessionKey=5838-1521832434 eofMarker=NULL encryption=none
[bxt.c]Sending HBXT_ACTION_INVOKE from bxt.c-5838 to eneco-001-316825:happ_scsync/specific1: n=GetAgreementDetails
[bxt.c]Waiting until first message, press ^C to abort...
--------------------------------------------------------------------------------------------
[bxt.c]Received HBXT_ACTION_INVOKE from eneco-001-316825:hcb_comm to UNKNOWN_CLIENT/boxtalk1: n=doInit sessionKey=726-1521827533
[bxt.c]Received HBXT_ACTION_RESPONSE from eneco-001-316825:happ_scsync to bxt.c-5838/specific1: n=GetAgreementDetailsResponse activated=1 standalone=1 productOption=
[hbxt]/--------------------------------\
<action class="response" uuid="eneco-001-316825:happ_scsync" destuuid="bxt.c-5838" serviceid="urn:hcb-hae-com:serviceId:specific1">
    <u:GetAgreementDetailsResponse xmlns:u="urn:hcb-hae-com:service:specific1:1"><activated>1</activated>
   <standalone>1</standalone>
   <productOption>
    <district_heating>0</district_heating>
    <solar>1</solar>
    <electricity>1</electricity>
    <gas>1</gas>
    <sw_updates>1</sw_updates>
    <content_apps>1</content_apps>
    <telmi_enabeld>0</telmi_enabeld>
    <other_provider_elec>0</other_provider_elec>
    <other_provider_gas>0</other_provider_gas>
    <SME>0</SME>
    <heatwinner>0</heatwinner></productOption>
    </u:GetAgreementDetailsResponse>
</action>
[hbxt]\--------------------------------/
--------------------------------------------------------------------------------------------
[hcom]Disconnecting from hcb_comm...
and no standalone variable in config_happ_scsync.xml

but i see one in the printed list where is that option located not in ....scsync.xml

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:22 pm
by TheHogNL
Ok confirmed. Your toon is in 'standlone' mode. Don't understand why yet.

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:29 pm
by TerrorSource
The "standalone" variable is set in scscync.xml, the scsync.xml file is the general settings file.
You need to set the values in that file the same as the following line:

<visibility>0</visibility><StartDate>0</StartDate><EndDate>-1</EndDate><ProductVariant>Toon</ProductVariant><activated>1</activated><wizardDone>1</wizardDone>

And reboot afterwards, should fix the "Standalone" mode.

Btw. this is also in the "Manual" topic, in the "Wiki"-part :)

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:46 pm
by TheHogNL
Correct. How could I forget this. You are probably missing the <ProductVariant>Toon</ProductVariant> or the correct start and end time

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 9:56 pm
by balans
ok did indeed had the end date filed with -1 , but i did not read(my miss) about the startdate being 0

this is my line

Code: Select all

 <visibility>0</visibility><StartDate>0</StartDate><EndDate>-1</EndDate><ProductVariant>Toon</ProductVariant><activated>1</activated><wizardDone>1</wizardDone><SoftwareUpdates>1</SoftwareUpdates><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><ContentApps>1</ContentApps><TelmiEnabled>0</TelmiEnabled><mobileAccess>0</mobileAccess><supportEnabled>0</supportEnabled><supportEnabledStart>0</supportEnabledStart><researchEnabled>0</researchEnabled><doSolarWhatsnew>1</doSolarWhatsnew><latestWhatsnewVersion>qt-gui - 1.8075-ene-release-4.10</latestWhatsnewVersion><statusUsageFirstUse>1</statusUsageFirstUse><scStatusFlags>7</scStatusFlags><commissionState>4</commissionState></device>

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 10:09 pm
by TheHogNL
Your line looks ok now. Does a reboot fix it for you now ?

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 10:13 pm
by balans
<standalone>1</standalone>

to bad it did not

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 10:18 pm
by TheHogNL
Ok i'm out of options now. Please check the scsync file for other errors. With a good scsync your standalone should go to 0.
But then again, if your modification (removing the !) works for you, just leave it like that. Just remember to change that after every upgrade.

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 10:20 pm
by balans
a reading is an art when its not youre daily reading , a reboot did the trick i only killed qt-gui wich it did not fix it

Code: Select all

# /qmf/bin/bxt -c -d :happ_scsync -s specific1 -n GetAgreement
Details
[hxml] libhcb_xml          v0.1 r111   (Nov  3 2017 12:59:29) [master#c651cc816a] (ezxml 0.8.6)
[hbxt] libhcb_boxtalk      v0.1 r123   (Nov  3 2017 12:59:04) [master#e07a586e39]
[hcom] libhcb_com          v0.1 r124   (Nov  3 2017 12:58:58) [master#e35546da91]
[hbas] libhcb_base         v0.1 r293   (Nov  3 2017 12:58:52) [master#fc283a35c9]
[hdrv] libhcb_drv          v0.1 r342   (Nov  3 2017 12:59:04) [master#3c5507b396]
[bxt.c] bxt.c              v r342      (Nov  3 2017 12:59:06) [master#3c5507b396] pid(1557)
--------------------------------------------------------------------------------------------
condensed-output(1)
hbxt_addMsgDestination(eneco-001-316825:happ_scsync)
hbxt_setMsgServiceID(specific1)
hbxt_setActionName(GetAgreementDetails)
Boxtalk Message to Send:
--------------------------------------------------------------------------------------------
<action class="invoke" uuid="bxt.c-1557" destuuid="eneco-001-316825:happ_scsync" serviceid="specific1">
    <u:GetAgreementDetails xmlns:u="urn:hcb-hae-com:service:hcb-svc-testid:1">
    </u:GetAgreementDetails>
</action>
--------------------------------------------------------------------------------------------
[hbas]Config from /qmf/etc, loading 4 files with decreasing importance.
[hbas]Config from /qmf/etc/qmf_tenant.xml priority 4
[hbas]Config from /qmf/etc/qmf_release.xml priority 3
[hbas]Config from /qmf/etc/qmf_project.xml priority 2
[hbas]Config from /qmf/etc/qmf_hardware.xml priority 1
[hcom]Connecting to localhost:1337 as 'bxt.c-1557'...
[hcom]Connected to: Home Control Box -- hcb_comm/r184 hbas/r293 hdrv/r342 hcom/r124 hbxt/r123 hxml/r111 -- V=3 E=none A=none -- BoxTalk Hub Ready.
[hcom]Connection flags: sessionKey=1557-1521836307 eofMarker=NULL encryption=none
[bxt.c]Sending HBXT_ACTION_INVOKE from bxt.c-1557 to eneco-001-316825:happ_scsync/specific1: n=GetAgreementDetails
[bxt.c]Waiting until first message, press ^C to abort...
--------------------------------------------------------------------------------------------
[bxt.c]Received HBXT_ACTION_INVOKE from eneco-001-316825:hcb_comm to UNKNOWN_CLIENT/boxtalk1: n=doInit sessionKey=726-1521836074
[bxt.c]Received HBXT_ACTION_RESPONSE from eneco-001-316825:happ_scsync to bxt.c-1557/specific1: n=GetAgreementDetailsResponse activated=1 standalone=0 productOption=
[hbxt]/--------------------------------\
<action class="response" uuid="eneco-001-316825:happ_scsync" destuuid="bxt.c-1557" serviceid="urn:hcb-hae-com:serviceId:specific1">
    <u:GetAgreementDetailsResponse xmlns:u="urn:hcb-hae-com:service:specific1:1"><activated>1</activated>
   <standalone>0</standalone>
   <productOption>
    <district_heating>0</district_heating>
    <solar>1</solar>
    <electricity>1</electricity>
    <gas>1</gas>
    <sw_updates>1</sw_updates>
    <content_apps>1</content_apps>
    <telmi_enabeld>0</telmi_enabeld>
    <other_provider_elec>0</other_provider_elec>
    <other_provider_gas>0</other_provider_gas>
    <SME>0</SME>
    <heatwinner>0</heatwinner></productOption>
    </u:GetAgreementDetailsResponse>
</action>
[hbxt]\--------------------------------/
--------------------------------------------------------------------------------------------
[hcom]Disconnecting from hcb_comm...
thnx!

Re: ZonOpToon alternative

Posted: Fri Mar 23, 2018 10:24 pm
by TheHogNL
Great! You got me puzzled :lol: