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


HC3 : Broadlink HUB (with support RM4)


10der

Recommended Posts

hi, it's the first time i try to integrate LG & broadlink with lua,

10der, can you pls suggest me a program to open the "universal file" you have created? (.fqa)

 

i want to make a try,

another question, can you suggest me something to beghin to study?
 

thank you very much!!!!

Link to comment
Share on other sites

  • Topic Author
  • Please login or register to see this attachment.

    now support RM4

     

    * discover button just print all devices in your network

    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:f6:07:18,["blIp"] = 192.168.1.68,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 78:0f:77:63:c4:0b,["blIp"] = 192.168.1.75,["blDeviceType"] = 10141,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 34:ea:34:e3:d9:2e,["blIp"] = 192.168.1.39,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:40:99:c3,["blIp"] = 192.168.1.14,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:83:3b:83,["blIp"] = 192.168.1.20,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 24:df:a7:34:89:e2,["blIp"] = 192.168.1.51,["blDeviceType"] = 20954,}
     

    * getSensors method for RM4 can print the current temperature and humidity

    [08.11.2020] [21:54:45] [DEBUG] [QUICKAPP1948]: onAction: {"actionName":"getSensors","args":["192.168.1.51"],"deviceId":1948}
    [08.11.2020] [21:54:46] [DEBUG] [QUICKAPP1948]: 25.5 64.7

     

    * for using RM4 you should provide additional param

    ex

    all RM

    local irRfCode =
     "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(1948"sendIRCommand""192.168.1.39", irRfCode)

     

    for RM4

     local irRfCode =
     "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(1948"sendIRCommand""192.168.1.51", irRfCode, 0x51da)

     

     

    • Thanks 1
    Link to comment
    Share on other sites

    • 10der changed the title to HC3 : Broadlink HUB (with support RM4)
    • 1 month later...
    On 6/3/2020 at 1:47 PM, Szakos said:

    Dear 10der,

     

    Can you please give more details how to made it ?

    I have RM4 mini and I need to use with my HC2.

     

    Thank you for your help.

     

    did you manage to use broalink with an hc2? I am thinking of buying 1 broadlink 4 to use with fibaro and home assistant.

    Link to comment
    Share on other sites

    • 4 weeks later...

    Hello 10der,

     

    a German Fibaro fan advised me to write to you about my project. I have a Neff cooker hood that is controlled by a 433.92 Mhz remote. With the help of a RM4 pro I managed to learn the radio codes and control it successfully via the RM4 pro. I have also already created scenes in the Broadlink app. Control via Alexa is therefore possible.

    Please login or register to see this image.

    /monthly_2021_01/grafik.png.bfaf26557681089d942e0691ab499922.png" />

     

    I follow with high interest this blog. Now I would like to access these functions of the cooker hood via my HC3. But, I have no idea how to proceed now. I have already installed your latest version of QuickApp Broadlink Hub. My hub is also found.

    grafik.png.20f596555e4674b85ac1d7241e62ce48.png


    How can I call the individual buttons / functions / scenes?

    grafik.png.291448f07cc297b1501ae104d715ffd5.png

     

    Many thanks for your help.

     

     

     

     

    Link to comment
    Share on other sites

  • Topic Author
  • @Frasdorferhi!

    thank you for using my QA but unfortunately my QA works with IR and i never test this QA with Broadlink RM4 pro and RF data.

    I have old  RM4 pro device but also never to test and use RF data ... cuz do not have any devices with RF.

    Link to comment
    Share on other sites

    Is there any way to query the codes or use the trial and error method? Can I somehow support so that we find out. That could certainly help others. Any idea how to proceed further.

    Link to comment
    Share on other sites

  • Topic Author
  • yes you can grab codes by itself. 

    here is article how (for home assistant)

    Please login or register to see this link.

    so. you should get string for each button.

     

    than youe should contribute QA code and add method for sending RF string to device.

    • Like 1
    Link to comment
    Share on other sites

    • 1 month later...
    On 11/9/2020 at 4:01 AM, 10der said:

    Please login or register to see this attachment.

    now support RM4

     

    * discover button just print all devices in your network

    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:f6:07:18,["blIp"] = 192.168.1.68,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 78:0f:77:63:c4:0b,["blIp"] = 192.168.1.75,["blDeviceType"] = 10141,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 34:ea:34:e3:d9:2e,["blIp"] = 192.168.1.39,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:40:99:c3,["blIp"] = 192.168.1.14,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:83:3b:83,["blIp"] = 192.168.1.20,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 24:df:a7:34:89:e2,["blIp"] = 192.168.1.51,["blDeviceType"] = 20954,}
     

    * getSensors method for RM4 can print the current temperature and humidity

    [08.11.2020] [21:54:45] [DEBUG] [QUICKAPP1948]: onAction: {"actionName":"getSensors","args":["192.168.1.51"],"deviceId":1948}
    [08.11.2020] [21:54:46] [DEBUG] [QUICKAPP1948]: 25.5 64.7

     

    * for using RM4 you should provide additional param

    ex

    all RM

    local irRfCode =
     "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(1948"sendIRCommand""192.168.1.39", irRfCode)

     

    for RM4

     local irRfCode =
     "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(1948"sendIRCommand""192.168.1.51", irRfCode, 0x51da)

     

     

     

    Good Day @10der. I have gone through the all forum post about broadlink QA and thanks for the QA! May I clarify something about how to use the QA?  First, is whether to connect broadlink RM4 directly to HC3? Besides that, how to do the learning and copy the IR/RF code specifically for broadlink's IR format? Thanks!

    Link to comment
    Share on other sites

    On 11/1/2020 at 4:50 AM, 10der said:

    Tak,

     

    1) install 

    Please login or register to see this attachment.

     (HC3 only)

    2) install QA for toshiba 

    Please login or register to see this attachment.

     

    change IP address for your BL device

    192.168.1.39 - you IP address broadLink RM4

     

    Hi @10der, I managed to get the IR code from home assistant's Broadlink integration. Then insert the IR command based on the Toshiba fqa.  I revised the code based on RM4 Pro and it still unable to control the AC device.   May I know if the code is correctly edited??  Thanks!

     

    Please login or register to see this code.

     

     

     

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

    • 2 months later...

    Hi All 

     

    I receive the following message

    [DEBUG] [QUICKAPP649]: onInit[30.04.2021] [00:48:10] [TRACE] [QUICKAPP649]: UIEvent: {"values":[],"eventType":"onReleased","deviceId":649,"elementName":"Discover"}[30.04.2021] [00:48:11] [DEBUG] [QUICKAPP649]: ./include/manager.lua:166: attempt to index a nil value (upvalue 'myIP')[30.04.2021] [00:48:11] [ERROR] [QUICKAPP649]: QuickApp crashed[30.04.2021] [00:48:11] [ERROR] [QUICKAPP649]: Unknown error occurred: handleJsonRpc

     

    Does any one know what i do wrong

    Link to comment
    Share on other sites

    • 3 weeks later...
    On 2/15/2021 at 11:22 AM, Darren_Teh said:

     

    Good Day @10der. I have gone through the all forum post about broadlink QA and thanks for the QA! May I clarify something about how to use the QA?  First, is whether to connect broadlink RM4 directly to HC3? Besides that, how to do the learning and copy the IR/RF code specifically for broadlink's IR format? Thanks!

    Thank you for working on the Broadlink_hub (v7).fqa - I installed it for my RM4 Pro

    I made the Discover, and it looked good i think...

    [16.05.2021] [15:00:03] [TRACE] [QUICKAPP1226]: UIEvent: {"values":[],"deviceId":1226,"elementName":"Discover","eventType":"onReleased"}
    [16.05.2021] [15:00:09] [DEBUG] [QUICKAPP1226]: true
    [16.05.2021] [15:00:09] [DEBUG] [QUICKAPP1226]: { ["blDeviceType"] = 24994,["blIp"] = 192.168.201.219,["blMac"] = a0:43:b0:18:b2:ea,}

     

    Trying to send

     

     local irRfCode = "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(qaHub, "sendIRCommand", broadLink, irRfCode, 0x51da)

     

    is getting - AUTH false 65535 nil - 

     

    [16.05.2021] [14:48:05] [DEBUG] [QUICKAPP1226]: onAction: {"actionName":"sendIRCommand","args":["192.168.201.219","26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05",20954],"deviceId":1226}
    [16.05.2021] [14:48:05] [DEBUG] [QUICKAPP1226]: AUTH false 65535 nil
    [16.05.2021] [14:48:05] [ERROR] [QUICKAPP1226]: Can`t auth device 192.168.201.219

     

    anyone one know how to fix this ?

     

     

    Link to comment
    Share on other sites

    27 minutes ago, ChristianSogaard said:

    Thank you for working on the Broadlink_hub (v7).fqa - I installed it for my RM4 Pro

    I made the Discover, and it looked good i think...

    [16.05.2021] [15:00:03] [TRACE] [QUICKAPP1226]: UIEvent: {"values":[],"deviceId":1226,"elementName":"Discover","eventType":"onReleased"}
    [16.05.2021] [15:00:09] [DEBUG] [QUICKAPP1226]: true
    [16.05.2021] [15:00:09] [DEBUG] [QUICKAPP1226]: { ["blDeviceType"] = 24994,["blIp"] = 192.168.201.219,["blMac"] = a0:43:b0:18:b2:ea,}

     

    Trying to send

     

     local irRfCode = "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(qaHub, "sendIRCommand", broadLink, irRfCode, 0x51da)

     

    is getting - AUTH false 65535 nil - 

     

    [16.05.2021] [14:48:05] [DEBUG] [QUICKAPP1226]: onAction: {"actionName":"sendIRCommand","args":["192.168.201.219","26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05",20954],"deviceId":1226}
    [16.05.2021] [14:48:05] [DEBUG] [QUICKAPP1226]: AUTH false 65535 nil
    [16.05.2021] [14:48:05] [ERROR] [QUICKAPP1226]: Can`t auth device 192.168.201.219

     

    anyone one know how to fix this ?

     

     

    i found out 

    Please login or register to see this attachment.

     

    Link to comment
    Share on other sites

    On 11/8/2020 at 9:01 PM, 10der said:

    Please login or register to see this attachment.

    now support RM4

     

    * discover button just print all devices in your network

    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:f6:07:18,["blIp"] = 192.168.1.68,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 78:0f:77:63:c4:0b,["blIp"] = 192.168.1.75,["blDeviceType"] = 10141,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 34:ea:34:e3:d9:2e,["blIp"] = 192.168.1.39,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:40:99:c3,["blIp"] = 192.168.1.14,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = c8:f7:42:83:3b:83,["blIp"] = 192.168.1.20,["blDeviceType"] = 10039,}
    [08.11.2020] [21:08:30] [DEBUG] [QUICKAPP1948]: { ["blMac"] = 24:df:a7:34:89:e2,["blIp"] = 192.168.1.51,["blDeviceType"] = 20954,}
     

    * getSensors method for RM4 can print the current temperature and humidity

    [08.11.2020] [21:54:45] [DEBUG] [QUICKAPP1948]: onAction: {"actionName":"getSensors","args":["192.168.1.51"],"deviceId":1948}
    [08.11.2020] [21:54:46] [DEBUG] [QUICKAPP1948]: 25.5 64.7

     

    * for using RM4 you should provide additional param

    ex

    all RM

    local irRfCode =
     "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(1948"sendIRCommand""192.168.1.39", irRfCode)

     

    for RM4

     local irRfCode =
     "26006800C0FA1272137214711471132F1471142E1471132F132F1131132F1372142D1471123014711174142E1471117413721372132F132F132F1372132F132E142E12301471142E1471142E1471132F1372142E132F1174132F1372132F1371142F1371147114F513000D05"
     fibaro.call(1948"sendIRCommand""192.168.1.51", irRfCode, 0x51da)

     

     

    Below is a description for this QA for controlling the Broadlink RM4 Pro QA.

    first download 10der Broadlink RM4 Pro QA - version 7,

    Install this QA - i Updated the test file from Darren_Teh

    Please login or register to see this link.

    learn the Ir/Rf Codes - with

    Please login or register to see this link.

    (former versions will NOT WORK with RM4 Pro)

    Or Use Home Assistant, Developer tools, Services to learn the codes. My services looked like this

    service: remote.learn_command data: device: GardinChannel_01 command: opper command_type: rf target: device_id: 476849a16e4e75fba490e7de8f7481b1 entity_id: remote.wi_fi_universal_remote_remote

    and look in the file config/.storage/broadlink_remote_a043b018b2ea_codes for the scanned/learned Data

    I got it working with 433Mhz RF blinds from Jysk.dk called Huglo.

    the Broadlink RM4 Pro QA is made by 10der and can be dowbloaded from here

    Please login or register to see this link.

    Please be ware this QA searches for the Broadlink RM4 Pro QA by NAME, and the 10der Broadlink QA should be renamed to "Broadlink RM4 Pro" to work

    In the Broadlink mobile APP. you need to go into the app under the Broadlink device and deselect "Lock device". if not done, the Broadlink RM4 Pro QA will fail authentication.

    the QA can be downloaded from here 

    Please login or register to see this link.

    it need to be called like this, also if you are using RF

    Please login or register to see this code.

     

    • Like 1
    • Thanks 1
    Link to comment
    Share on other sites

    • 2 months later...

    I have made 2 videos on how to add the Broadlink RM Pro to HC3 and how to take the IR codes from the Broadlink device without using Home Assistant or RM Bridge (Usings Android Phone) - DM me if you want a link to the videos

    • Like 1
    Link to comment
    Share on other sites

    • 4 weeks later...
    On 12/11/2020 at 2:51 AM, Rodolfo said:

     

    did you manage to use broalink with an hc2? I am thinking of buying 1 broadlink 4 to use with fibaro and home assistant.

     

    @Rodolfo you need a bridge for HC2 using RM Bridge software on an Android device.

    Link to comment
    Share on other sites

    • 3 weeks later...

    With help from @10der I have made a video tutorial on the RM Pro and RM4 Integration to HC3

     

     

    Edited by Phenix
    • Thanks 2
    Link to comment
    Share on other sites

    • 2 weeks later...
    5 hours ago, Darren_Teh said:

    @Phenix Thank you for making a tutorial video. Appreciate it. 

    Hopefully it worked for you

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