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

LUA Templates


Question

Posted

Hi everyone, I'm in the need of creating a virtual device to change the parameters of an existing scene. Unfortunately, I'm brand new to LUA code, but I understand the philosophy though.

I searched the forum, but I don't see any template or explanation of the basic LUA commands ?

Could someone lead me to the basic commands of LUA for the HC2 ?

May be we can add in a specific thread for people to find some explanation of the basic commands, and why not some templates also ?

If people can help me, I'm ready to create this thread, I think that would be of big help for lots of us ?

Looking forward to reading you guys !

Regards

Recommended Posts

  • 0
Posted

me too please

  • 0
Posted

Please Send the tutorial for me.

  • 0
Posted

please send the tutorial form me

  • 0
Posted

+1 please

  • 0
Posted

Where can I access the tutorial please? I have also just purchased: Programming in Lua by Roberto Ierusalimschy, looks set to be a comfortable read.

  • 0
Posted

+1 like to have it as well.

  • 0
Posted

@emielstroeve; nope not yet .....

  • 0
Posted

please send the tutorial for me too

  • 0
Posted

LUA commands can be found on developer.fibaro.com for some time now

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

  • 0
Posted

Is developer.fibaro.com 100% up to date? 

  • 0
Posted

This is the latest version of the API, it was created for beta versions and some minor adjustments are needed but basically it is the core for programming in Lua for v4.

  • 0
Posted

+1

  • 0
Posted

Is this what you are looking for -

 

Please login or register to see this link.

 

Please login or register to see this link.

  • 0
Posted

I found this as a very helpful piece of documentation:

Please login or register to see this link.

 

Kind regards,

nessinits 

  • 0
Posted

Umm, yeah - me too? A list of commands is nice, but a decent set of tutorials would be great...

 

+1

  • 0
Posted

Could you please send me the tutorial aswell - thanks

  • 0
Posted

me too please

 

  • 0
Posted
5 hours ago, Altosaxo said:

me too please

 

 

Hi @Altosaxo,

 

You dig out old thread. I don't think that anyone will send you manual anymore, but you can find about LUA programming here:

 

Please login or register to see this link.

Please login or register to see this link.

 

There are some LUA commands that are disabled on Fibaro Home Center 2 and you can find list here:

 

 

Happy coding! :-) 

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