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

Lightwave http commands from virtual device


Question

Posted

I am having some issues to install fibaro relays on the some wall box as they are a bit small (UK) and I am not looking forward to expand them and having to redecorate.

As an alternative I have seen Lightwaverf has the standard UK switches dimensions so they will fit in the wall boxes.

Is there any way to manage Lightwaverf via http commands?

If this is possible I could use my HCL to manage all the devices I need.

Tx

16 answers to this question

Recommended Posts

  • 0
  • Inquirer
  • Posted
    rasp pi + domoticz + rfxtrx433 then yes you can

    cool!!

    This would be a great solution so I can manage all Fibaro sensors / relays / TRVs and sirens from Fibaro and also linked to the Lightwaverf switches.

    is this something you also have implemented? I have and HCL so cannot run LUA code but I guess just for switching lights on and off it would work with http commands.

    • 0
    Posted

    i use it here... i also use oregon sensors and owl energy meters with it to feed the data to fibaro hc2... the developer of domoticz implemented "fibaro link" which connects to the fibaro unit as a virtual device, variable, scene works very well

    [ Added: 2014-05-27, 22:39 ]

    has a few little bugs but its early doors only a few weeks old with fibaro link...

    • 0
  • Inquirer
  • Posted
    i use it here... i also use oregon sensors and owl energy meters with it to feed the data to fibaro hc2... the developer of domoticz implemented "fibaro link" which connects to the fibaro unit as a virtual device, variable, scene works very well

    [ Added: 2014-05-27, 22:39 ]

    has a few little bugs but its early doors only a few weeks old with fibaro link...

    thanks! I will definitely give a try

    Please login or register to see this image.

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

    • 0
    Posted

    Hi,

    Got the Rasp Pi B+ and Domoticz setup and working with the LightwaveRF light bulbs no problem. But where do I go to configure/install Fibaro Link on Domoticz? Can't find it anywhere on my Domoticz install, using the latest version. Do I need to install it as an extra module or something?

    Thanks for any help.

    Geoff

    • 0
    Posted

    You must install the last beta version.

    Please login or register to see this image.

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

    • 0
    Posted

    Ta that sorted it.

    Please login or register to see this image.

    /emoticons/default_icon_biggrin.gif" alt=":-D" />

    [ Added: 2014-07-28, 11:02 ]

    Hi,

    got the link all set-up. But how do I go about controlling the LightwaveRF device from HC2? Does anyone have a config they could let me look at so I can set-up my LightwaveRF stuff to control it from HC2 via Domoticz

    Thanks

    Geoff

    • 0
    Posted

    this is the virtual device that I use for control an AC plug but if you use lightwaveRF device is the same.

    In HC2 create a global variable and assign it value "On" and Off"

    After, you must create a virtual device with a label and two button:

    Label Name: Status

    ID: Label1

    Button On

    Please login or register to see this code.

    Button Off

    Please login or register to see this code.

    Main loop

    Please login or register to see this code.

    In Domoticz, by FibaroLink, create two device:

    The first as a global variable; in device name choose your device; value to send select status and target variable the name of your new HC2 variable.

    The second as a virtual device; in device name choose your device; value to send select status; in the target the ID of your HC2 virtual device and in the target property write "ui.Label1.value"

    Remeber to change in Domoticz setting, website protection, the authentication method with Basic-Auth.

    For find the ID or your virtual device in HC2:

    hc2ip/api/virtualDevices

    For find the ID or your custom icon for virtual device HC2:

    hc2ip/api/icons?type=virtualDevice

    • 0
    Posted

    Thanks for you reply and all the really useful information. As I am new to creating Virtual Devices I have attached some screen shots. Have I entered all the information in the correct places?

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
    Posted

    lmlscooterboy,

    Domoticz is ok, but you must add the global variable device for the same light.

    The variable that you have created is not correct. You must create a GLOBAL VARIABLE, the second in the HC2 variable panel.

    In the virtual device about the buttons on and off, you must select LUA CODE not string.

    In the main loop change the ID of the icon with your custom icon. This code updates the icon state of the light.

    [ Added: 2014-07-28, 21:02 ]

    Here some screenshots:

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
    Posted

    Hi rusconidesigner,

    I am trying your tutorial.

    I am getting the status when I turn on or off my lights in domoticz but my on/off buttons in HC2 do not work.

    As far as I can see my device idx is also 6 so I did not have to change that one.

    I have some screenshots. I am new to this so maybe I made a stupid mistake.

    Could you have a look at it?

    Thanks in advance.

    Greetings,

    Aaron

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    Please login or register to see this attachment.

    • 0
    Posted

    An alternative method (Without domoticz or raspberry pi) is detailed here:

    Please login or register to see this link.

    • 0
    Posted

    Thanks for the post on the WiFi link... going to try that solution looks good. Is there any status feedback to confirm status of lightwave device?

    • 0
    Posted

    Sorry for the late but I was on holiday.

    For me works fine without problems.

    Do you try the the http command from the browser?

    (

    Please login or register to see this link.

    )

    Does it works or not?

    If it doesn't work there is an error in the command line.

    Otherwise we find the error in the script.

    Let me know.

    • 0
    Posted

    Hi,

    thought I would let people know that I have LightwaveRF bulbs all being controlled from HC2 via Domoticz using the http commands and Lua script. Works great.

    Thanks

    for all help.

    Geoff

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