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


HCL Custom Recovery


Recommended Posts

Another stupid question :)

 

Can we solder out the HCL Z-wave board and connect it to another device like RPI4 or others?

 

 

On 6/6/2020 at 11:24 AM, jack.daniels said:

Current HCL controller is running on ZW 300 series chip.And the firmware is available for this chip only

 

 

Link to comment
Share on other sites

Remote controls seem to be skipped by the bridge, is this normal? How can we use them via MQTT?

 

Nov  5 17:02:38 HCL-078863 HomeKitten[774]: SKIP: [id:28 / room:219] keyfob_1 = com.fibaro.FGKF601 / com.fibaro.remoteSceneController

Nov  5 17:02:38 HCL-078863 HomeKitten[774]: SKIP: [id:36 / room:219] wallmote_1 = com.fibaro.remoteController / com.fibaro.actor

Nov  5 17:02:38 HCL-078863 HomeKitten[774]: SKIP: [id:42 / room:219] zrc_1 = com.fibaro.remoteController / com.fibaro.actor

 

Thanks!

Link to comment
Share on other sites

Answering myself: after loading homekitten in IDA, it appears that some devices are simply skipped by the bridge, so not "all devices" are supported. In particular, all remote controllers are ignored. Patching the binary to allow for example the Fibaro keyfob allows it to register, although the MQTT events reported on button press are rather dumb (but usable nevertheless):

 

/fibaro/fibaro/connected 1
/event/28/icon { "path": "fibaro\/icons\/com.fibaro.FGKF601\/com.fibaro.FGKF601-1Pressed.png", "source": "HC" }
/event/28/icon { "path": "fibaro\/icons\/com.fibaro.FGKF601\/com.fibaro.FGKF601-default.png", "source": "HC" }
/event/28/icon { "path": "fibaro\/icons\/com.fibaro.FGKF601\/com.fibaro.FGKF601-2Pressed.png", "source": "HC" }
/event/28/icon { "path": "fibaro\/icons\/com.fibaro.FGKF601\/com.fibaro.FGKF601-default.png", "source": "HC" }
/event/28/icon { "path": "fibaro\/icons\/com.fibaro.FGKF601\/com.fibaro.FGKF601-5Pressed.png", "source": "HC" }
/event/28/icon { "path": "fibaro\/icons\/com.fibaro.FGKF601\/com.fibaro.FGKF601-default.png", "source": "HC" }

 

Any reason for this behavior?

OP, can you please enable remotes to be bridged to MQTT?

 

Thanks!

