Page 2 of 2

Re: External Temprature sensor

Posted: Sun Aug 16, 2020 8:47 pm
by TheHogNL
RvE wrote:
TheHogNL wrote:Nice work! This shows how much can be done with a bit of just trying and reading guides/manuals etc.
The only thing is that if I change something, and that works, something else stops working.
Like now I don't have webacces anymore so Toon can't be controlled via Home Assistant :?

So back to the search function / google again.

Check the firewall and if lighttpd is running. Thats the only two things what is needed for it to work.

Re: External Temprature sensor

Posted: Sun Aug 16, 2020 9:59 pm
by RvE
Wi-Fi problems.

Although my Wi-Fi system (TP-Link Omada controller and EAP345 AP's) shows that Toon is connected with full signal strength, Toon shows no signal, no IP address.
After a reboot everything is ok although I need to enable remote acces on Toon.

(is it possible to use the Ethernet port????)

Re: External Temprature sensor

Posted: Mon Aug 17, 2020 12:52 am
by Toonz
Yes, the Ethernet port works fine

Re: External Temprature sensor

Posted: Tue Aug 18, 2020 9:37 pm
by RvE
TheHogNL wrote: Check the firewall and if lighttpd is running. Thats the only two things what is needed for it to work.
Both are ok.
On Toon I can enable local network acces (and than everything works) but it will disable it's self after 2 hours.

Re: External Temprature sensor

Posted: Wed Aug 19, 2020 8:10 am
by TheHogNL
RvE wrote:
TheHogNL wrote: Check the firewall and if lighttpd is running. Thats the only two things what is needed for it to work.
Both are ok.
On Toon I can enable local network acces (and than everything works) but it will disable it's self after 2 hours.
Don't touch that button. It will replace your rooted toon firewall settings after that 2 hours. On a normal rooted toon local network access is already enabled for ever.

Re: External Temprature sensor

Posted: Wed Aug 19, 2020 9:12 am
by mAiden
If it works with local network, then you need to check you're iptables.

Re: External Temprature sensor

Posted: Wed Aug 19, 2020 7:05 pm
by RvE
TheHogNL wrote: Don't touch that button. It will replace your rooted toon firewall settings after that 2 hours.
Aaaaahhhh.. That explains a lot :D :D :D

Thanx again!

Re: External Temprature sensor

Posted: Mon Oct 12, 2020 9:55 am
by RvE
A small update:

System is still running 'fine'.

After a firmware update, the qmf_release.xml file was overwritten so I had to edit the file again.
Not a big deal but something to remember for a next time.

Re: External Temprature sensor

Posted: Mon Nov 14, 2022 8:20 am
by sa_ma
Hi,
I am getting into some kind of issue with this setup
I did all the steps and indeed the tempreture is following the external sensor , however the boiler is not responding to the new tempreture , somehow the tempreture correction seems to interfere
any idea how to correct that ?

Re: External Temprature sensor

Posted: Mon Nov 14, 2022 10:59 am
by sa_ma
RvE wrote: Sun Aug 16, 2020 12:00 am Ok... I'm almost done now :D :D :D

I found out that Toon is very slow updating the temperature.
So if I manually changed the temperature to 24.5, Toon will gradually change the temperature to 24.5. I think the whole process last a few minutes. So thats why I thought the scripts and settings did not work because I did not see any changes on the screen.

I found a bug in Toon. with this setup.
If I want to calibrate the temperature in the menu of Toon, it wil change to a very odd value and it is not possible to change that value..... So hands of of that setting :D

The Node Red script on Home Assistant works
The webserver works
The wget download script works
Toon reads the contents of the text file.

Only one thing that I need to solve is to automatically start the script at boot.

For the info:
Node Red see attached file.
Schermafbeelding 2020-08-15 om 23.37.11.png

download script (/etc/init.d/download_temp.sh):

Code: Select all

#!/bin/sh
while true
do
    wget -q -N -O /var/externaltemp/temp http://192.168.178.6/temp.txt
    sleep 30
done
and qmf_release.xml:

Code: Select all

        <happ_thermstat>                                                        
                <useDynamicTempCorrection>0</useDynamicTempCorrection>          
                <sysFsTempAddress>/var/externaltemp/temp</sysFsTempAddress>     
        </happ_thermstat>  
how did you fix it when you modified the correction and could not get it back to normal ?

Re: External Temprature sensor

Posted: Mon Nov 14, 2022 1:18 pm
by RvE
I don't know what I did back then.

Change the settings back in /qmf/etc/qmf_release.xml

Code: Select all

        
        <happ_thermstat>                                                        
                <useDynamicTempCorrection>0</useDynamicTempCorrection>          
                <i2cTempError>0</i2cTempError>                                  
                <sysFsTempAddress>/var/externaltemp/temp</sysFsTempAddress>     
                <maxPreheatTime>180</maxPreheatTime>                            
        </happ_thermstat>    
But I can remember something that this did not worked well.
After a fimware update or downgrade it should be back to normal (update the qmf_release.xml after firmware update)

Re: External Temprature sensor

Posted: Wed Nov 16, 2022 9:51 am
by sa_ma
RvE wrote: Mon Nov 14, 2022 1:18 pm I don't know what I did back then.

Change the settings back in /qmf/etc/qmf_release.xml

Code: Select all

        
        <happ_thermstat>                                                        
                <useDynamicTempCorrection>0</useDynamicTempCorrection>          
                <i2cTempError>0</i2cTempError>                                  
                <sysFsTempAddress>/var/externaltemp/temp</sysFsTempAddress>     
                <maxPreheatTime>180</maxPreheatTime>                            
        </happ_thermstat>    
But I can remember something that this did not worked well.
After a fimware update or downgrade it should be back to normal (update the qmf_release.xml after firmware update)
for future reference if someone had the same issue :
tried to revert back qmf_release.xml did not work for me , what worked for me is factory reset
did not try to have firmware downgrade

Re: External Temprature sensor

Posted: Fri Dec 15, 2023 10:51 am
by sa_ma
TheHogNL wrote: Sun Aug 16, 2020 6:46 pm Nice work! This shows how much can be done with a bit of just trying and reading guides/manuals etc.

Unfortunatly this doesn't work on a Toon2 as it has other type of temp sensors which can not be changed to another file as in a Toon1 :(
As I am considering the upgarde to Toon2 , have we found any workaround for this ?

Re: External Temprature sensor

Posted: Fri Dec 15, 2023 10:26 pm
by Toonz
No, this cannot be done on a Toon 2