Toon firmware: issues (and solutions)

Forum about the Toon firmware, and its extensions

Moderators: marcelr, TheHogNL, Toonz

Post Reply
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Toon firmware: issues (and solutions)

Post by RDNZL »

After upgrading my Toon from version 3.5.x to 3.6.x I see that the opentherm stats are all zero, anyone else has seen this?
Any known way to enable them again?
Did a reboot, and waited a while, keteladapter status is oke, everything else works fine.

Code: Select all

http://192.168.x.x:10080/happ_thermstat?action=printTableInfo
info = [ 
{'dataId':'0', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 0: 00 00, SlaveState burn=NoFlame, fault=0]'},
{'dataId':'1', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 1: 00 00]'},
{'dataId':'2', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 2: 00 00]'},
{'dataId':'3', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 3: 00 00]'},
{'dataId':'15', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 15: 00 00]'},
{'dataId':'17', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 17: 00 00, RelModLvl=0.00]'},
{'dataId':'25', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 25: 00 00, TempBoiler=0.00]'},
{'dataId':'5', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 5: 00 00]'},
{'dataId':'6', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 6: 00 00]'},
{'dataId':'9', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 9: 00 00]'},
{'dataId':'16', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 16: 00 00, RoomSetpoint=0.00]'},
{'dataId':'18', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 18: 00 00]'},
{'dataId':'24', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 24: 00 00, RoomTemperature=0.00]'},
{'dataId':'26', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 26: 00 00]'},
{'dataId':'27', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 27: 00 00]'},
{'dataId':'28', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 28: 00 00, TempReturn=0.00]'},
{'dataId':'35', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 35: 00 00]'},
{'dataId':'48', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 48: 00 00]'},
{'dataId':'56', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 56: 00 00, DHW Setpoint=0.00]'},
{'dataId':'57', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 57: 00 00]'},
{'dataId':'73', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 73: 00 00]'},
{'dataId':'113', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 113: 00 00]'},
{'dataId':'114', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 114: 00 00]'},
{'dataId':'115', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 115: 00 00]'},
{'dataId':'116', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 116: 00 00, BurnerStarts=0]'},
{'dataId':'117', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 117: 00 00]'},
{'dataId':'118', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 118: 00 00]'},
{'dataId':'119', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 119: 00 00]'},
{'dataId':'120', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 120: 00 00, BurnerHours=0]'},
{'dataId':'121', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 121: 00 00]'},
{'dataId':'122', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 122: 00 00]'},
{'dataId':'123', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 123: 00 00]'},
{'dataId':'127', 'value0':'00', 'value1':'00', 'updated':'0', 'description':'[ID 127: 00 00]'}
]
Regards, Ron.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Hi Ron,

Moved your post to a separate topic. Seemed more appropriate to me. The last update (3.6.3) was a major one. It encompassed the renewal of all the Quby software on toon. Looking at the issues that are being reported at their forum, your findings may well be a part of the problems they have right now.

From the hcb_config.xml file, it looks as if they have returned to the original port number for the web services:

Code: Select all

...
	<hcb_web>
		<!-- Release uses lighttpd; put hcb_web somewhere where its harmless -->
		<port>7080</port>
		<defaultEntry>/hdrv_zwave/</defaultEntry>
...
Is your boiler working properly?

best,

marcelr
cvdpol01
Starting Member
Starting Member
Posts: 17
Joined: Tue Oct 04, 2016 11:25 am

Re: Toon firmware: issues (and solutions)

Post by cvdpol01 »

I updated also my Toon to the newer version when I rooted it. It tested also the scripts of Ierlandfan and got the same output of RDNZL. This are the files in the /HCBv2/www/happ_thermstat. Maybe this can help searching a solution.
Attachments
happ_thermstat.zip
(18.63 KiB) Downloaded 733 times
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Toon firmware: issues (and solutions)

Post by RDNZL »

Sorry, I was looking for a correct place to create my post ;P

My Toon is still using the 10080 port, it was for a long time even the port 7080 was still present in hcb config.
It's defined in lighttpd.conf

Code: Select all

tcp        0      0 0.0.0.0:10080           0.0.0.0:*               LISTEN      
tcp        0      0 127.0.0.1:8000          0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:5555            0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      
tcp        0      0 0.0.0.0:1337            0.0.0.0:*               LISTEN  
I'm comparing an old backup and new one, found some diffs in cfg files, but restoring them didn't bring the values back yet.
Heating and toon itself are working fine.
Regards, Ron.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

I'm comparing an old backup and new one, found some diffs in cfg files, but restoring them didn't bring the values back yet.
So it's a software thing, right, not the configuration?

