Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,


as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.


As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!



Smart Home Forum by FIBARO Team

How to setup Heating thermostat MCO MH8-FC


Recommended Posts



I have 6 x MCO MH8-FC thermostat fan controller on a multizone setup with and one FGS-222 relay for starting central gas boiler. 

I am new to Fibaro world and I want to learn but the winter already started and I need my heating system to work  :) . I have tried to associate the thermostat with the relay but not working. 

I someone can help me how to set up the system or at least some guide, please! ;(

Thank you in advance.


Please login or register to see this attachment.

Edited by silvinnio
updated info
Link to comment
Share on other sites

  • Topic Author
  • Please, any idea of an LUA code of how to activate Fibaro relay FGS-222 when MCO thermostat is starting the heating program?.

    Attached has the device template if that helps.

    Thank you.

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 11 months later...



    I got almost the same config (5 MH8) without any info how to control the boiler based on fancoil modules. I wonder you find out something meanwhile ?

    Thank you.

    Link to comment
    Share on other sites

  • Topic Author
  • Hi, 


    I had the chance to run cables from each fancoil module to the boiler. I chose to put in parallel all valve relay contact connected to the boiler start &stop in order to be independent from Fibaro in  case of any problem in the system. You have to separate the contact inside fancoil control  unit to have clear contact only for the boiler without any potentials. Fibaro just give me temperature setpoint from heating panel. It is working like this very well since  the beginning. 

    Link to comment
    Share on other sites

    • 1 year later...

    Here is my little scene to activate boiler based on fancoils state for heating. I think there should be an easier way, but it's Fibaro's secret yet.


    %% autostart
    %% properties
    %% events
    %% globals

    if (fibaro:countScenes()>1) then
        fibaro:debug('There can be only one!');

    HEATING_REFRESH = 30 * 1000;
    HCDEVICES = json.decode(fibaro:getGlobalValue("HomeTable"));
    FANCOIL_HEAT = "1";
    FANONLY_DELAY = 30 * 60;
    FANONLY_RUNTIME = 3 * 60;
    FCDATA = {
        {fc = HCDEVICES.Nappali.FanCoil, vent = HCDEVICES.Nappali.FanCoilventilator},
        {fc = HCDEVICES.Haloszoba.FanCoil, vent = HCDEVICES.Haloszoba.FanCoilventilator},
        {fc = HCDEVICES.Jatszoszoba.FanCoil, vent = HCDEVICES.Jatszoszoba.FanCoilventilator},
        {fc = HCDEVICES.Gyerekszoba.FanCoil, vent = HCDEVICES.Gyerekszoba.FanCoilventilator},
        {fc = HCDEVICES.Vendegszoba.FanCoil, vent = HCDEVICES.Vendegszoba.FanCoilventilator}
    boilerrelay = 0;
    -- FanCoil.mode = {0,1,2,6} (0 = off, 1 = heat, 2 = cool, 6 = fan only)
    -- FanCoil.state= {1,3} (1 = heat, 3 = fan only)

    function checkFancoils()
        local boiler = tonumber(fibaro:getValue(HCDEVICES.Kazanhaz.Kazanrele, "value"));
        local now = os.time();

        local i, j, fcstate, fcmode, ventstate, turnboileron;
        turnboileron = false;

        local triggerer = "";
        for i, j in ipairs(FCDATA) do
            fcstate = tonumber(fibaro:getValue(j.fc, "state"));
            fcmode = tonumber(fibaro:getValue(j.fc, "mode"));
            ventstate = tonumber(fibaro:getValue(j.vent, "state"));
            local room = fibaro:getRoomNameByDeviceID(j.fc);

            if (fcmode == 1 and (fcstate == 1 or fcstate == 3) and ventstate ~= 0) then
                turnboileron = true;
                triggerer = room;

        if (boiler == 0 and turnboileron) then
            fibaro:call(HCDEVICES.Kazanhaz.Kazanrele, "turnOn");
            boiler = 1;
            boilerrelay = 1;
            fibaro:debug("heating - boiler on triggered by " .. triggerer);
        elseif (boiler == 1 and turnboileron == false) then
            fibaro:call(HCDEVICES.Kazanhaz.Kazanrele, "turnOff");
            boiler = 0;
            boilerrelay = 0;
            fibaro:debug("heating - boiler off");
        -- fibaro:debug("-----------------------------------");

        setTimeout(checkFancoils, HEATING_REFRESH);


    Link to comment
    Share on other sites

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    • Create New...