Toon firmware: issues (and solutions)

Forum about the tweaking of the Eneco Toon.

Moderator: marcelr

Toon firmware: issues (and solutions)

Postby RDNZL » Sat Nov 05, 2016 3:55 pm

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.
User avatar
RDNZL
Forum Moderator
Forum Moderator
 
Posts: 991
Joined: September 2006
Location: Dordrecht, The Netherlands

Re: Toon firmware: issues (and solutions)

Postby marcelr » Sat Nov 05, 2016 10:53 pm

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
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Toon firmware: issues (and solutions)

Postby cvdpol01 » Sun Nov 06, 2016 9:02 am

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 113 times
cvdpol01
Starting Member
Starting Member
 
Posts: 17
Joined: October 2016

Re: Toon firmware: issues (and solutions)

Postby RDNZL » Sun Nov 06, 2016 10:18 am

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.
User avatar
RDNZL
Forum Moderator
Forum Moderator
 
Posts: 991
Joined: September 2006
Location: Dordrecht, The Netherlands

Re: Toon firmware: issues (and solutions)

Postby marcelr » Sun Nov 06, 2016 4:21 pm

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
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Toon firmware: issues (and solutions)

Postby cvdpol01 » Tue Nov 08, 2016 9:50 pm

Hi Ron, Do you have any luck?
cvdpol01
Starting Member
Starting Member
 
Posts: 17
Joined: October 2016

Re: Toon firmware: issues (and solutions)

Postby Ierlandfan » Sat Nov 12, 2016 12:03 pm

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 121 times
Ierlandfan
Member
Member
 
Posts: 121
Joined: October 2013

Re: Toon firmware: issues (and solutions)

Postby Ierlandfan » Sat Nov 12, 2016 12:09 pm

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);
Ierlandfan
Member
Member
 
Posts: 121
Joined: October 2013

Re: Toon firmware: issues (and solutions)

Postby marcelr » Sat Nov 12, 2016 4:53 pm

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
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Toon firmware: issues (and solutions)

Postby Ierlandfan » Sat Nov 12, 2016 7:51 pm

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: 121
Joined: October 2013

Re: Toon firmware: issues (and solutions)

Postby Ierlandfan » Sat Nov 12, 2016 8:32 pm

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
Ierlandfan
Member
Member
 
Posts: 121
Joined: October 2013

Re: Toon firmware: issues (and solutions)

Postby cvdpol01 » Sat Nov 12, 2016 8:37 pm

Thanks Ierlandfan,

I did the downgrade as well and after that I saw the results in de printTableInfo :-)
It's working.
cvdpol01
Starting Member
Starting Member
 
Posts: 17
Joined: October 2016

Re: Toon firmware: issues (and solutions)

Postby RDNZL » Sun Nov 13, 2016 10:09 am

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.
User avatar
RDNZL
Forum Moderator
Forum Moderator
 
Posts: 991
Joined: September 2006
Location: Dordrecht, The Netherlands

Re: Toon firmware: issues (and solutions)

Postby marcelr » Sun Nov 13, 2016 3:48 pm

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.
marcelr
Advanced Member
Advanced Member
 
Posts: 840
Joined: May 2012
Location: Ehv

Re: Toon firmware: issues (and solutions)

Postby BrainHunt » Wed Nov 23, 2016 10:51 pm

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)
BrainHunt
Starting Member
Starting Member
 
Posts: 17
Joined: June 2016

Next

Return to Eneco Toon as Domotica controller

Who is online

Users browsing this forum: No registered users and 1 guest