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

Where to start for a new developer?


Question

Posted

Hi, I want to write some software for my HC2. However, I need some pointers on where to start. For instance, I played around a bit with a virtual device, and I see there is some inline documentation for e.g. how to update a label. But then I wonder how to simulate a button press. Where should I find the documentation for that?

 

Also, I would like to know more about how the relations between the main loop and buttons in a VD work. Can they share variables, or interact with each other?

 

I also find it a bit hard to test code when there is no build output or similar. for the buttons Are there more powerful tools to work with, than editing directly in the web interface?

 

Finally, I previously read a bit about plugin creation, but it stopped when I saw that I couldn't upload a plugin to my HC2 if I made one. Does something need to be unlocked, or what is the plan behind this?

3 answers to this question

Recommended Posts

  • 0
Posted

Have you looked at developer.fibaro.com ?

  • 0
  • Inquirer
  • Posted

    Yes, that is a helpful resource, but I would like an introduction to the concepts. Has Fibaro written this? I've found a good tutorial (in Swedish) at 

    Please login or register to see this link.

    .

    • 0
    Posted

    I'm looking for a start-up also. I've seen developer.fibaro.com etc. but it's not enough to get started and I'm not succeeding in getting Virtual devices to run as I would like to.

    Also I tried all possible functions on FGHC rest API documentation but it seems that the 'Devices PUT' functionallity on these pages is not working. (Seems to act like a GET function).

    I want to change some values in a Virtual device but it doesn't work.

     

    Does anyone know how to send a PUT to HCL to change a "name" ?

     

    Thanks

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