Using Toon controlling the floorheating

Everything about software tools, new software development and toolchains. For developers, mostly.

Moderators: marcelr, Toonz, TheHogNL, TerrorSource

Using Toon controlling the floorheating

Postby Jelzie » Sun Nov 24, 2019 11:27 am

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
Jelzie
Starting Member
Starting Member
 
Posts: 2
Joined: November 2019

Re: Using Toon controlling the floorheating

Postby TheHogNL » Sun Nov 24, 2019 2:28 pm

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.
https://www.domoticaforum.eu/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).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1606
Joined: August 2017

Re: Using Toon controlling the floorheating

Postby TheHogNL » Sun Nov 24, 2019 2:28 pm

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.
https://www.domoticaforum.eu/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).
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1606
Joined: August 2017

Re: Using Toon controlling the floorheating

Postby michel30 » Sun Nov 24, 2019 8:29 pm

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.
michel30
Member
Member
 
Posts: 255
Joined: August 2017

Re: Using Toon controlling the floorheating

Postby TheHogNL » Mon Nov 25, 2019 9:50 am

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?
Member of the Toon Software Collective
User avatar
TheHogNL
Forum Moderator
Forum Moderator
 
Posts: 1606
Joined: August 2017

Re: Using Toon controlling the floorheating

Postby Jelzie » Mon Nov 25, 2019 5:16 pm

Hi hognl,

Great to hear :) Thnx!

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

Greetz Jelle
Jelzie
Starting Member
Starting Member
 
Posts: 2
Joined: November 2019

Re: Using Toon controlling the floorheating

Postby Havym » Sat Feb 22, 2020 11:00 pm

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
Havym
Starting Member
Starting Member
 
Posts: 6
Joined: September 2019


Return to Toon software development

Who is online

Users browsing this forum: No registered users and 1 guest