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


While fibaro is ignorant regarding z-wave locks....


Recommended Posts

Posted

Hi guys, just noted some questions here.

Added (yesterday) Night Latch (US-model

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" />) ) to my UK house.

The idea is the same - any device on Vera can be easily managed.

But, I realized that it is better to add locks and Vera itself in stand-alone mode (not to the single network) and just to manage it remotely. Avoid "slave" controller mode as Fibaro is unreliable (which in not acceptable for security stuff like locks).

This is much better way as Vera is completely independent from HC2 (which is still very buggy).

I.e., add your locks to Vera3 / Lite and control them via virtual devices in HC2.

Code is very basic (note DeviceNum=6 - it means sixth device on Vera3):

Open button:

HC2 = Net.FHttp("172.16.1.111",3480)

response,status,errorCode = HC2:GET("/data_request?id=action&output_format=xml&DeviceNum=6&serviceId=urn:micasaverde-com:serviceId:DoorLock1&action=SetTarget&newTargetValue=1")

fibaro:log("Night Latch Lock command sent")

Close button:

HC2 = Net.FHttp("172.16.1.111",3480)

response,status,errorCode = HC2:GET("/data_request?id=action&output_format=xml&DeviceNum=6&serviceId=urn:micasaverde-com:serviceId:DoorLock1&action=SetTarget&newTargetValue=0")

fibaro:log("Night Latch Unlock command sent")

Request status and change icon:

local selfId = fibaro:getSelfId();

HC2 = Net.FHttp("172.16.1.33",3480)

response,status,errorCode = HC2:GET("/data_request?id=variableget&DeviceNum=6&serviceId=urn:micasaverde-com:serviceId:DoorLock1&Variable=Status")

fibaro:log(response)

if response == "0" then

fibaro:log(status)

fibaro:call(selfId, "setProperty", "currentIcon", "1004")

--fibaro:log("lock opened" )

else

fibaro:call(selfId, "setProperty", "currentIcon", "1003")

-- fibaro:log("lock closed")

end

fibaro:sleep(60*1000);

[ Added: 2014-03-29, 20:15 ]

Exactly the same idea can be used for virtually any Vera device including RFXcom (I'm managing my LWRF sockets on HC2 via Vera3 RFXcom plugin)

Hi Shapa, 

Can you explain how to add the virtual device settings?, maybe a screen shot of the code you used

Thanks

  • 5 months later...
Posted

Hello,

 

I try to add my Vera as secondary controller because of the integration with my Logitech Hub. But I mis the zwave version 2.78 in Vera. When I put the Fibaro HC2 in learn mode, it can't find my Vera 3? Anybody tried this already with the latest versions/firmwares?

Posted

can you use a vera as a secondary controller? (anyone @ fibaro)

  • 6 months later...
Posted

Hello guys I have a Vera Edge running the latest firmware version and a fibaro HC2 ...

I need help.

How can I make VERA Edge secondary controller ?

Some stept will be great

Please login or register to see this image.

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

  • 4 weeks later...
Posted

I want to get this working as well with my new shiny HC2 and my old (but very hackable) vera lite. Id really like a step by step but ill try my best and post results here.

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