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


  • 1

Automatic Restart or Reboot Home Center lite


Question

Posted

Dear Community,

 

I have a problem regarding a Home Center lite. After a week the Sensors cannot be armed anymore. As soon as I manually reboot the device everything works fine again. I would like to have a solution so that the HCl reboots automatically. For the HC2 I found some nice LUA Code. I was wondering if this is also possible with a HCl compatible HTTP request. 

Thanks in advance for your help

Please login or register to see this code.

Recommended Posts

  • 0
Posted
On 10/11/2018 at 11:22 AM, Szadzik said:

 

Mine is below. IP and port 80 on the main page correct as well.

 

GET /api/service/reboot HTTP/1.1
Host: 192.168.1.16
Authorization: Basic 
blablabla==
0x0D0x0A0x0D0x0A 

Seems about right, i must say that my VD button is working. My simple scene is not.

I noticed that Fibaro released a new firmware, so a new round and things could be all different again.

 

Good luck :)

  • 0
Posted (edited)
3 minuty temu, Nightshift napisał:

Seems about right, i must say that my VD button is working. My simple scene is not.

I noticed that Fibaro released a new firmware, so a new round and things could be all different again.

 

Good luck :)

 

4.511 fixed the freezes and I have not restarted my HCL since the install and it works fine. In the release notes they mentioned fixing resource leakage, which seems like a good reason it was freezing for.

Edited by Szadzik
  • 0
Posted
4 minutes ago, Szadzik said:

 

4.511 fixed the freezes and I have not restarted my HCL since the install and it works fine. In the release notes they mentioned fixing resource leakage, which seems like a good reason it was freezing for.

Good to hear! I am updating now. Thanks for the quick reply

  • 0
Posted

Hi
I have a HCL central unit with 4.530 firmware.
I am trying to add a scene with an automatic restart.
I follow the instructions above but it does not work
my central is at 192.168.0.110 (the same device on which I set the scene?) login and password in the format [email protected]: password decoded at base64 at

Please login or register to see this link.

encoder.asp and it does not work, someone can tell me what I'm doing wrong. Below I attach the restart code for my control panel.

 

GET /api/service/reboot HTTP/1.1
Host: 192.168.0.110 
Authorization: Basic
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX= 
0x0D0x0A0x0D0x0A

  • 1
Posted (edited)
4 hours ago, selektor said:

Hi
I have a HCL central unit with 4.530 firmware.
I am trying to add a scene with an automatic restart.
I follow the instructions above but it does not work
my central is at 192.168.0.110 (the same device on which I set the scene?) login and password in the format [email protected]: password decoded at base64 at

Please login or register to see this link.

encoder.asp and it does not work, someone can tell me what I'm doing wrong. Below I attach the restart code for my control panel.

 

GET /api/service/reboot HTTP/1.1
Host: 192.168.0.110 
Authorization: Basic
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX= 
0x0D0x0A0x0D0x0A

Hi

 

Try to adapt this to your system. Download    .vfib via link.
Blank line and space must be exactly as in the original. :)

 

Please login or register to see this link.

 

Edited by hTiger1
  • 1
Posted
22 hours ago, hTiger1 said:

Hi

 

Try to adapt this to your system. Download    .vfib via link.
Blank line and space must be exactly as in the original. :)

 

Please login or register to see this link.

 

Yes!, it works again. Thank you!

I'm running the fw4.530 on my HCL and used

Please login or register to see this link.

 

 

  • Like 1
  • 0
Posted
W dniu 26.03.2018 o 19:42, Eduardo Real napisał:

Cześć! Czy wiesz, czy to nadal działa dla 4.170? Nie mogę zmusić go do działania ...

Hi
I'm sorry but it still does not work with me.
Will this button work if I run it manually? Is it just a stage? Can you show what the scene should look like?

  • 0
Posted
2 hours ago, selektor said:

Hi
I'm sorry but it still does not work with me.
Will this button work if I run it manually? Is it just a stage? Can you show what the scene should look like?

Hi
You write about the scene that doesn't work.
Does this mean that the VD itself works? :)

  • 0
Posted

Hello
Thank you

Please login or register to see this link.

 

Please login or register to see this link.

 I have imported your device very much and after everything has changed to your login details, everything started working.

 

I still have a problem with gerda locks, they are far away from wallplug fibaro but they are often dead in the system and I can not control them, maybe someone will direct me to the right place in the forum where I can ask.

  • 0
Posted

And for automatic backup?

My old VD doesn't work after 4.530 upgrade...

 

POST  /api/service/backups HTTP/1.1
Host: 192.168.5.7
Connection: keep-alive
Authorization: Basic Y3Jpc3RpYW4uZaWNsbZhdmNibXBzdjNjQA==
Content-Length: 50

{"action":"create","params":{"name":"AutoUpdate"}}

 

Could anyone help me?

  • 0
Posted
32 minutes ago, Cristian77 said:

And for automatic backup?

My old VD doesn't work after 4.530 upgrade...

 

POST  /api/service/backups HTTP/1.1
Host: 192.168.5.7
Connection: keep-alive
Authorization: Basic Y3Jpc3RpYW4uZaWNsbZhdmNibXBzdjNjQA==
Content-Length: 50

{"action":"create","params":{"name":"AutoUpdate"}}

 

Could anyone help me?

:)

Please login or register to see this link.

 

  • 0
Posted

Hi folks... Fibaro can really s... sometimes!

This new code MUST work on last version of FW (4.54 for me):

 

GET /api/callAction?deviceID=116&name=turnOn HTTP/1.1 0x0D0x0AHost: 192.168.0.10x0D0x0AAuthorization: Basic eW91cnVzZXI6eW91cnBhc3N3b3Jk0x0D0x0A0x0D0x0A

 

Copy'n paste this EXACT text.

After the GET, you can replace /api/callAction?deviceID=116&name=turnOn with any command like /api/service/reboot

Replace 192.168.0.1 with your local Fibaro Box IP (don't forget to set it in the VD on the port 80)

Replace eW91cnVzZXI6eW91cnBhc3N3b3Jk with your user:password encoded in Base64 (

Please login or register to see this link.

).

In my example  eW91cnVzZXI6eW91cnBhc3N3b3Jk is the Base64 code for youruser:yourpassword

All spaces (after "HTTP/1.1 ", and before/after " Basic "), all the 0x0D0x0A included the last 2 are mandatory

There is no carriage return in this text, only one f... line!

 

Then prayz Jah;D

  • 0
Posted

Hi, 

 

Any update needed for 4.55? I am not able to make this work

 

Thanks

 

 

  • 0
Posted

Does it work on someone on version 4.570?

  • 1
Posted

Yes still works. ?

 

Please login or register to see this spoiler.

 

Please login or register to see this attachment.

  • 1
Posted
12 hours ago, Damiano said:

Does it work on someone on version 4.570?

I'm using following and it works. Plus generator helps with headache to creat HTTP header.

 

 

  • 0
Posted
4 hours ago, hTiger1 said:

Yes still works. ?

 

Please login or register to see this spoiler.

Thank you.  Works. I had a badly decoded login and password

  • Like 1
  • 0
Posted
On 1/20/2020 at 10:44 AM, hTiger1 said:

Yes still works. ?

 

Please login or register to see this spoiler.

 

Just wanted to chime in and mention that I’ve got this working according to the screenshots on my HCL version 4.600

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