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


  • 0

I think a scene is crashing my HCL?


Question

Posted

Hello

this morning I ran a scene (opening shutters on ground floor) and I noticed that the scene took several seconds to start. Then when finished (1 shutter 100% up + 2 shutters 50% up), after about a minute the 2 shutters at 50% open went 100% open by themselves (?)

Right after this, the HCL went completely offline, impossible to access it from android app or webbrowser (WWW just timed out, Android App said "HCL not found"). I saw on the unit itself the internet led on the HCL was off. The network and power led were still on.

I had to power cycle the HCL to make it work again. 

Please login or register to see this image.

/emoticons/default_icon_curve.gif" alt=":-/" />

 

- Last time I had to do this was after I switched on a external lamp with the Android interface, right after that nothing else worked anymore and also here I had to power-cycle the HCL before it responded again.

- Before that it was the Z-Wave that seemingly was dead, the interface and WWW access seemed to work just fine, it just did not transmit any Z-Wave command. The last entry in the log was that it did ran the scene I usually run in the evening aroun 9pm. After that no log entry, and a task supposed to run at 5am did not run anymore. Restarting the services from within the GUI restored Z-Wave traffic.

- The 1st time the unit hung on me was the same day I started using it, it was during scene testing it hung completely. 

Please login or register to see this image.

/emoticons/default_icon_confused.gif" alt=":-?" />

 

Question now is:

since the 2 weeks I have the HCL running at my house, this is now the 4th time the unit crashes. It never stayed OK for more than 5 days before I had to reboot it.

Is there anything that I can do to see why it does this?

If this would be a general issue I am sure others will experience the same thing.

I think this has to do with the scene engine doing something wrong.

 

For now, HCL looks like a nice solution compared with the Vera Edge I had before, but while being a pain to use, the Vera at least never crashed while I used it, and frankly this makes the HCL unusable to me if I have to power cycle it every 4 / 5 days.

Please login or register to see this image.

