Page 1 of 24

Toon firmware: issues (and solutions)

Posted: Sat Nov 05, 2016 4:55 pm
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]'}
]

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 05, 2016 11:53 pm
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

Re: Toon firmware: issues (and solutions)

Posted: Sun Nov 06, 2016 10:02 am
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.

Re: Toon firmware: issues (and solutions)

Posted: Sun Nov 06, 2016 11:18 am
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.

Re: Toon firmware: issues (and solutions)

Posted: Sun Nov 06, 2016 5:21 pm
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

Re: Toon firmware: issues (and solutions)

Posted: Tue Nov 08, 2016 10:50 pm
by cvdpol01
Hi Ron, Do you have any luck?

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 12, 2016 1:03 pm
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.

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 12, 2016 1:09 pm
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);

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 12, 2016 5:53 pm
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

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 12, 2016 8:51 pm
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

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 12, 2016 9:32 pm
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

Re: Toon firmware: issues (and solutions)

Posted: Sat Nov 12, 2016 9:37 pm
by cvdpol01
Thanks Ierlandfan,

I did the downgrade as well and after that I saw the results in de printTableInfo :-)
It's working.

Re: Toon firmware: issues (and solutions)

Posted: Sun Nov 13, 2016 11:09 am
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?

Re: Toon firmware: issues (and solutions)

Posted: Sun Nov 13, 2016 4:48 pm
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.

Re: Toon firmware: issues (and solutions)

Posted: Wed Nov 23, 2016 11:51 pm
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)