Can you roll back to the previous version (3.5.4)? In 3.6.3 almost everything regarding the toon application has been updated. Just the kernel and base system + base libraries remained untouched. Hard to pinpoint a specific application in this case, although happ_thermstat and hcb_comm may be the first ones to look into, or one of their libraries. Not sure how backward compatible these libs are, though.

best,

marcelr
cvdpol01
Starting Member
Starting Member
Posts: 17
Joined: Tue Oct 04, 2016 11:25 am

Re: Toon firmware: issues (and solutions)

Post by cvdpol01 »

Hi Ron, Do you have any luck?
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware: issues (and solutions)

Post by Ierlandfan »

If you look at the output of ./happ_thermstat -vvvvv you can see that the values are read but that the table is not updated (error or deliberate)
You can see in hcb_projects.xml that there are references to the not working table (No idea they use a new logger function it seems)
You can revert back to for example happ-thermstat - 1.554-trunk.ipk and it works. I had the same error. (IPK attached)
If anyone (and if exist) has a more recent version please attach it here.
Attachments
happ-thermstat_1.554-trunk_qb2.rar
(166.37 KiB) Downloaded 702 times
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware: issues (and solutions)

Post by Ierlandfan »

The also introduced an error in the output of getThermostatInfo
(It's not valid json anymore because they added an "," at the end before the }
To make it valid json again:

$modulation_data = file_get_contents('http://IP_TOON:7080/happ_thermstat?action=getThermostatInfo');
$replace = str_replace(',}', '}', $modulation_data);
$modulation_array = json_decode($replace, TRUE);
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Hi Ierlandfan,

The happ_thermstat version you uploaded is the one that came with update 3.0.29.
Does it work well with the software of update 3.6.3? Did you test it?

best,

marcelr
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware: issues (and solutions)

Post by Ierlandfan »

Yes, I did test it myself, it's working like a charm. I simply removed happ_thermstat 3.6.3 (opkg remove) and installed the attached version, no problems detected. Everything still works.

opkg list-upgradable
happ-thermstat - 1.554-trunk - 1.852-ene-master
Ierlandfan
Member
Member
Posts: 151
Joined: Thu Oct 03, 2013 7:53 pm

Re: Toon firmware: issues (and solutions)

Post by Ierlandfan »

Here's the snippet from the debug in 3.6.3 (I upgraded just for this :-)

Code: Select all

[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 0: 00 00, SlaveState burn=NoFlame, fault=0] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 1: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 2: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 3: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 15: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 17: 00 00, RelModLvl=0.00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 25: 00 00, TempBoiler=0.00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 5: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 6: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 9: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 16: 00 00, RoomSetpoint=0.00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 18: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 24: 00 00, RoomTemperature=0.00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 26: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 27: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 28: 00 00, TempReturn=0.00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 35: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 48: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 56: 00 00, DHW Setpoint=0.00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 57: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 73: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 113: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 114: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 115: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 116: 00 00, BurnerStarts=0] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 117: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 118: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 119: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 120: 00 00, BurnerHours=0] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 121: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 122: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 123: 00 00] updated=0
[happ_thermstat:../src/ch_man.c@ch_printTableInfo():92]AddInfo [ID 127: 00 00] updated=0
To downgrade to 1.554: winscp or scp happ-thermstat_1.554-trunk_qb2.ipk to /tmp
then issue
cd /tmp
opkg install --force-downgrade happ-thermstat_1.554-trunk_qb2.ipk
cvdpol01
Starting Member
Starting Member
Posts: 17
Joined: Tue Oct 04, 2016 11:25 am

Re: Toon firmware: issues (and solutions)

Post by cvdpol01 »

Thanks Ierlandfan,

I did the downgrade as well and after that I saw the results in de printTableInfo :-)
It's working.
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Toon firmware: issues (and solutions)

Post by RDNZL »

Will try the downgrade too, didn't had time to look into it earlier...
Can this downgrade create a conflict on next Enecon upgrade?
Regards, Ron.
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon firmware: issues (and solutions)

Post by marcelr »

Can this downgrade create a conflict on next Enecon upgrade?
Most probably, the next upgrade will overwrite this downgraded package with the latest version of it.
BrainHunt
Starting Member
Starting Member
Posts: 23
Joined: Thu Jun 30, 2016 11:37 am

Re: Toon firmware: issues (and solutions)

Post by BrainHunt »

Probably a dumb question but how can I upgrade the firmware of the (hacked) Toon anyway?
(see some comments about .sh scripts in other topic but don't see the actual scripts)
Post Reply

Return to “Toon Firmware”