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

How to create virtual device that set holiday mode


Question

Posted

Hi.

I was wondering if anybody cold help me with a virtual devise that could set my 5 different heat sones in holiday mode ? It would have been great if i also could use the virtual device in a scene:) is this possible in the HCL ?

I could also mention that i am pretty "green" in this virtual device and string technique. 

12 answers to this question

Recommended Posts

  • 0
Posted

Hi.

I was wondering if anybody cold help me with a virtual devise that could set my 5 different heat sones in holiday mode ? It would have been great if i also could use the virtual device in a scene:) is this possible in the HCL ?

I could also mention that i am pretty "green" in this virtual device and string technique. 

 

Hello,

 

You cannot create a VD on HCL, but you can import it to your gateway.

You could describe what exactly you want to achieve so others could help you.

  • 0
Posted (edited)

So if an hc2 user creates the VD and I import it, would I be able to use it?

Edited by viga81
  • 0
Posted

Hi.

I was wondering if anybody cold help me with a virtual devise that could set my 5 different heat sones in holiday mode ? It would have been great if i also could use the virtual device in a scene:) is this possible in the HCL ?

I could also mention that i am pretty "green" in this virtual device and string technique. 

 

I already read this post several time. I really don't know what t.konopka is meaning. I have an HCL and you can create a VD. I have several ones for managing my camera's. I can use them directly as a VD or I can use them through the scenes.

 

Go to Devices on your HCL and add a new device. Then select ' to add a new virtual device'.

I don't use heat zones, so maybe that's wat t.konopka is meaning that you can't manage heat zones with a VD. But if you think a little bit out of boundaries, you might want to find a solution.

  • 0
Posted

Hello,

 

Please login or register to see this link.

articles that may help all of us

Please login or register to see this image.

/emoticons/default_smile.png" alt=":)" srcset="https://forum.fibaro.com/uploads/emoticons/[email protected] 2x" width="20" height="20"> One just have to create an account there.

 

What I meant is that you cannot create a VD with LUA - as users mostly ask about this. It might be a slight over-generalization from me.

You can create a VD on HCLs but only using string commands.

  • 0
Posted (edited)
On 9/3/2016 at 9:20 AM, wpeeters said:

 

I already read this post several time. I really don't know what t.konopka is meaning. I have an HCL and you can create a VD. I have several ones for managing my camera's. I can use them directly as a VD or I can use them through the scenes.

 

Go to Devices on your HCL and add a new device. Then select ' to add a new virtual device'.

I don't use heat zones, so maybe that's wat t.konopka is meaning that you can't manage heat zones with a VD. But if you think a little bit out of boundaries, you might want to find a solution.

 

hi wpeeters,

I am also working with API and Virtual Devices in HCL with strings. Some good results and some bad ones. I am now able to reboot the HCL from a VD button in the iPhone app, start a scene, arm/disarm, switch on/off a Fibaro switch.

Still not able to change a variable clicking a VD, change a VD Label value and other things.

Very difficult to find documentation since all information you find is mostly related to LUA.... Very bad.

I also started working with http requests to HCL via other devices (as example directly from a web page) and it works. I created a web page with two buttons to arm/disarm a door. It works. Not needed now but I am just testing the potentiality of the lite version.

Are you interested in sharing results? The question is also valid to anyone else obviously :-)

It would be good to write a document to include all good results using API in HCL and increment it in the future with new ones.

Edited by Flowy
  • 0
Posted (edited)

Hi Flowly. Sorry, I couldn't answer earlier. Documentation is indeed hard to find. That's correct. I also struggled with it and it was always trial and error and a lot of searching on the internet.

I mainly use VD to manage my camera's (activate / deactivate and set the sensitivity according to the weather).
The VD I used to reset I don't use it anymore (HCL is plain stable last 2 months). Furhtermore I have 1 VD with some status information of the house and 1 to send camera view to my computer if someone rings the frontdoor bell.
Offcourse I want to share information, but I don't have a lot of time to start creating documents :-)

 

Changing a VD label is very simple. Add the label in your VD, give it an approriate name. Next, Set the label via a scene (choose VD in the 'then' statement and choose the labelname. Type in the string you want.

 

Please login or register to see this attachment.

Edited by wpeeters
  • 0
Posted (edited)

Hello,

I am also looking for a solution that lets me activate (and of course deactivate) the "holiday mode" using a fibaro app. I realy like the heat panel because also my heating-fan is included in that panel using fibaros "linked device". But I can also deactivate the holiday mode by using the browser. How can I deactivate it using the smatphone?

 

:-D Just found the solution here: Working !!!

 

Edited by Ramon
  • 0
Posted
On 11/11/2016 at 6:07 PM, Ramon said:

Hello,

I am also looking for a solution that lets me activate (and of course deactivate) the "holiday mode" using a fibaro app. I realy like the heat panel because also my heating-fan is included in that panel using fibaros "linked device". But I can also deactivate the holiday mode by using the browser. How can I deactivate it using the smatphone?

 

:-D Just found the solution here: Working !!!

 

 

two comments about the linked topic.

All "extra coding" could be easily removed to have a simpler and clearer script ( "0D0x0A0x0D0x0Ablablabla" actually is not needed)

I also would not activate directly the change of heating panel but I'd use instead a scene to do it. Why? In that way you could also control a VD label that explain in the app the current status of the system (Holyday or Home) otherwise you'll never know what you have set. In other words:

- [VD1 button1] starts [script1] that:

 -- triggers [VD10]

 -- sets [VD1 label] to "Holyday"

 

- [VD1 button2] starts [script2] that:

 -- triggers [VD20]

 -- sets [VD1 label] to "Home"

 

- [VD10] activates Holyday with above script

- [VD20] deactivates Holiday with above script

  • 0
Posted

 

Please login or register to see this link.

Please tell me how to launch scenes from a virtual device to HCL?

  • 0
Posted
On 3/12/2017 at 5:44 PM, brv29a said:

 

Please login or register to see this link.

Please tell me how to launch scenes from a virtual device to HCL?

 

within the VD code:

 

GET /api/sceneControl?id=39&action=start 

 

the example starts scene n.39

  • 0
Posted

Thank you very much!

  • 0
Posted

and this GET /api/sceneControl?id=39&action=start  I put in a text field of a button?

I do not really get it (sorry)

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