/emoticons/default_sad.png" alt=":(" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20" />

 

Any suggestions more than welcome!

 

  • Answers 48
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

Recommended Posts

  • 0
Posted

Thanks dirkies, your persistence looks as though it has paid off. Hopefully patch will soon come. I will ask them for a copy of this virtual device reboot until then. Kind regards andrew

  • 0
  • Inquirer
  • Posted

    I really think they can make this work and become a kick ass system, but without stability so far it's pretty useless. Go Fibaro, fix it!

    • 0
  • Inquirer
  • Posted

    Message to dev:

    Had a power outage today, when power came back, there was no Internet yet. As long as there was no Internet, no zwave commands were sent out, despite HCL up and running. As soon as Internet was back, suddenly the fibaro modules started accepting commands.

    • 0
  • Inquirer
  • Posted

    Yes but is seems without internet it was back in the same state as before, no commands sent out. Weird!

    • 0
  • Inquirer
  • Posted

    got now a scheduled reboot, every night the HCL reboots to overcome the memory leak. Hopefully this keeps the unit running for more than 4 days!

    • 0
    Posted

    Hi. Is it possible to have attachment to use into my hcl with same problem? Or the instructions to do by myself...

    Thank you

    • 0
  • Inquirer
  • Posted

    Here you go:

     

    first copy this into a text file with extension .vfib

     

    {"name":"Reboot Home Center","type":"virtual_device","properties":{"deviceIcon":1001,"currentIcon":"1001","log":"","logTemp":"","mainLoop":"","visible":"true","rows":[{"type":"button","elements":[{"id":1,"lua":false,"waitForResponse":false,"caption":"REBOOT","name":"Button11","empty":false,"msg":"POST /api/settings/reboot HTTP/1.10x0D0x0AHost: 192.168.0.100x0D0x0AOrigin: http://192.168.0.100x0D0x0AContent-Length: 00x0D0x0AAuthorization: Basic YWRtaW46aidhbCxqZGU0x0D0x0AReferer: http://192.168.0.10/fibaro/en/configuration/0x0D0x0AX-Requested-With: XMLHttpRequest0x0D0x0A0x0D0x0A","buttonIcon":1001,"favourite":false,"main":true}]}]},"actions":{"pressButton":1,"setSlider":2,"setProperty":2}}

     

     

    in this case the HCL has IP 192.168.0.10, change with your own IP address

     

    for the ID/pwd I used this online Bas64 convertor

    Please login or register to see this link.

     

    just enter as test "admin:admin" in the 2nd window and you'll see it outputs in the 1st window the default YWRtaW46aidhbCxqZGU

     

    So then just change the admin:yourpassword, convert again to base64 and overwrite the new result into script where previously was written YWRtaW46aidhbCxqZGU
     
    Remember login name is also case sensitive!
     

     

    Then under devices > add/remove device > import virtual device and use the VFIB file you created above.

     

    Port should be set to 80

     

    Now go to the advanced tab of the virtual device and at the bottom you see the code in case you need to change it

     

    How to schedule this?

     

     

    You need to create a variable (you choose name) with value 1 (in panels > variables),

     

    then create the scene with building blocks (advanced scene creator):

     

    every day at 3am or so, every 24hours (so INTERVAL BASED)

    THEN (yellow)

    REBOOT HCL (blue virtual device) button11 "when this variable = 1" (red)

     

     (as only with a variable condition you can select a virtual device, otherwise you cannot)

     

    Good luck!

    • 0
    Posted

    sorry sir,would you please tall me what wrong with this,it didn't work.my HCL version is 3.601.and i didn't found API.setting.reboot at general api.dose it useful for HC2?

    thanks.

     

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
  • Inquirer
  • Posted

    Maybe this only works with v4 onwards. Someone else or Fibaro can answer this.

    • 0
    Posted

    In v3 you need ti change POST to GET. There are multiple topics on this forum regarding reboot of controller with VD.

    • 0
    Posted

    I have the same memory leak on my HCL running v4.054. 

     

    I have to reboot every 3 or 4 days or the scenes stop running and the web interface stops responding.

     

    I notice that the free RAM is slowly diminishing to 0%, at which time HCL crashes ...

    • 0
  • Inquirer
  • Posted

    Since I keep rebooting it every night I cannot confirm if v54 still does it. Since I suggest you also schedule this task.

    • 0
    Posted

    I tried implementing the reboot routine, but it doesn't work. 

     

    every day at 3am or so, every 24hours (so INTERVAL BASED)

    THEN (yellow)

    REBOOT HCL (blue virtual device) button11 "when this variable = 1" (red)

     

    I don't understand the last line here, as I cannot select a variable after the virtual device. I have a red field after the virtual device, but I can only put in a number and can't select my variable.

     

    I'm also having trouble encoding my password as the link to motobit is not valid anymore and another encoder/decored I use gives me another result. I used

    Please login or register to see this link.

    which gives me "YWRtaW46YWRtaW4=" as a result for "admin:admin", which is different from your test.

     

    Any help is appreciated.

     

    Grtz,

    Tom

    • 0
  • Inquirer
  • Posted

    Hi Tom

     

    did you do this step?

    You need to create a variable (you choose name) with value 1 (in panels > variables),

     

    sorry, in my example I already changed the admin password! so admin:admin is indeed YWRtaW46YWRtaW4=

    • 0
    Posted

    Hi Dirkies,

     

    So the password mystery is solved already.

     

    I posted some screenshots of the scene and the variable, as I don't know what I am doing wrong there ... this scene does not work on my HCL.

     

    Thanks for your help.

    Please login or register to see this attachment.

    • 0
    Posted

     ... oh yes, the variable is correctly defined with value 1

    • 0
  • Inquirer
  • Posted

    is the reboot scene

    a) Active

    b) Type = scene

    c) I checked the box start when HC2 starts (not sure if required)

    other checkboxes unchecked

     

    has the virtual device the IP address of your HCL ? (assuming you have a fixed IP address)

     

    Is it TCP port 80 ?

     

    and can you show us the code behind the button? (you can edit out the IP address of your HCL and the hash of your password if you want)

    POST /api/settings/reboot HTTP/1.10...

     

    Can you reboot when you click on the RUN button if the scene?

     

    In my case I did it interval based:

    FROM 03:30 Every 24 Hours To -:-

    Then

    Reboot HCL Button 11 [green] 1s

    Join the conversation

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

    Guest
    Answer this question...

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