Page 1 of 1

Using Toon controlling the floorheating

Posted: Sun Nov 24, 2019 12:27 pm
by Jelzie
Hi,

I'm new here. Rooted my toon v1 a couple of months ago and linked it to domoticz. Great work you are al doing here, like the apps for toon already created! Now i want to do some more with domoticz and the toon. One of de biggest savings in energy consumption i can bring about is to regulate the floorheating pump. I'm not a software developer but it might be a nice idea to make or maybe someone already has a solution:

If i put a zwave plug between the floorheating pump, and link it to toon: switch on when the central heating is working (burner in use) and keep running til 30 minutes after it switches of or so? and on day's the burner is not in use, just let it run for 15 minutes.

Can do this using domoticz i asume, but maybe nice to make a gui on the toon wich also monitors the energy consumption of the pump and gives alarm if the burner is in use and there is no energy consumption from the pump.... pump failures... :)

just an idea, thought i should share it here...

greatz Jelle

Re: Using Toon controlling the floorheating

Posted: Sun Nov 24, 2019 3:28 pm
by TheHogNL
Good idea. This adds to this script I posted earlier where instead of running the pump an electric heater is started also using a zwave plug.
viewtopic.php?f=97&t=12568

You can use that script exactly the same to start the pump.

Futher, making it into an app would be nice also. Showing the pump/electric heater Wattages and controlling it from there would be nice. I'll have a go on that soon (when I find some time).

Re: Using Toon controlling the floorheating

Posted: Sun Nov 24, 2019 3:28 pm
by TheHogNL
Good idea. This adds to this script I posted earlier where instead of running the pump an electric heater is started also using a zwave plug.
viewtopic.php?f=97&t=12568

You can use that script exactly the same to start the pump.

Futher, making it into an app would be nice also. Showing the pump/electric heater Wattages and controlling it from there would be nice. I'll have a go on that soon (when I find some time).

Re: Using Toon controlling the floorheating

Posted: Sun Nov 24, 2019 9:29 pm
by michel30
I plugged out the power adapter from the floor heating pump in the summer, my CV engineer says that this is bad for the pump.
You can better plugin a timer in between.

Now that I read this :-) I am also interest to build something like to switch on during the heating and for in the summer run only 15 minutes ones a day.

I use a home assistant.

Re: Using Toon controlling the floorheating

Posted: Mon Nov 25, 2019 10:50 am
by TheHogNL
michel30 wrote:I plugged out the power adapter from the floor heating pump in the summer, my CV engineer says that this is bad for the pump.
You can better plugin a timer in between.

Now that I read this :-) I am also interest to build something like to switch on during the heating and for in the summer run only 15 minutes ones a day.

I use a home assistant.
Yes that is true. The pump can lock up if not used for a long period. Once a week should be ok btw.

I already started to build an app for that. I'm only thinking about where to put the routine to switch on and off. If it is done in the GUI part the stuff isn't running when the GUI is failing (for example when on high load or somehting like that). The Toon itself runs the main routines in binaries and not in the GUI for that same reason. I can choose to run the routine in bash script so it still runs even when the GUI failes. What do you guys think?

Re: Using Toon controlling the floorheating

Posted: Mon Nov 25, 2019 6:16 pm
by Jelzie
Hi hognl,

Great to hear :) Thnx!

I agree, i think bash script would be better in this case. Because of the importance.

Greetz Jelle

Re: Using Toon controlling the floorheating

Posted: Sun Feb 23, 2020 12:00 am
by Havym
I use a dzVents script for switching my Klik aan Klik uit on 433Mhz. If the burner turns of the floor pump runs for 60 minutes.
In summer time the pump runs every day for 1 hour at 3am.

Code: Select all

return 
{
    on = 
    {
        devices = { 'ToonBranderInfo'},
        timer = { 'at 03:19'},
    },
   
    logging = 
    { 
        level = domoticz.LOG_DEBUG
    },
    
    execute = function(domoticz, item)
        _G.logMarker =  _G.moduleLabel
       
        local Vloerverwarming = domoticz.devices('Vloerverwarming')
        
        if item.isDevice then 
            if domoticz.devices('ToonBranderInfo').levelName == 'CV' then
                domoticz.log('Brander is aan!')
                Vloerverwarming.switchOn()
--          elseif Vloerverwarming.state == 'On' then
            elseif domoticz.devices('ToonBranderInfo').levelName == 'Off' then
                domoticz.log('Brander is uit!')
                Vloerverwarming.switchOff().afterHour(1)
            end
        elseif Vloerverwarming.lastUpdate.hoursAgo > 22 then  -- true when triggered by timer and Vloerverwarming not active in last 23-24 hours 
            Vloerverwarming.switchOn()
            Vloerverwarming.switchOff().afterHour(1)
        end
    end
}
I got some help getting this code
https://www.domoticz.com/forum/viewtopi ... 78#p229465