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!



Smart Home Forum by FIBARO Team

Simple scene for virtual device control?


Recommended Posts


I am controlling the 1 gate motor through RF command (virtual device). I would like to facilitate opening the gate by creating a LUA scene to add in widget.


I am lost which LUA code to use.


This is the control command: sendrf,2,5,1,1428,2916,1415,1428,2868,1464,2880,2879,1416,2880,1428,1440,2880,1464,2843,2916,1416,2880,1416,2891,1452, 1416,2880,2880,1452,1415,2892,2916,1416,1428,2867,2892,1452,1416,2880,1452,2879,1464,2844,1452,2880,1428,2903,1428,2880,1452, 2880,2879,1428,1452,2880,2892,1440,1427,2868,2892,1452,33081 \ r \ n


Would anyone have the basic commands for an on / off scene? How to call this rf code above?



Please login or register to see this attachment.

Link to comment
Share on other sites



Use this line in a LUA scene to "press" the button in the VD.

Please login or register to see this code.

At the VD-ID you type the ID of the VD, at BUTTON# you type the button number. To find out what the button number is you start counting from the top of the VD and also count the labels. You have no labels in your VD and only one button, so the button number is 1 


Hope this helps

Link to comment
Share on other sites

Join the conversation

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

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