Link to comment
Share on other sites

  • Topic Author
  • HCL 4.600 with HomeKitten 1.8.5

    iOS14 No answer fixed

    Enjoy it

    Please login or register to see this attachment.

    On 11/6/2020 at 9:09 AM, ecos said:

    can you please enable remotes to be bridged to MQTT?

    Ill take a look. I have Fibaro KeyFob

     

    Many devices still not supported, as I dont have them here to test (like locks, RGBs,roller shutters) - this is a field for the future work.

    Link to comment
    Share on other sites

  • Topic Author
  • HCL 4.600 + HomeKitten 1.8.6

    • Memory leak on poll events in 1.8.5 removed
    • AVAHI single thread to advertise all the bridges (before was a thread for every bridge)

     

    Please login or register to see this attachment.

    • Thanks 2
    Link to comment
    Share on other sites

    • 1 month later...
  • Topic Author
  • HCL 4.600 + HomeKitten 1.8.7

    • Critical socket OOM issue fixed

    Merry Christmass

    Please login or register to see this attachment.

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

    @jack.daniels

    Hi ! New around here and just run into this topic.

    A couple of days back I bought a used HCL from eBay. I come from domoticz and decided to test hcl to see if covers my needs since my automation is basically zwave and a couple of ds18b20....

    I updated hcl to latest version 4.600 and then find out that with your image I can use lua too.

    So my question is, can I use your .py file from post 1 for custom recovery etc. And then run HCL 4.600 + HomeKitten 1.8.7 ?

    What are the steps to follow since I am on official 4.600 ?

    With HCL 4.600 + HomeKitten 1.8.7 can i have a local backup or only cloud ? FIBARO id and remote access works ?

    Regards

    Bill

     

    Link to comment
    Share on other sites

    Hi, Jack )

    I'm use hcl_4600_lua_homekitten_187, it works good !

    I have a question ?

    Can lua be used in virtual devices on HCL?

    Link to comment
    Share on other sites

    I figured it out !!!

    Just a sort quide for nobs like me.
    Press win key +x to open command prompt

    Please login or register to see this code.

    if success then

    Please login or register to see this code.

    finaly ssh with putty and

    Please login or register to see this code.

     If someone use this change ip and path to file with yours...........

     

    Great job

    Please login or register to see this link.

     ?

    • Like 1
    Link to comment
    Share on other sites

    On 1/3/2021 at 8:55 PM, BurnerMan said:

    @jack.daniels

    Hi ! New around here and just run into this topic.

    A couple of days back I bought a used HCL from eBay. I come from domoticz and decided to test hcl to see if covers my needs since my automation is basically zwave and a couple of ds18b20....

    I updated hcl to latest version 4.600 and then find out that with your image I can use lua too.

    So my question is, can I use your .py file from post 1 for custom recovery etc. And then run HCL 4.600 + HomeKitten 1.8.7 ?

    What are the steps to follow since I am on official 4.600 ?

    With HCL 4.600 + HomeKitten 1.8.7 can i have a local backup or only cloud ? FIBARO id and remote access works ?

    Regards

    Bill

     

    on my side it was mandatory to downgrade to previous version 4.520

    • Like 1
    Link to comment
    Share on other sites

    2 hours ago, lamberts said:

    on my side it was mandatory to downgrade to previous version 4.520

    Of course I downgraded first...Now I have setup my system and everything works ok.

    Cause I'm new in HCL, when will come time to update let's say to version 4.610, what I do? I just push the update through recovery from repair from file option ? My devices and scenes will remain there ?

    Edited by BurnerMan
    Link to comment
    Share on other sites

    • 2 weeks later...
  • Topic Author
  • On 1/8/2021 at 5:05 PM, lamberts said:

    @jack.danielsis the debug function works for you ?
    if i try a simple 
    fibaro:debug('Hello world!') nothing appears in my console when i ran the scene  ?
    did i miss something ?

    In new os (4.500+) they removed the debug messages output, probably to save RAM

    39 minutes ago, BurnerMan said:

    @jack.daniels Since we already use lua, can you support import LUA virtual devices ?

     

    I was tried it but no success

    Link to comment
    Share on other sites

  • Topic Author
  • On 1/7/2021 at 5:26 PM, BurnerMan said:

    when will come time to update let's say to version 4.610

    I am trying to keep the thread up, so just check it for the latst releases.

    Link to comment
    Share on other sites

    Hi, everybody. I can't cope with the problem after I entered another value in the variables panel, all the data was lost . The system does not allow you to enter manually because there are more values in the name than you can enter !

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Link to comment
    Share on other sites

  • Topic Author
  • Hi, which variable u mean?

    if its one of HomeKitten settings, you may delete it and reboot. Default value will be created 

    • Like 1
    Link to comment
    Share on other sites

    Thank you for your quick response ! These names were spelled out:

    HK_MQTT_OPT_CONTROL_PAYLOAD

    HK_MQTT_OPT_CONTROL_TOPIC

    HK_MQTT_OPT_EVENT_PAYLOAD

    HK_MQTT_OPT_EVENT_TOPIC

     

     

    Link to comment
    Share on other sites

    And if it is not difficult for you, you can ask to paint the basics of some mqtt settings in HCL. I do not understand why RGB Driver does not get anywhere as a device. Thank you very much !

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