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!

 

Regards,

Smart Home Forum by FIBARO Team


Using device state as trigger of a Fan Coil thermostat in HC3


Recommended Posts

Hello,

 

In the old HC2 system, while doing LUA programming, I could see a list by hovering with the mouse over the required device, giving the Slave ID as well as a list of properties used by the device and actions that the device will carry out when instructed. See pic.

For example, I need to activate a fan coil motor at high speed from a room when another fan coil thermostat has the fan running at high speed in another room. I have Heltun fan coil control thermostat.

How can we do this in HC3 ?

I have found something by creating a QA, "Generic device" and then accessing the "Structure" menu but I can't find how to use the fan state from a room as a trigger and command another fan.

How can I use this in a scene or is better as QA? 

HC2 was easier for beginners 😊

Thanks in advance.

 

 

Please login or register to see this attachment.

Edited by silvinnio
Link to comment
Share on other sites

I don't know this Heltun device, but i believe its has a parameter something like fanSpeed.

If so, you just need to create one single block scene, where the trigger will be the fan's fanSpeed from the first room, that you select from the dropdwon, and on the action side you just selct the other fan from the other room and set the desired action for fanSpeed.

For this single automation you won't need a QA. It is easy in block scenes.

 

Edited by Neo Andersson
Link to comment
Share on other sites

  • Topic Author
  • Hi Neo,

     

    Thank you for your reply.

    I have tried already but that will only set the fan on high-speed mode and not start the fan.

    Also, the scene triggers even when the fan is off as that is only the speed mode not the state of the fan.

    I have no other options in a normal block scene.

    I need to find a way for the state of the fan in a room to start something else.

    See pics attached.

     

    Regards,

     

     

     

     

    Please login or register to see this attachment.

     

     

     

    Please login or register to see this attachment.

     

    Edited by silvinnio
    Link to comment
    Share on other sites

    1 hour ago, silvinnio said:

    Hi Neo,

     

    Thank you for your reply.

    I have tried already but that will only set the fan on high-speed mode and not start the fan.

    Also, the scene triggers even when the fan is off as that is only the speed mode not the state of the fan.

    I have no other options in a normal block scene.

    I need to find a way for the state of the fan in a room to start something else.

    See pics attached.

     

    Regards,

     

     

     

     

    Please login or register to see this attachment.

     

     

     

    Please login or register to see this attachment.

     

    Just add another block with the fan state. Its simple. Then it means both blocks must be true to run the action on the action side. Use AND operator to join the blocks. So first block of the trigger should be checking the fan speed, and the other the fan state.

    So to action will run only if fan is in Hight mode AND the fan is ON. Also to the action side add another scene, that will turn on the Fan, and not only set its speed.

    Edited by Neo Andersson
    Link to comment
    Share on other sites

  • Topic Author
  • This is why I am asking for help.

    On that thermostat device, there is no way to select fan state as a trigger or condition. Only the Fan Mode. Otherwise, it would have been easy to do 😊.

    But for sure there is a way to do it in LUA coding.

    How to use LUA coding and discover all the commands for this thermostat?

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    Yes it is easy to create a LUA code for it, if device's fan state is accessible. I doubt that is is accessible if it does not appear in block sceen selection block.

    Anyway you an check available commands and parameters in swagger.

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    thFan  = tostring(fibaro.getValue(ID, "thermostatFanState"))
    print(tostring(thFan))
    if (thFan =="RunningOrRunningLow") then
     

    Please login or register to see this image.

    /monthly_2024_02/image.png.22d18cc7556488aee97b24b4775eafc8.png" />
    • Like 1
    Link to comment
    Share on other sites

    19 hours ago, MarianoMartin93 said:
    thFan  = tostring(fibaro.getValue(ID, "thermostatFanState"))
    print(tostring(thFan))
    if (thFan =="RunningOrRunningLow") then
     

    Please login or register to see this link.

    Yes in case the thermostat supports it it should look like something this.

    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.

    Guest
    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...